关于ERC20的Token学习Demo
https://github.com/ConsenSys/Tokens

Mike Goldin 0bd7a7077e Bump to 1.0.0 6 anos atrás
contracts 44c3a1e46d Reorganize repo and rename files. See commit body 6 anos atrás
migrations 44c3a1e46d Reorganize repo and rename files. See commit body 6 anos atrás
test 44c3a1e46d Reorganize repo and rename files. See commit body 6 anos atrás
.gitignore 2d7a81c1ee Merge upstream repo here 6 anos atrás
LICENSE 1c402f2ea1 Add explicit LICENSE file 8 anos atrás
README.md 44c3a1e46d Reorganize repo and rename files. See commit body 6 anos atrás
ethpm.json 0bd7a7077e Bump to 1.0.0 6 anos atrás
package-lock.json b73f68d6d3 Inline Truffle 4 6 anos atrás
package.json b73f68d6d3 Inline Truffle 4 6 anos atrás
truffle.js b73f68d6d3 Inline Truffle 4 6 anos atrás

README.md

Tokens

Codeship Status for ConsenSys/Tokens

This repo contains Solidity smart contract code for simple, standards-compliant tokens on Ethereum. Adhering to standards allows other contract developers to easily incorporate your token into their applications.

The repo currently implements EIP20 tokens, and more may be added in the future.

Initialize

The only environmental dependency you need is Node. Presently we can guarantee this all works with Node 8.

npm install
npm run compile

Tests

The repo has a comprehensive test suite. You can run it with npm run test.

ethpm

The contracts in this repo are published under tokens on EPM. EPM is the recommended means of consuming token contracts in this repo. Copy-pasting code is highly discouraged.

Contributing

Pull requests are welcome! Please keep standards discussions to the EIP repos.

When submitting a pull request, please do so to the staging branch. For a pull request to be accepted, they must pass the test suite. If a pull request adds features, it should add test coverage for those features.