-
Notifications
You must be signed in to change notification settings - Fork 539
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
Failed to call smart contract method. #320
Comments
The difference was in the "data" parameter. Encoded string from metamask: 0xeacabe140000000000000000000000009e2cdab6be1fdd6e526ac4d037b61e606cf8753e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000047465737400000000000000000000000000000000000000000000000000000000 Substituted this line instead And the program worked as it should. The NFT is created and transferred to the wallet. What is wrong with the line: This line produces the following encoded string: Highlight areas that differ. Help. |
My goal is to create NFT tokens through a smart contract method call.
It is not possible to call the smart contract method, instead a "duplicate" of the smart contract itself is created.
In addition, for some reason, when creating a copy of the contract, there is also an error: Warning! Error encountered during contract execution [gas uint64 overflow]
Through the metamask, the NFT is created.
Here is my code, what am I missing?
Here's what happens when I try to create an NFT through a metamask, and here's what happens when I call the code above.
I'm willing to pay for help if needed.
The text was updated successfully, but these errors were encountered: