This is a repository of a crowdsale contract created for BitFinance Token sale written by StartupCraft Inc. for BitFinance ICO
- OnePager: http://www.bitfinance.com/files/One-Pager.pdf
- WhitePaper: http://www.bitfinance.com/files/One-Pager.pdf
- Investigation results: https://docs.google.com/document/d/1Yt_fvr-uJGD0D7WmUGbdjCYzJ2OAXPfqnT1FNDqz24Q
- Security concerns: https://docs.google.com/document/d/12iR6RybAS3-x-cInM5cVrThj23fgEr_2ZghivWN--dc/edit#heading=h.y1impqo3uqnt
TODO:
- analyse Solidity 0.4.13 - 0.4.21 versions
- Test MultiSigWallet + Token + Crowdsale in Mist and Rinkeby
- update with our own article "How to Participate in Token Sale sample: https://blog.matryx.ai/matryx-public-token-sale-how-to-participate-tips-on-staying-safe-4270017df0f6 ""
Total Supply: 1,000,000,000 BFA
Name: BFAToken
Symbol: BFA
Ether Cap: 219,058 Eth (at ETH = $456.5)
npm/node eth testrpc truffle
- install testrpc
yarn global add ganache-cli
- Run testrpc chain
ex
testrpc -b 1.5 --account="0xc7dcd9e96b41cb0f5d3d519550966fc36e9472f92be7d16af3638e600a48d588,2000000000000000000000000" --account="0xb6485e6830a5d9aff97fa9d799c16aa9e387a2eea684c4b7d2c9f656798e2710,15000000000000000000000000"
- Open separate project console tab and Run
truffle compile && truffle migrate
- Kill network connection to reset GAS limits
kill -9 $(lsof -ti :8545)
- Set test bool to true in /migrations/2_deploy_contracts.js Run truffle tests
yarn run test
Author: Volodymyr Katanskyi ( https://www.startupcraft.io/ )
Credits: TokenMarket ( https://tokenmarket.net ) Matryx ( https://tokenmarket.net/blog/matryx-token-and-token-sale-smart-contract-audit/ )