Openzeppelin-contracts: Where is openzeppelin-solidity/contracts/token/ERC20/StandardToken.sol?

Created on 24 Oct 2018  路  11Comments  路  Source: OpenZeppelin/openzeppelin-contracts

Most helpful comment

All 11 comments

I think I'm gonna use ERC20.sol they have the same codes for StandardToken.sol base in this video https://www.youtube.com/watch?v=_ikc4Ct7wvk @ 12:08/19:17

As you can see https://github.com/OpenZeppelin/openzeppelin-solidity/issues/1478, it does not exists anymore. OZv2 has changed a "bit".
Be aware that the code shown in this video was done using OZv1.2

@obernardovieira Yeah thanks! im aware.. so what is the replacement of StandardToken.sol? I check the link, I dont understand.

@snario Yes im using this

2. Find/Replace StandardToken / BurnableToken / MintableToken to ERC20

There's no StandardToken anymore, only ERC20.

Hi,
Please update the docs with the same.
I also created a pull request in Truffle Examples repository to reflect the change
https://github.com/trufflesuite/trufflesuite.com/pull/216

for the meantime I am using this "openzeppelin-solidity": "^1.10.0"

Thank you @pRoy24 for updating the docs! @kennblvnp please see this newly updated section: https://github.com/trufflesuite/trufflesuite.com/blob/master/src/tutorials/robust-smart-contracts-with-openzeppelin.md#creating-the-tutorialtoken-smart-contract

@CruzMolina @pRoy24 thanks everyone!

Thanks a lot everyone for this! :clap:

Was this page helpful?
0 / 5 - 0 ratings