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.
pragma solidity ^0.8.4; import "hardhat/console.sol"; contract Ewitter{ struct User{ address wallet; string name; string username;
I wrote a solidity that pays ERC-20 tokens for ERC-721 NFT transactions, but it doesn't work. On purchase, you trigger the purchaseToken method. But I get an un
When call in my front (React) My code: const checkAllowance = await contract.GetAllowance.call({ from: account }).catch((e
I am trying to do the following calculation with solidity: 3,000 / 45,000,000 = 0.000067 with the following method: // SPDX-License-Identifier: MIT pragma solid
I need help with my code. I want to create a simple Smart Contract with adding Liquidity to Pancakeswap. I tried many different things, but the transaction alwa
I am making an app to get live prices of tokens from the different exchanges. To do this I'm using web3.py to access to the DEX smart contract and call the getA
I'm trying to fork PANCAKESWAP, everything seem to work well, I can add liquidity, but whenever I decided to add a liquidity that has to do with BNB (i.e callin
I got an error while deploying contract in Binance Smart Chain plz help me if anybody knows it error message looks like this Deploying 'WhitePaperInterestRat
I am trying to make a basic React component to retrieve a value from a deployed contract. In this example, I am using an input box to receive a contract address
I have some simple ico contracts for airdrop and presale with lock token future to lock token until ico end and I want to know how to connect it to token contra
Whenever I try to compile my solidity contract, the error ParserError: Source \"@OpenZeppelin/contracts/math/SafeMath.sol\" not found: File import callback not
My contract for ERC1155 marketplace to mint buy and sell the NFT. The nft is getting minted , However the NFT is not showing in market place and not able to pur
I have tried changing different versions of solc, solidity, and chainlink contracts but it doesn't work. Error: contracts/Lottery.sol:4:1: ParserError: Sourc