This repo contains Solidity smart contract code to issue simple, standards-compliant tokens on Ethereum. It can be used to create any form of asset, currency, coin, hours, usage tokens, vunk, etc. Please alter 2_deploy_tokens.js to define your token.
The default is StandardToken.sol which ONLY implements the core ERC20 standard functionality #20.
HumanStandardToken.sol is an example of a token that has optional extras fit for your issuing your own tokens, to be mainly used by other humans. It includes:
- Initial Finite Supply (upon creation one specifies how much is minted).
- In the absence of a token registry: Optional Decimal, Symbol & Name.
- Optional approveAndCall() functionality to notify a contract if an approval() has occurred.
There is a set of tests written for the HumanStandardToken.sol using the Truffle framework to do so.
Standards allows other contract developers to easily incorporate your token into their application (governance, exchanges, games, etc). It will be updated as often as possible.
npm install
For getting truffle-hdwallet-provider. Solidity tests have to still be written.
Uses Truffle 3.x.
This is published under tokens at ethpm.
Pull requests are welcome! Please keep standards discussions to the EIP repos.
When submitting a pull request, please do so to the staging
branch.