DonorToken is a donation-powered, best-practices-focused ERC token + crowdsale project, implementing ERC20, ERC23, ERC677, & more.
Built on the shoulders of OpenZeppelin, a library for writing secure smart contracts on Ethereum.
npm install
npm run test
You'll also get all the OpenZeppelin contracts in the node_modules/zeppelin-solidity/contracts
folder.
We also recommend the excellent solidity-flattener to flatten deploy-ready Solidity code with imports into a single file, i.e.:
export DT_PAR="/path/to/parentdir" # put this in .bash_profile and reboot terminal
solidity_flattener --solc-paths="zeppelin-solidity/=$DT_PAR/DonorToken/node_modules/zeppelin-solidity/" --output flattened/flat-YOURFILE.sol contracts/YOURFILE.sol
DonorToken is meant to provide secure, tested, and community-audited code, but please use common sense when doing anything that deals with real money! We take no responsibility for your implementation decisions and any security problem you might experience.
If you find a security issue, please email [email protected].
- stakeholder DAOs
- upgradeable codebases
- implement ENS (currently bypassed for gas savings)
- gas optimization (continual)
- Issue tracker
- Contribution guidelines
- Dev fund (ETH): 0x2F6dA3986a36f8dBd559b94CF9D6857779b429E2 or donortoken.eth
...more coming soon!
Code released under the MIT License.