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 hubflow
If you are on Linux
git clone https://github.com/datasift/gitflow
cd gitflow
sudo ./install.sh
npm install -g truffle solhint
git clone git@github.com:luciditytech/plasma-bank.git
npm install
git hf init
truffle compile
truffle migrate
Be sure compiled contracts are latest before testing
truffle test
- With code coverage:
npm test
solhint "contracts/**/*.sol"