Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 987 commits ahead, 587 commits behind OpenZeppelin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
contracts
migrations
scripts
test
.babelrc
.env.example
.eslintrc
.gitattributes
.gitignore
.jshintrc
.node-version
.solcover.js
.soliumignore
.soliumrc.json
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
ethpm.json
package-lock.json
package.json
truffle-config.js

README.md

Classic Delta Smart Contracts

Introduction of Classic Delta Smart Contracts

Introduction

Vision:

Mission:

Strategy:

Getting Started

npm install

Private testnet

To start a private testnet, make sure ganache-cli is properly installed. If you haven't done so before, install it by:

npm install -g ganache-cli

Starting private testnet

npm run ganache

Run test

truffle test --network ganache

Console

truffle console --network live

Test network

web3.eth.getBlockNumber((e, block) => { console.log(block)})

Check HD wallet address

web3.eth._requestManager.provider.addresses[0]

Migration

To test network

Migrating the code to Ganache test network can be done only after starting ganache-CLI by:

npm run ganache

Migration command to just started ganache network:

truffle migrate --reset --network ganache

To main network - costs involved

Make sure you have specified a .env file according to .env.example provided. Then run the following command:

truffle migrate --reset --network live
You can’t perform that action at this time.