Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

transfer_token.go outdated, needs update, example provided #70

Open
0xckruger opened this issue Aug 20, 2021 · 0 comments
Open

transfer_token.go outdated, needs update, example provided #70

0xckruger opened this issue Aug 20, 2021 · 0 comments
Labels
help wanted Extra attention is needed out-of-date-book-examples Book examples are out-of-date

Comments

@0xckruger
Copy link

Current transfer_token.go is outdated. Unsure of when this happened but the current method of transacting ERC-20 tokens looks something like this:

https://gist.github.com/ckruger097/a156d04a5f3542eac20e6eea5129946d

Note: This is done from my own research, this may not be best practice but it has worked as a PoC. It may also be worth mentioning I created the token mentioned in the comments using https://vittominacori.github.io/erc20-generator/ & transferred to MetaMask first. Then sent the tokens to my local geth account running on a light node. Hopefully this helps someone.

@miguelmota miguelmota added help wanted Extra attention is needed out-of-date-book-examples Book examples are out-of-date labels Aug 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed out-of-date-book-examples Book examples are out-of-date
Projects
None yet
Development

No branches or pull requests

2 participants