Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the abi-decoder.js is missing #70

Open
brlojam4932 opened this issue Jul 21, 2021 · 4 comments
Open

the abi-decoder.js is missing #70

brlojam4932 opened this issue Jul 21, 2021 · 4 comments

Comments

@brlojam4932
Copy link

I am new to programing but this file is not there at all - there is no actual file named abi-decoder.js ...?
Am I missing something?

@PlanetTheCloud
Copy link

I have the same issue as well. Do you manage to find it?

@brlojam4932
Copy link
Author

Yeah, someone posted on the comments that he probably purposely leaves out a piece from the lesson so that you will be more inclined to sign up to his services. It seems believable since this happens in most of his tutorials. I can never finish some of his tutorials. I think it's worth it to sign up the his coding bootcamps but I'm already on one.

@PlanetTheCloud
Copy link

Well, to those who wanted to decode the ABI, please take a look at https://web3js.readthedocs.io/en/v1.5.2/web3-eth-abi.html#decodeparameters. If you are trying to decode input data with a function call, remove the first 8 bytes of the HEX (web3/web3.js#3016 (comment))

@Yiwen-Gao
Copy link

I think the code is all there in index.js, but it delegates some functionality to abiCoder from web3js.

https://github.com/ConsenSys/abi-decoder/blob/a9ed4923433ad32069e2ea963d683ed2ff49fa07/index.js#L2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants