I am using scaffold-eth's Transactor to send transactions. But I am not able to capture if an error (or revert) occurs after the transaction is send. Instead I
I am trying to get an Ethereum smart contract up and running for Solana. I'm using solang and it had a few issues that I was able to fix, like Solidity's assemb
I've got a base contract which I use to add functionality to other contracts by inheritance. For some reason, neither revert nor require are working as expected
I've been following a tutorial on chainlink documentation, to get the current price of Matic using MATIC/USD Mumbai Testnet Data feed, the function getLatestPri
I'm currently developing on a simple Naming Service for the Ethereum Blockchain. msg.sender has the address of the deployer from the contract and not from the c
invInfo.ethInvestedInUToken[i].push(uETHAsPerProportion) ethInvestedInUtoken is the memory array in over in which i want to store the uEthAsPerProportion value
I am new in Solidity and I have been trying to create and get STRUCT without adding it to an Array. I alway see Structs with arrays and the method .push and I w
I did a lot of research and looked at different classes but could not create anything similar. Is there a project property that I can use?
I want to run a code in my terminal. " truffle migrate --network ropsten" 1_initial_migration runs correctly, but I have an error for 2_deploy_conracts.js like
I can't import openzeppelin's ERC721 contract. I have installed it using brownie pm install and also added it to brownie-config.yaml I appreciate any help Test.
I am developing a NFT contract on ETH using open Zeppelin, and reached the stage where, I am deploy on rinkeby. However there appears to an issue with the token
I adapted the code from this tutorial for my needs. It works fine at rinkeby network, but I am getting an error when I try to run it on Mumbai network. Advanced
I am getting the following exception in Chrome console screen when I start my frontend app. Can you help me how to figure out the issue index.ts:261 Uncaught (i
I have a function called renderSvg that I am using to generate art on-chain but it is taking too long to process. I believe it is because of the generatePaths f
I want to make an ERC20 token that supports virtual mining. That means that in my Smart Contract I want to make the rule that every K seconds, it sends X amount
I want to make an ERC20 token that supports virtual mining. That means that in my Smart Contract I want to make the rule that every K seconds, it sends X amount
I'm relatively new to solidity development and coding in general, but I'd really like to try and write a program that stakes and un-stakes an NFT after 24 hours
This is my hardhat.config.js file code module.exports = { solidity: "0.8.4", networks: { hardhat: { chainId: 1337 }, mumbai: { url:
When running a public view function that I deployed to etherscan testnet, I get the following error: Returned error: out of gas I have a forloop that loops 50
I got stucked in thoughts guys and I need bit of clarification to move it forward. (Description is about real problem, code is for best (I hope so..) understand