Skip to content

Ethereum Non-Custodial Banking Library for Proof-of-Stake Sidechains

Notifications You must be signed in to change notification settings

luciditytech/plasma-bank

Repository files navigation

Plasma Bank

A collection of smart contracts to enable safe non-custodial banking in Andromeda PoS Sidechains.


Overview

  • Connected to a registry for authorization to participate in banking.
  • Depositing of ERC-20 token.
  • Withdrawal based on latest valid Sidechain state.

Prerequisites

  1. brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. HubFlow
brew install hubflow

If you are on Linux

git clone https://github.com/datasift/gitflow
cd gitflow
sudo ./install.sh

Setup

  1. npm install -g truffle solhint
  1. git clone git@github.com:luciditytech/plasma-bank.git
  2. npm install
  3. git hf init

Compiling and migrating smart contracts

  1. truffle compile
  2. truffle migrate

Testing smart contracts

Be sure compiled contracts are latest before testing

  1. truffle test
  2. With code coverage: npm test

Linting smart contracts

  1. solhint "contracts/**/*.sol"

About

Ethereum Non-Custodial Banking Library for Proof-of-Stake Sidechains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published