Solifity 0.8.0 with struct struct Placeholder{ string a; uint256 b; } mapping(uint256 => Placeholder[]) public placeholder; why this error Member "b" no
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 am new to solidity. This is my 1st simple project when I do node compile.js & I am getting following error: My Error : { contracts: {}, errors: [ ":
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
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
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'm trying to run my brownie dapp in a docker container, but i always have the same error and can't seem to fix it: FileNotFoundError: [Errno 2] No such file or
The project we are supposed to make is a minting page that can set royalty fee on opensea testnet from the dapp itself (i.e. you cannot set it from open sea's i
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
Getting this error while trying to run a eth-brownie script on MacOS ModuleNotFoundError: No module named 'Users.xyz' Run command: brownie run scripts/mainne
2_deploy_contracts.js ===================== Replacing 'SimpleStorage' ------------------------- Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({ code:
This is the code thats giving the error, the line is set to bold. //SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; contract CrowdFunding{ mapp
I've imported the Open Zeppelin ERC721 token standard into my VS Code with the Solidity extension, but see the following warnings on all my OZ import statements
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 trying to compile the bellow contract and i am getting the error. If i remove the mapping i dont get an error: Compiling using default compiler, solidity v
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 have a problem while compiling my first smart contract: Structure of my folder: in Inbox.sol pragma solidity ^0.8.9; contract Inbox { string public mess
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.