Staking token manager for andromeda consensus.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install hubflow
If you are on Linux
git clone https://github.com/datasift/gitflow
cd gitflow
sudo ./install.sh
clone the repo
npm hf init
npm install
truffle compile
truffle migrate
Be sure compiled contracts are latest before testing
npm run test
npm run lint
solhint "contracts/**/*.sol"
On deploy you need to remember to register contract in ContractRegistry
ie:
const ContractRegistry = artifacts.require('ContractRegistry');
const contractRegistry = await ContractRegistry.at(config.ContractRegistry.address);
await contractRegistry.add(StakingBank.address);
- staging: 0xa37c1f72b355acc14b49dfa15437da3b99372a62
- staging: 0x357d9959ae144ed97091e072b24199ef2f138963