vahiwe / Building-your-own-ECR20-Token

This tutorial will take you through the steps of building your first ERC20 token on the Ethereum network.
https://medium.com/@vahiwe/building-your-own-ethereum-based-ecr20-token-in-less-than-an-hour-d4d4c7a14b1e
MIT License
90 stars 189 forks source link

Update GGMToken_5.0.sol #5

Open cthoma1215 opened 3 years ago

cthoma1215 commented 3 years ago

Sorry I don’t know if I’m doing this right I was just following your instructions on your blog. Is there something that I’m doing wrong any help would be greatly appreciated.,

On Wed, May 12, 2021 at 2:45 PM iamwraith-debug @.***> wrote:

@.**** commented on this pull request.

In contract/GGMToken_5.0.sol https://github.com/vahiwe/Building-your-own-ECR20-Token/pull/5#discussion_r631350365 :

     decimals = 18;

_totalSupply = 100000000000000000000000000;

  • balances[0xFEB02D9383C49A8373F88e82EbCecB553c1837bf] = _totalSupply;
  • emit Transfer(address(0), 0xFEB02D9383C49A8373F88e82EbCecB553c1837bf, _totalSupply);
  • balances[0x78753C3c20bA976433D0320276f4E69883eD4284] = _totalSupply;

Im getting a debug error on this line with my wallet adress

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vahiwe/Building-your-own-ECR20-Token/pull/5#pullrequestreview-658312589, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUBHSNQXL6CERXBKRVMWPG3TNLLHPANCNFSM44XGFEYA .

-- Sent from Gmail Mobile

cthoma1215 commented 3 years ago

Sorry I hope I didn’t mess anything up I’m just trying to figure it out I really need this thing to work

On Wed, May 12, 2021 at 2:45 PM iamwraith-debug @.***> wrote:

@.**** commented on this pull request.

In contract/GGMToken_5.0.sol https://github.com/vahiwe/Building-your-own-ECR20-Token/pull/5#discussion_r631350365 :

     decimals = 18;

_totalSupply = 100000000000000000000000000;

  • balances[0xFEB02D9383C49A8373F88e82EbCecB553c1837bf] = _totalSupply;
  • emit Transfer(address(0), 0xFEB02D9383C49A8373F88e82EbCecB553c1837bf, _totalSupply);
  • balances[0x78753C3c20bA976433D0320276f4E69883eD4284] = _totalSupply;

Im getting a debug error on this line with my wallet adress

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vahiwe/Building-your-own-ECR20-Token/pull/5#pullrequestreview-658312589, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUBHSNQXL6CERXBKRVMWPG3TNLLHPANCNFSM44XGFEYA .

-- Sent from Gmail Mobile