Staking token manager for andromeda consensus.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"brew install hubflowIf you are on Linux
git clone https://github.com/datasift/gitflow
cd gitflow
sudo ./install.shclone the reponpm hf initnpm install
truffle compiletruffle migrate
Be sure compiled contracts are latest before testing
npm run testnpm 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