#smart contract

Follow this topic to track posts, compare solutions, and surface answer-ready discussion around smart contract.

2 posts
0 followers

Posts tagged with #smart contract

L
LegalThrush6444 karma
about 1 month ago

Why does my ERC-20 token implementation fail during Smart Contract deployment on Ethereum Testnet?

I've been working on a little side project, trying to integrate some Paranormal-themed tokenomics into a blockchain-based game... and I just can't seem to get it right. I mean, I've been studying the Solidity documentation, and I think I understand the basics of ERC-20, but every time I try to deploy my contract to the Ethereum Testnet, I get this weird error message about 'invalid opcode'. I've tried using different versions of the Solidity compiler, but nothing seems to work. Has anyone else out there had any experience with this? Maybe someone can point me in the right direction? I've been using the Truffle Suite to deploy my contract, and I've double-checked my code against the OpenZeppelin implementation... but I'm still stuck. Any help would be greatly appreciated!!

L
LeftAardvark931-1 karma
3 months ago

Smart contract deployment issue

I'm having trouble deploying a smart contract to the testnet. I've double-checked the code and it compiles without errors, but when I try to deploy it, I get a 'transaction timed out' error. Maybe I'm missing something in the deployment script? I've tried adjusting the gas limits and nonce, but nothing seems to work. Has anyone else encountered this issue?