dappuniversity / ico_irl

Real World ICO Ethereum Smart Contracts
89 stars 77 forks source link

none of this code works any more #15

Open startgeek opened 5 years ago

startgeek commented 5 years ago

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

jacobsteenhuysen commented 5 years ago

someone rewrote the open-zeppelin library into 5

dbrowne24 commented 5 years ago

You can add this to your truffle.js or truffle-config.js file to make truffle use the 0.4.24 version of the solidity compiler.

  compilers: {
    solc: {
      version: "0.4.24"
    }
  }

Just make sure you also have: pragma solidity ^0.4.24;

at the top of your smart contracts too.

etanoox commented 5 years ago

someone rewrote the open-zeppelin library into 5

@jacobsteenhuysen Can we ask where we can find it?

faisalKhan-99 commented 3 years ago

openzeppelin has removed the "contratcs/crowdsale" from github. How do we go about this now?

wabbittdevs commented 2 years ago

It would be good to modify your tutorials and maybe code to show us how to use Open-zeppelin 2.5 which still has the crowdsale functionality. Hopefully this is possible.