Skip to main content
0 votes
0 answers
49 views

I’m working on a Next.js application and using Wagmi to interact with a smart contract. The issue I'm facing is that when I call the getDoubledNumber() and number() functions from the frontend using ...
Youssef Ahmed's user avatar
1 vote
0 answers
57 views

I'm building a MetaMask Snap and I need help with the following use case: A user deploys a smart contract using Remix IDE. Instead of MetaMask directly sending the transaction to the default Ethereum ...
user59066's user avatar
0 votes
0 answers
30 views

Configured remix.ethereum.org ( Browser based Remix IDE ) . Environment set to Injected Web3 Provider Metamask. Network in Metamask is set to Infura Sepolia using RPC URL. https://sepolia.infura.io/v3/...
Udayarajan gauthaman's user avatar
0 votes
2 answers
637 views

Question Body: I'm developing an ERC721 contract using OpenZeppelin libraries, and I'm encountering an error when calling _exists() in my Solidity contract. The error message is: DeclarationError: ...
Chris's user avatar
  • 1
-1 votes
1 answer
88 views

I am new to Solidity and smart contracts but I am trying to deploy a smart contract on remix-ide. It's a snipping arbitrage bot that's supposed to trade Ethereum but when I try to deploy it, Remix ...
annonimous 12's user avatar
0 votes
1 answer
89 views

This is my code for the contract on solidity:(Token Deployed on BNB smart chain Mainnet) // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import { ECDSA } from "@openzeppelin/contracts/...
Jadiss EL ANTAKI's user avatar
1 vote
0 answers
50 views

I am writing a fundMe test file where I run tests for my fundMe solidity contract. I am having a problem concerning calling a function called "getConversionRate" from a PriceConverter file, ...
Abdallah Jawhary's user avatar
0 votes
1 answer
53 views

I wrote a solidity contract for withdrawing balance of cantract. May someone tell if its working. withdrawSafe should prevent reentrancy attack, but i don`t know if it is. Just check if everything is ...
ZettaZet YT's user avatar
0 votes
1 answer
48 views

// SPDX-License-Identifier: Unlicensed pragma solidity >= 0.7.0; contract Basic{ uint[] public val = [1,2]; function demo() public returns(uint) { val[0] = 22; ...
Md Arif Khan's user avatar
1 vote
2 answers
332 views

I'm working on a smart contract using Chainlink VRF (Verifiable Random Function) on the Ethereum Sepolia network. According to the documentation and examples, the subscription ID should be a uint64. ...
Bhargav Nandan Chaturvedi's user avatar
0 votes
1 answer
149 views

I am trying to use the ETH/USD price data feed on the Polygon Cardano Testnet via Remix. I deployed the following contract successfully: // SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import ...
Divyakrishnan R's user avatar
0 votes
1 answer
79 views

The call function in the withdraw() returns false and the require statement below it logs "Transfer failed". I've asked ChatGPT and it says that "check your gas limit".(my gas ...
abhi9ab's user avatar
0 votes
1 answer
574 views

I'm trying to deploy a simple Solidity contract using Remix, but I'm encountering an error related to missing trie nodes. Here is my contract code: // SPDX-License-Identifier: MIT pragma solidity ^0.8....
Caseythekiwi's user avatar
0 votes
0 answers
65 views

I tried to deploy the smart contract code in Remix Ethereum IDE but I am stuck with some errors. I tried to update the version of Solidity and do I added construct function in the contract. Although ...
Assassin Dev's user avatar
1 vote
0 answers
38 views

I'm very new in development. I have a simple smart contract that has 2 functions. 1 is to receive payments from any address. 2 withdrawAll that works only for the owner of the contract. The problem is ...
Игорь Любинецкий's user avatar

15 30 50 per page