Basically I am running these commands: var blocknumber = await web3.eth.getBlockNumber(); var transaction = await web3.eth.getTransactionFromBlock(blocknumber,
I installed py-solc-x via pip3 install py-solc-x in the terminal but when I run the program, I still get an importerror. What's going on here? My code: from sol
I'm trying to create my own NFT contract factory, but it fails in mainnet. I have ETH on my wallet. In test it works fine. Here's my contract: //Contract based
I am getting this error message when trying to interact with my smart contract on my react front end. I am running localhost3000 and which requires metamask to
I am not really sure how to restart the state of the node to the initial state. Each time I try to redeploy a contract - I'm getting the same contract, the cons
While trying to troubleshoot another issue with my project, I must've broken something along the way, but I have no idea how to fix this. These are my import st
I have a new Erc20 token built on Polygon network and available on Polyscan, how can I make it available on Binance smart chain as well, the same way like other
When creating a ERC721 contract that manages thousands of image NFTs, saving these image byte pixels in arrays on the contract doesn't seem ve
When creating a ERC721 contract that manages thousands of image NFTs, saving these image byte pixels in arrays on the contract doesn't seem ve
I have BSC node synced and running on VPC ( the VM specs are 120G RAM and 24vCPU with nvme of 4 tera) it synced pretty fast and using geth version 1.1.2 I teste
I use Quasar CLI version 1.2.1 and library web3 version ^1.5.2 it's an error when i use: import Web3 from 'web3' Log Error: App • Chaining "UI" Webpack c
I'm trying to import some contract files from open zeppelin so my solidity smart contracts can inherit their functionality, when trying to write chai tests that
I want to deploy my own ERC-20 token on different blockchains, so is there any possibility to deploy the same token contract on different blockchains. If we do
2_deploy_contracts.js ===================== Replacing 'SimpleStorage' ------------------------- Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({ code:
I playing Ethernaut Level 8. The goal is to get access to the private password state variable and unlock the contract. I know one could use await contract.unloc
I am a newbie in smart contract development. I just create a smart contract for some analyze how it works, so I used the truffle suite with vs code to create a
I'm trying to write some data to Ethereum Rinkeby test network without using meta mask, But while calling the method i'm getting the error below , But my argume
I'm currently developing a dApp in Solidity and am working on a web3 library to handle communication with it. I struggle with the process of new account creati
I’m wanting to use Metamask in my app to let users pay a fixed ETH fee (plus gas) to call a method from my Solidity contract. I looked at the Metamask doc
I am a newbie in the blockchain technology and I have question. I just deployed an Ethereum smart contract to the Rinkeby testnet network and minted a few NFTs.