Fractional Reserve Cryptobanking
- Token First (Mintable/Burnable)
- Send to contract (establish a lockup) + get CryptoBankNote Token
- Burn tokens by transferring to 0x0 address - burn token
- Submit loans to contract with terms (people accept loans???) -> People to generate different loan terms and vote on them like cryptobanknote
- Off chain computation? -> DAO or something like that.
- Governance??? (testnet) -> for loans to accept. Like the polychain type things. VC thing in favor because no need for external data feed. -> Colored Token (with different voting rights).
- Use node version --8.5.0
- Use npm version --5.3.0
- Clone this repo.
git clone https://github.com/sourcenetworks/cryptobank.git - Install necessary packages
npm install - Install testrpc with
npm install -g ethereumjs-testrpc. More info here - Open a separate terminal window and issue command
testrpc - Run tests with
npm test. If that doesn't work, dotruffle test