Skip to content

qiibee/qb-crowdsale

Repository files navigation

QBX Crowdsale

Build Status Coverage Status

Requirements

Node v8 or higher

Install

npm install

Main Contracts

Test

  • To run all tests: npm test

  • To enable verbose mode: npm test --v OR npm test --verbose

  • To run a specific test: npm test -- test/QiibeeCrowdsale.js

There are also two environment variables (GEN_TESTS_QTY and GEN_TESTS_TIMEOUT) that regulate the duration/depth of the property-based tests, so for example:

GEN_TESTS_QTY=50 GEN_TESTS_TIMEOUT=300 npm test

will make the property-based tests in test/QiibeeCrowdsaleGenTest.js to run 50 examples in a maximum of 5 minutes

Coverage

Coverage has been disable because of conflicts with the different solidity versions of the contracts.

Deploy to Ropsten

  • Deploy qb-token contract and get the address
  • Set environment variables:
    • ROPSTEN_PRIVATE_KEY - private key of account you want to use to deploy with (omit 0x)
    • INFURA_API_TOKEN - your Infura API token
  • Update values in migrations/2_crowdsale_migration.js
    • update token address with the address of the deployed QiibeeToken (in step 1)
    • update _openingTime
    • update _closingTime

License

qiibee Token is open source and distributed under the Apache License v2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published