Questions tagged [web3-providers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Unhandled Rejection (Error): ENS is not supported on network private

Unhandled Rejection (Error): ENS is not supported on network private l.<anonymous> /packages/web3-eth-ens/lib/ENS.js:481 478 | if (!this._detectedAddress) { 479 | var networkType = await ...
Nishant Patil's user avatar
0 votes
0 answers
21 views

Can anyone explain what Linea mainnet is and does

"Linea is a network that scales the experience of Ethereum. Its out-of-the-box compatibility with the Ethereum Virtual Machine enables the deployment of already-existing applications, as well as ...
saksham khandelwal's user avatar
0 votes
0 answers
55 views

Need Help Deploying Contract to Sepolia

I've built a web3 dapp for the "Rock, paper, scissors, lizard and spock" game. I've made it run on my local system using truffle and ganache but I must deploy it on an Ethereum test like ...
Priyadarsh S S's user avatar
0 votes
2 answers
115 views

Connecting to MetaMask using Web3.js: Web3.givenProvider vs window.ethereum

I am currently attempting to programmatically connect to MetaMask using Web3.js. I am following the Getting Started guide (https://web3js.readthedocs.io/en/v3.0.0-rc.5/getting-started.html), and the ...
Dawid's user avatar
  • 121
0 votes
1 answer
430 views

Infura Ethers.js jsonrpcprovider failed to detect network and cannot start up

I have tried to make Ethers.js 6.8.0 to work with Infura: endpoint = "https://sepolia.infura.io/v3/" + infuraApiKey; provider = new ethers.JsonRpcProvider(endpoint); but got this ...
Russo's user avatar
  • 1,764
0 votes
1 answer
69 views

Cant make conection with my Smart Contract using web3

I cant get my contract instance using web3 . I am making todo app using web3 . I cant get my contract instance in js file . I am new to web3 development and everyday I am trying my best improve my ...
Shorna's user avatar
  • 13
0 votes
0 answers
25 views

I cant log out my contract in a project

I am building web3 Todo app . I am building it using Next Js . I am trying to console log out my contract on console . So I have just build my smart contract . Now trying to make connection with my ...
Shorna's user avatar
  • 13
0 votes
0 answers
83 views

Connect wallet to dapp automatically in internal wallet browser

I am working on a ethereum wallet and building an in-app webview where user can open dapps inside dapp itself (like trust wallet, family, etc). I am injecting a Provider (inspired from trust-web3-...
akathecoder's user avatar
0 votes
1 answer
20 views

In the post merge 2023 developer ecosystem, what's the best practice for connecting to a web3 dApp that doesn't use client-server JS (e.g. node)?

I have a very simple application that uses Django as the underlaying web framework, and our app got a bit stranded by the move from Walletconnect's services in the migration from v1 to v2 that was ...
jdero's user avatar
  • 101
0 votes
1 answer
71 views

(SOLVED) TypeError: Cannot read properties of undefined (reading 'call') and TypeError: TestContract.name is not a function

This is my simple js code (without api). I try to do my first steps with js and web3 and the goal is to fetch data from the OMG network, a very simple task, but for some reason it is not working. I ...
Christopherus's user avatar
0 votes
0 answers
25 views

Coinbase Wallet extension does not return pending transaction from eth_getTransactionByHash

I encountered a problem while integrating CoinBase wallet into a DApp. Previously, only MetaMask was supported. With MetaMask, I was able to send a TX hash of a pending transaction to ...
CherryDT's user avatar
  • 103
0 votes
1 answer
232 views

ECONNREFUSED with Ethers.js and Node.js

const { ethers } = require("./node_modules/ethers/lib"); require("dotenv").config({ path: "./.env" }); const provider = new ethers.providers.WebSocketProvider( ...
Sinners's user avatar
0 votes
0 answers
652 views

How to implement wallet connection with Ethers.js v6 for multiple providers (MetaMask, Coinbase)

I'm building a DApp and want to provide wallet connection options for users. I'm using Ethers.js v6 for Ethereum interactions. My goal is to allow users to click buttons like "Connect to MetaMask&...
Rodrigo Vila's user avatar
0 votes
0 answers
8 views

Minting react app

I build a sample minting app with React, When I built the app on localhost everything ran correctly, but when deploy the app on Vercel appear a blank page. what is wrong?
asd youa's user avatar
0 votes
0 answers
807 views

Getting "err: max fee per gas less than block base fee" when estimating gas cost of a transaction

For the last few days, I have some trouble using the eth_estimateGas function from the Quick Node provider. Indeed, after fetching a transaction from the mempool, I want to estimate the gas cost of ...
VeeN's user avatar
  • 101
1 vote
0 answers
64 views

Stargate swap error

I'm trying to swap calling stargate protocol function. But there is en undifined error when executing. Don't know where to find solution. Please help me chain_id = 111 rpc = 'https://arb1.arbitrum.io/...
MyakishevM's user avatar
0 votes
1 answer
264 views

Change or remove default web3 wallet on Android

I accidentally chose Ledger as the default wallet for DApps in the Android pop-up when I use Metamask also. How do I remove the default so that I can choose which wallet I want to use?
Janine White's user avatar
4 votes
2 answers
359 views

Looking for the best provider

What’s the best multi-chain provider? I want to use Polygon, Avalanche, Solana, & Ethereum.
Tien's user avatar
  • 193
0 votes
0 answers
39 views

How to decode orca.so api response

I'm building my arbitrage bot with orca.so, when I try to fetch the price via their api this is the response: { "jsonrpc": "2.0", "result": { "...
Richie Pua's user avatar
1 vote
2 answers
92 views

What is the most suitable node provider for Avalanche c chain transactions and assets tracking

On Avalanche C-chain I need to be able to publish transactions and track their status whether it’s mined/confirmed/dropped, furthermore I need to be able to track multiple account balances. There is a ...
Andrey Obruchkov's user avatar
1 vote
0 answers
83 views

Detecting gnosis safe through Walletconnect

I am on a chain with a specific problem of not being able to estimate gas when Gnosis safe walletconnect dapp is used to connect to a dapp on this chain. So I require detection on whether the wallet ...
Atilla Birer's user avatar
0 votes
0 answers
110 views

long-time pending transaction suddenly is hidden on Goerli

Sometimes, happen for me scenario below: I send a transaction to Goerli with low gas. Infura nodes return me a successful message with a related transaction hash. But when I search for the transaction ...
mjdimn's user avatar
  • 1
2 votes
2 answers
953 views

Web3ReactProvider || Cannot read properties of undefined (reading 'length') || Error while using web3-react/core

getting this error while consuming the web3provider, Did the same configuration as per the tutorial.
amit perane's user avatar
1 vote
1 answer
1k views

WEBSOCKETS Provider url for binance smart chain

I have a contract deployed in Binance smart chain. I have written a script that will help me read the events logs from the Blockchain. currently, I tested that with the local hardhat network itself, ...
Bappa Banerjee's user avatar
1 vote
2 answers
684 views

Goerli + ethers.js 6.3 + API key --> unsupported network and 403 server errors

My code transfers coins from a bunch of wallets to the main one. Previously, with ethers 5.7x it used to work well. However, it doesn't any longer. I used to have this: const provider = ethers....
Kyell's user avatar
  • 91
1 vote
1 answer
351 views

Getting error while adding web3 in react file

I am completely new to web3 and react . I following a course to build a small project .I have been trying add a web3 instance in my main react file . I getting this error everytime . ERROR in ./...
Shorna's user avatar
  • 13
1 vote
2 answers
173 views

gasless transaction with account abstraction

With the new account abstraction 4337, I am planning to crearte a chrome extension that can support gasless tx on any web3 platform. I have a paymaster that can support transactions. For example, I am ...
bbusdriver's user avatar
  • 1,144
2 votes
2 answers
565 views

If I am using window.ethereum provider, what is the use of alchemy api key?

I am following a tutorial on creating a simple dApp; in the tutorial, the provider used is window.ethereum, which is, correct for me if I am wrong, a MetaMask provider, but he still uses the alchemy ...
Mohamed Ashraf's user avatar
1 vote
0 answers
132 views

How to pass web3 client from server to client in next.js?

I spent all day (meh, not a record (but I'm not finished yet lol)) trying to pass the web3 instance to the client side of my app. Why would I use it on the server side? Well, to keep my wallet ...
Eugene1111's user avatar
1 vote
0 answers
90 views

How to set up my own ganache provider in web3-react?

There are no examples or documentations about setting up my own provider in web3-react library. Can someone provide a simple example about that? Here is my attempt: src/connectors/metaMask.js import { ...
Libra's user avatar
  • 21
1 vote
1 answer
35 views

Is there a decentralized version of Cloudflare Workers?

Is there a decentralized version of Cloudflare Workers or some comparable service like AWS Lambda functions or GCP Cloud Functions? I would love a blockchain based, or just a decentralized version of ...
ChristianOConnor's user avatar
0 votes
1 answer
82 views

How to use thirdweb contracts with node v14 in reactjs?

Hey everyone I am using useStorageUpload from @thirdweb-dev/storage for uploading NFT image and metadata to ipfs but it is giving me errors which I cannot figure out where am I doing wrong Here's my ...
Nirban Chakraborty's user avatar
0 votes
0 answers
41 views

unfortunately it is not possible to create an account using an external wallet (vm london)

I have duplicated tabs of the same smart contract to make each user of the same smart contract to invoke the function related to him then i got this error. (unfortunately it is not possible to create ...
Mohammed's user avatar
0 votes
1 answer
356 views

Binance smart chain node API provider without billing per websocket response

I'm unsure if this is the correct place to ask but I thought I'd try anyway. Problem I want to build a Node.js application using the Web3 library. The application should collect prices on liquidity ...
Jaron_e's user avatar
0 votes
1 answer
43 views

Can I transfer ethers from user to a contract by pressing a button and accept in metamask?

I am learning solidity and react and for that I want create a web platform for Social Events. The events have a id, adress (owner of the event), price and the page looks like this: I am connected to ...
user118391's user avatar
0 votes
1 answer
848 views

Error: call revert exception; VM Exception while processing transaction: reverted with panic code 50

I am getting an unusual error. It would be great if someone can help me out with it. This is the code of my user interface which sends a transaction to the smart contract. const provider = new ethers....
Sina Rahimi's user avatar
4 votes
1 answer
292 views

If `provider` is essential in communicating with the blockchain, how is this following code working?

Here is the smart contract code: // SPDX-License-Identifier: MIT pragma solidity 0.8.19; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; interface Bucket { function drop(...
amit's user avatar
  • 390
1 vote
1 answer
242 views

BSC: CONNECTION ERROR: Couldn't connect to node

I use this tutorial for run BSC node: https://docs.bnbchain.org/docs/beaconchain/light-client But with web3 I get error: Uncaught (in promise) Error: CONNECTION ERROR: Couldn't connect to node My ...
user118189's user avatar
1 vote
2 answers
122 views

How Does a New Wallet Get Added to a dApp’s List of Support Wallets?

Let's say I have a new wallet that I've created and I wanted it to show up next to Metamask whenever a user clicks "Connect Wallet" on a dApp front-end as another wallet option. What is the ...
Jackson Kelley's user avatar
1 vote
0 answers
777 views

How to correctly set up a WebSocketProvider in ethers.js?

I'm trying to switch my dapp from Web3Provider to WebSocketProvider, form this: const provider = new ethers.providers.Web3Provider(window.ethereum) const accounts = await window.ethereum.request({ ...
Sawy's user avatar
  • 11
0 votes
1 answer
276 views

walletconnect v2 cdn for javascipt project

do we have an cdn for walletconnect v2 for using in pure js project? after that we need to get provider and getsinger for using data and creating contract ethers.js by signer for call functions
user116235's user avatar
0 votes
0 answers
700 views

Connect Web3.js to Geth in Goerli Testnet

I am trying to connect to a Goerli node using geth in which I have deployed a smart contract via Remix. In fact I'm trying to call the function of this smart contract which returns a value for example ...
RevOneX9's user avatar
3 votes
2 answers
2k views

Connecting to MetaMask wallet via WalletConnect Web3Modal V2 from mobile browser does not give connect prompt in metamask app

import { EthereumClient, modalConnectors, walletConnectProvider, } from "@web3modal/ethereum"; import { configureChains, createClient, WagmiConfig } from "wagmi"; import { ...
chaitu605's user avatar
1 vote
0 answers
285 views

Set ethers provider to use any injected web3 providers

Using MetaMask provider to detect MetaMask as provider and Etherprojects provider to set provider. import { ExternalProvider, Web3Provider } from '@ethersproject/providers'; import ...
Sagar Atalatti's user avatar
1 vote
1 answer
473 views

How to remove default Provider and allow users to choose?

Currently I have MetaMask installed in my chrome browser. And the dApp that I'm building uses the Ethereum provider by default. How can I not use it as the default Provider, and selects the Provider ...
code_learner93's user avatar
1 vote
2 answers
409 views

How to use two defaultNetwork: in Hardhat.config.ts

Here's my hardhat.config.ts file { defaultNetwork: 'goerli', //////// here 'polygon_mumbai' networks: { hardhat: { }, localhost : { url : 'http://127.0.0....
user114704's user avatar
1 vote
0 answers
125 views

How to recover from intermittent 'the resource eth_call is not available' during runtime?

When I call a contract function using a block_identifier from the past, I get error code -32002 the resource eth_call is not available in ~4/5 times when using a public RPC using Python web3. ~1/5 ...
decryptozoo's user avatar
0 votes
1 answer
1k views

remix scam, did i get scammed? [duplicate]

I made a smart contact without looking into it much, but here is the video and code video: https://youtu.be/BvIpfcKzwbk Code: https://pastebin.com/raw/xCBDQc3V Im unable to withdraw anything now, i've ...
user115006's user avatar
0 votes
1 answer
653 views

Alchemy provider API provider does not support signing

I am using AlchemyProvider with ether.js to deploy a smart contract using frontend data But I am not able to sign the provider i.e AlchemyProvider. Code const provider = new ethers.providers....
Yakshesh Gupta's user avatar
2 votes
1 answer
169 views

Have any a16z-backed protocols ever been hacked?

This year, we saw the hack by exploit of a Binance bridge and a Ronin bridge due to weak code written by the protocol creators. a16z Crypto is the most influential DeFi protocol investor in web3, ...
user610620's user avatar
  • 1,498

1
2 3 4 5
7