Skip to main content

All Questions

Tagged with
0 votes
1 answer
186 views

Errors when signing and sending transaction with Ethers

I get the error in the browser console when the function attempt to execute signTransaction, even though the transaction was successfully broadcasted to the blockchain. The loading variable never get ...
Ahmed B's user avatar
  • 33
0 votes
1 answer
51 views

Error in the integration between Hardhat and react.js

This error keeps showing up when I try to use react.js to input data in the smart contract using hardhat ERROR in ./src/BridgeData.js 69:23-52 export 'ethers'.'providers' (imported as 'ethers') was ...
MAbdelkader's user avatar
0 votes
0 answers
51 views

async/await is not yet supported in Client Components in dApp with nextjs

I am attempting to create an app which needs to interact with smart contracts, and when attempting to supply a provider for web3.eth.Contract I get the error async/await is not yet supported in Client ...
Ahmed B's user avatar
  • 33
0 votes
1 answer
62 views

A function inside context does not get executed

I have created a dApp which uses a context folder to communicate with the smart contract, in the context a function called loadAuth which checks if the user is authenticated, then set the account ...
Ahmed B's user avatar
  • 33
0 votes
1 answer
50 views

Errors when getting the contract instance

I am following a tutorial to create a peer to peer payment dApp on Polygon network. When I attempt to fetch the accounts in the web3 provider and create an instance of the PaymentToken contract, I get ...
Ahmed B's user avatar
  • 33
0 votes
0 answers
50 views

Web error when connect smart contract on website for dapp

Web component code: const bidSubmit = async () => { const bidValueEth = parseFloat(bidAmount); if (isNaN(bidValueEth) || bidValueEth <= 0) { setBidError('Please enter a valid ...
user24921464's user avatar
0 votes
0 answers
64 views

Error: Could not fetch bytecode for contract at 0x20775d300BdE943Ac260995E977fb915fB01f399 on chain 137

import { ThirdwebProvider, metamaskWallet, coinbaseWallet, walletConnect, phantomWallet } from ' @thirdweb-dev/react'; import { createThirdwebClient, getContract, resolveMethod } from '...
civir zach's user avatar
1 vote
1 answer
269 views

TypeError: Cannot read properties of undefined (reading 'eth') of web3

I'm getting the following error when trying to instantiate a contract using Web3.js: Unhandled Runtime Error TypeError: Cannot read properties of undefined (reading 'eth') Source Ethereum\...
VANSH SHAH's user avatar
0 votes
0 answers
2k views

WalletConnect V2 Getting No matching key. history: 1692426096597151 error in React+wagmi

I there, I'm trying to add WalletConnect V2 in my current running React JS project and I added React JS popup wallet connect modal and it's working fine fore connection my wallet using WalletConnect. ...
Pavan Nagadiya's user avatar
0 votes
1 answer
556 views

Smart Contract's ABI has uint256, but I get error `Type 'number' is not assignable to type 'BigNumber'

This is the first time I work with web3 api, so I am totally lost. I use wagmi hook with react, trying to call a function from smart contract: const id = 1; const index = 1; const { data, error, ...
MrOwl's user avatar
  • 69
0 votes
7 answers
3k views

Contract undefined in thirdweb-dev/react

I am using thirdweb-dev/react to communicate with smart contract but the issue is it is giving me the contract undefined in my code with this error. query.ts:444 Error: Could not resolve metadata for ...
Zain Sahi's user avatar
  • 135
-1 votes
2 answers
794 views

ThirdWeb Error: The address you're trying to send a transaction to is not a smart contract

I am trying to create a Crowdfunding Dapp. I've deployed the smart contract on goerli testnet (link). Now I created the frontend using react and connected it to the contract using thirdweb. The ...
Hrithik Raj's user avatar
0 votes
1 answer
610 views

react toastify does not show rejected promise error

I have an NFT contract and want to call buyNft // since contract is passed from outer scope, I need to create a new constant as an inner obj const _contract = contract; const buyNft = ...
Yilmaz's user avatar
  • 50.1k
0 votes
1 answer
2k views

Use RainbowKit without Wagmi, and just with ethers.js

I like wagmi for what it is and the functionionality it offers, but wagmi has a couple limitations especially when it comes to calling function that return an output. So my take is this, A way to ...
Tame.nation's user avatar
0 votes
1 answer
77 views

Function "createCampaign" not Found [closed]

Repository It is a form for create a campaign, being sent to the created contract. It should appear in the events of the contract created through the thirdweb.
Charlie Samoel's user avatar

15 30 50 per page
1
2 3 4 5