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

When calling my nft contract with call command then its giving "vm_error": "evm: execution reverted". #176

Open
sudhanshu7394 opened this issue Feb 22, 2022 · 2 comments

Comments

@sudhanshu7394
Copy link

As per readme file I was trying to excute this command with bytecode of my nft contract. Its generating address for my contract and even showing gas used but throwing vm_error too.
Screenshot from 2022-02-22 10-26-26

thetacli call smart_contract --chain="privatenet" --from=2E833968E5bB786Ae419c4d13189fB081Cc43bab --value=0 --gas_price=1000000000wei --gas_limit=200000 --data=

@jieyilong
Copy link
Member

jieyilong commented Feb 22, 2022

The README is a bit outdated. If you are interested in DApp and smart contract development on Theta, please check out these guides. Thanks!

https://docs.thetatoken.org/docs/turing-complete-smart-contract-support

https://docs.thetatoken.org/docs/web3-stack-truffle

@sudhanshu7394
Copy link
Author

sudhanshu7394 commented Feb 28, 2022

The README is a bit outdated. If you are interested in DApp and smart contract development on Theta, please check out these guides. Thanks!

https://docs.thetatoken.org/docs/turing-complete-smart-contract-support

https://docs.thetatoken.org/docs/web3-stack-truffle

But still not able to call my nft contract on theta and getting same error.

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

5 participants
@jieyilong @sudhanshu7394 and others