关于ERC20的Token学习Demo
https://github.com/ConsenSys/Tokens
maurelian 812791dfbf Update solidity-coverage | 6 лет назад | |
---|---|---|
contracts | 6 лет назад | |
migrations | 6 лет назад | |
test | 6 лет назад | |
.eslintrc.json | 6 лет назад | |
.gitattributes | 6 лет назад | |
.gitignore | 7 лет назад | |
.solcover.js | 6 лет назад | |
.solhint.json | 6 лет назад | |
LICENSE | 8 лет назад | |
README.md | 6 лет назад | |
ethpm.json | 7 лет назад | |
package-lock.json | 6 лет назад | |
package.json | 6 лет назад | |
truffle.js | 6 лет назад |
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.
The only environmental dependency you need is Node. Presently we can guarantee this all works with Node 8.
npm install
npm run compile
The repo has a comprehensive test suite. You can run it with npm run test
.
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.
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.