GithubHelp home page GithubHelp logo

ico_irl's People

Contributors

gwmccubbin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ico_irl's Issues

finalizing the crowdsale

finalizing the crowdsale
when the goal is reached
"before each" hook for "handles goal reached":
Error: VM Exception while processing transaction: revert

Chrome console showing null account.

Problem is in the connection of metamask to the local blockchain by using its RPC address. I use the private key of the first account to get its information. But in my system the first account's actual address in ganache is: 0x4DF4F75E96D49A1b61a4Cd1800d55444bb39C761 but the address that is displayed in my chrome console is 0xED4Cd7eA80CfdDef5c78F6A02C9352124AA6D835. Also in app.js in the render function where I have to display my account I am getting account as NULL. Please do confirm why it is different. How do I wire up the actual account to app.js

crowdsale stages

crowdsale stages
  โˆš it starts in PreICO (109ms)
  2) starts at the preICO rate

refundable crowdsale

refundable crowdsale
when the corwdsale stage is PreICO
forwards funds to the wallet:
AssertionError: the argument to above must be a number

crowdsale stages

not passing
crowdsale stages
starts at the preICO rate:

  AssertionError: expected '2500' to equal '3000'
  + expected - actual

  -2500
  +3000

Unable to access DappTokenCrowdsale in truffle console

I have run:

npm install
truffle compile
ganache-cli
truffle deploy

Then when I run:

truffle console
DappToken.deployed().then((instance) => {token=instance})
token.address

This works fine. I get the address.
But when I run:

truffle console
DappTokenCrowdsale.deployed().then((instance) => {crowdsale=instance})

I get the following error:

Error: DappTokenCrowdsale has not been deployed to detected network (network/artifact mismatch)
    at /usr/lib/node_modules/truffle/build/webpack:/packages/truffle-contract/contract.js:454:1

none of this code works any more

because now the current version of solidity is 0.5.x
and also truffle is 5
and openzeppelin-solidity is 2.0

practically watching videos from youtube is useless unless at least you refactor this
repo

i really appreciate your effort

Error when running tests

26 passing (18s)
  1 failing

  1) Contract: DappTokenCrowdsale
       refundable crowdsale
         when the corwdsale stage is PreICO
           forwards funds to the wallet:
     AssertionError: the argument to above must be a number

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.