Deploying "token generation event" smart contract to the Ethereum mainnet

in #mailhustle6 years ago (edited)

Don't trust. Verify.

0x53f8d1D5eAC83E99577E1C73931ec135855993A0

ICO deployed.JPG


Here are the smart contracts on Etherscan:

  1. MultiSig
  2. Token MAIL
  3. Crowdsale

Ethereum_Accounts__Address_and_Contracts.png

There were some troubles with verifying source code on Etherscan so I deployed again and sent some more ETH so I don't have "save" on gas price and then wait for hours because transaction is stuck, waiting to be mined.


Technical speak

So we deployed three contracts to the Ethereum network. Now there is "one more thing"... Sending to ETH to crowdsale will fail and there is a reason for that.

  • send ETH get tokens
  • tokens are minted
  • only owner can mint tokens
  • currently the account that deployed the contract is the owner
  • need to make Crowdsale the owner

It's simple once you know it. At first it wasn't immediately obvious so I recreated everything in Remix IDE and deployed to JavaScript VM to quickly debug and see what's going on... No worries if you don't know what IDE or VM is - not everyone on this planet needs to know how to code, although admittedly it helps to have some technical knowledge.

Screen Shot 2018-04-24 at 08.43.02.png

(using MyCrypto to interact with already deployed contract)

Always here to support you, always here to serve you.
Michal Stefanow, co-creator of mailhustle

Sort:  

@mailhustle, let me be the first to welcome you to Steemit! Congratulations on making your first post!

I gave you a $.02 vote!

Would you be so kind as to follow me back in return?

Hey @mailhustle, want free resteems? All ya gotta do is follow me...

Hey brother....lovely to see you...I dont understand much of it...would have to research it more, but gladly following you.

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.030
BTC 58389.55
ETH 2482.59
USDT 1.00
SBD 2.38