levelk-upgradability-contracts
[Description]
Last updated 2 years ago by mfcalvanese .
MIT · Original npm · Tarball · package.json
$ cnpm install levelk-upgradability-contracts 
SYNC missed versions from official npm registry.

Upgradability Contracts

[Description]

Setup

Make sure you have the following installed globally:

node 8

TestRPC 6: npm install -g ethereumjs-testrpc

Then run npm install

chmod +x ./scripts to grant execute permissions on the scripts directory

Compile

Recompile contracts and build artifacts.

$ npm run compile

Deploy

Deploy contracts to RPC provider at port 8546.

$ npm run testrpc
$ npm run deploy

Test

Run npm run compile before first test run, and after any changes to the .sol files

$ npm test

Run npm run test:coverage to run with coverage reporting

Deployment Setup

Add secrets.json to the project root

// secrets.json
{
  "mnemonic": "<some mnemonic>",
  "infura_apikey": "<your infura key>"
}

Go to https://iancoleman.github.io/bip39/, click "Generate". Add BIP39 Mnemonic to "mnemonic" value in secrets.json

Add address from the BIP39 page to MetaMask. Send it some rinkeby Ether, or get it from the faucet on https://www.rinkeby.io

Go to https://infura.io/register.html to register for Infura. Paste your API key into "infura_apikey" value in secrets.json

npm run deploy-rinkeby to deploy to rinkeby

Current Tags

  • 0.1.6                                ...           latest (2 years ago)

7 Versions

  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (19)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |