Author

Topic: Ethereum ERC20 code? (Read 620 times)

legendary
Activity: 2226
Merit: 1052
July 23, 2017, 02:48:37 PM
#9
legendary
Activity: 1596
Merit: 1000
July 23, 2017, 11:35:05 AM
#8
upppp
legendary
Activity: 1596
Merit: 1000
July 21, 2017, 07:56:53 AM
#7
does really nobody know if there is a go to erc20 token code? that one can copy paste to check?
legendary
Activity: 1596
Merit: 1000
July 20, 2017, 03:32:09 PM
#6
up
sr. member
Activity: 340
Merit: 254
CREATE YOUR OWN CRYPTO-CURRENCY WITH ETHEREUM 150$
July 19, 2017, 06:42:59 AM
#5
Hi

is there a template for making an erc20 coin?

i see this https://www.ethereum.org/token and the code under "Coin" works but is that erc20 or do i need to add any more parameters?

sorry for long time delay - I am back!  Wink

Since June I  had the  classical problem with Ethereum Wallet synchronization. Very long time my Ethereum node was offline and only I was possible to do - is writing codes. Was no deployment.

Finally solved this problem  these week using the Parity wallet node

Now  I have the ability deploy smartcontracts into the Ethereum Blockchain!!!
Can do it for you + test the code + verification + github + compilation etc


Please, those who wrote me, call or write me again Viber +375298563585
telegram +375298563585
skype open24365
newbie
Activity: 54
Merit: 0
July 19, 2017, 06:41:54 AM
#4
That's the basic code which you need to create a token. You'll probably want to add more smart contract code to allow for vesting and stuff like that.

What all do i need to add to make it an ERC20 standard code?

I found this: https://theethereum.wiki/w/index.php/ERC20_Token_Standard
and that basic code at https://www.ethereum.org/token#the-code covers all these functions.....so does that mean it is erc20?


Code:
/// @title ERC20 interface see https://github.com/ethereum/EIPs/issues/20
 /// [email protected]
contract ERC20 {
  uint public totalSupply;
  function balanceOf(address who) constant returns (uint);
  function allowance(address owner, address spender) constant returns (uint);
  function transfer(address to, uint value) returns (bool ok);
  function transferFrom(address from, address to, uint value) returns (bool ok);
  function approve(address spender, uint value) returns (bool ok);
  event Transfer(address indexed from, address indexed to, uint value);
  event Approval(address indexed owner, address indexed spender, uint value);
}
legendary
Activity: 1596
Merit: 1000
July 19, 2017, 05:55:40 AM
#3
That's the basic code which you need to create a token. You'll probably want to add more smart contract code to allow for vesting and stuff like that.

What all do i need to add to make it an ERC20 standard code?

I found this: https://theethereum.wiki/w/index.php/ERC20_Token_Standard
and that basic code at https://www.ethereum.org/token#the-code covers all these functions.....so does that mean it is erc20?
full member
Activity: 140
Merit: 100
Snip CEO
July 19, 2017, 05:26:08 AM
#2
That's the basic code which you need to create a token. You'll probably want to add more smart contract code to allow for vesting and stuff like that.
legendary
Activity: 1596
Merit: 1000
July 19, 2017, 04:58:54 AM
#1
Hi

is there a template for making an erc20 coin?

i see this https://www.ethereum.org/token and the code under "Coin" works but is that erc20 or do i need to add any more parameters?
Jump to: