New answers tagged

0 votes

Transaction Hijacking?

After doing a lot of digging into the transaction that was sent. The attacker called their own malicious smart contract to call my contract using the same method from my transaction but replacing the ...
Samuel Wagner's user avatar
0 votes

gasLimit argument in ethers.js confuses me

Without seeing the contract you're calling, it's hard to tell you exactly what is causing this. However, one thing I would like to point out in your assumptions is: The state of the smart contract ...
natewelch_'s user avatar
1 vote

Does contract logic get executed with a SimulatedBackend?

Simulating a backend should be the main goal of SimulatedBackends so that I would say yes. While I'm not an expert with the SimulatedBackends in geth code, I assume errors and failed transactions are ...
Giuseppe Bertone's user avatar
0 votes

How to design a smart contract that allows people to trade NFTs

Does a platform exist that supports this sort of NFT for NFT trade? I haven't heard of anything like this, but it might exist. This type of trade is called an "escrow." Use search terms like ...
Henry Gagnier's user avatar
1 vote

How to design a smart contract that allows people to trade NFTs

This is possible and you would do this with Solidity. You would use the ERC-721 functions which would require that both users approve the smart contract to transfer (via the ERC-721 approve function) ...
Jack Antico's user avatar

Top 50 recent answers are included