alsco77 / contracts

Contribute solidity-contracts

Home Page:https://tribtoken.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contribute

A capital coordination tool that pushes the boundaries of DeFi.

For a detailed explanation of how the system works refer to the whitepaper.

Getting Started

These instructions will get a copy of the project up and running on your local machine for development and testing purposes.

Installation

Make sure to install all project dependencies

npm install

Running the tests

After installing all the dependencies just run the tests with

npm run test

Deployment

Ropsten

Contribute requires mUSD from the Ropsten testnet in order to be deployed.

Instructions

Make sure to generate a BIP-039 + BIP-044 wallet utilizing a random mnemonic phrase and save the mnemonic phrase as .private in the root of your main working folder.

Start the buidler console in your CLI with

npx buidler console

and generate the wallet using Ethers.js with

let randomWallet = ethers.Wallet.createRandom();

Load the first three accounts with Ropsten Eth from the faucet and ask for at least 30 Ropsten mUSD at the mStable Discord.

After you have distributed 10 mUSD to the first three deploy on Ropsten with

npm run deploy:test

Mainnet

Deploy to the Ethereum mainnet with

npm run deploy:main

License

MIT

About

Contribute solidity-contracts

https://tribtoken.com


Languages

Language:Solidity 67.1%Language:JavaScript 32.9%