Skip to content
Provoco.me ICO contracts.
Branch: master
Clone or download
Latest commit 5aafce7 Jul 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts
migrations
test
.babelrc
.env.sample
.eslintrc
.gitignore
.solcover.js
.soliumignore
.soliumrc.json
LICENCE
README.md
package-lock.json
package.json
truffle-config.js
voco.png

README.md

identiForm

PROVOCO Smart Contracts

Smart Contracts for provoco.me ICO.

Install

npm i -g truffle
npm i

Build

truffle compile --network

Deploy locally

npm run rpc
truffle migrate --network development --reset

Test

At first, delete contracts/flat/ProvocoCrowdsale.sol, then:

npm run rpc
truffle test

Deployment with Truffle

  1. Delete flat/*.sol
  2. Add your own addresses in contracts/ProvocoCrowdsale.sol and edit times.
  3. Edit .env
  4. Set prod == true on truffle.js
  5. Run truffle migrate --network main --verbose-rpc
  6. Clear environment variables, delete .env

Deployment with Remix

  1. Add your own addresses in contracts/ProvocoCrowdsale.sol and edit times.
  2. npm run flatten
  3. Copy flattened contract to Remix console.
  4. Deploy.
  5. Transfer ownership from token to crowdsale contract.

Licence

GPL-3

You can’t perform that action at this time.