A collection of smart contracts to enable safe non-custodial banking in Andromeda PoS Sidechains.
- Connected to a registry for authorization to participate in banking.
- Depositing of ERC-20 token.
- Withdrawal based on latest valid Sidechain state.
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.shnpm install -g truffle solhint
git clone git@github.com:luciditytech/plasma-bank.gitnpm installgit hf init
truffle compiletruffle migrate
Be sure compiled contracts are latest before testing
truffle test- With code coverage:
npm test
solhint "contracts/**/*.sol"