Code Monkey home page Code Monkey logo

qb-crowdsale's Introduction

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

qb-crowdsale's People

Contributors

aaroncolaco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.