Skip to content

Revolution-Populi/token-sale-contracts

Repository files navigation

RevPop ICO smart contracts

How to setup

  1. sudo make start
  2. sudo make npm-init
  3. sudo make truffle COMMAND="compile"

Usage of development env

This env uses ganache-cli as blockchain.

  1. sudo make truffle COMMAND="migrate"
  2. Development RPC will be available on http://blockchain:8545

Usage of Ethereym Ropsten env

  1. Create .env file and set your mnemonic phrase and Infura project ID.
  2. sudo make truffle COMMAND="migrate --network ropsten"
  3. Save contract addresses and use them for interaction.

Flatten all smart contracts into a single file

make flatten

This command will save a file ./TokenSale_flat.sol (git ignored).

Run unit tests

sudo make truffle COMMAND="test"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published