Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
50 views

I’m building a simple Voting DApp using Solidity and Hardhat. The contract deploys successfully, and I can start and end voting without issues. However, when I try to call the getWinner() function ...
Pendem Prashanth's user avatar
0 votes
1 answer
80 views

There's a few different ways of accessing dapp providers, but one of the most standard ways to check everything's good in the context you're running things is with a bog standard, window....
seaders's user avatar
  • 4,166
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
0 votes
0 answers
40 views

I'm trying to test my smart contract using ganache provider and mocha but seeing this error. AbiError: Parameter decoding error: Returned values aren't valid, did it run Out of Gas? You might also see ...
Shahbaz's user avatar
  • 11
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
1 answer
139 views

Right now I'm getting a weird error, I'm trying to convert an object to a string and I get this type error. const x = await web3.eth.getTransaction(tx); console.log(x); ^ ...
Teyrox's user avatar
  • 315
0 votes
0 answers
116 views

const BN = window.BN || solanaWeb3.BN; if (typeof window !== "undefined" && typeof window.Buffer === "undefined") { window.Buffer = { from: (data) => new ...
goog gagga's user avatar
0 votes
0 answers
212 views

I'm working on an integration with PancakeSwap using Java and Web3J. All my tests were conducted on BSC Testnet. After conducting some research, I used the UI to perform a transaction that went ...
Fife's user avatar
  • 1
1 vote
0 answers
173 views

I'm building a React app with Solana wallet integration and experiencing a persistent issue where transactions are successfully sent (I get a valid transaction signature), but they never confirm on-...
Guy Fernando's user avatar
0 votes
0 answers
39 views

how are you? I'm trying to do a Swap Input Exact, and I'm generating the hash and spending gas, but the tokens are not being swapped. This is a hash that was generated, but no tokens were swapped: ...
João Denari's user avatar
0 votes
0 answers
127 views

I am developing a trading bot on Liquidlaunch. Also I can see the APIs on Liquidlaunch Document { "signature": "0x...", "signedMessage": { "sender_address&...
JwCwn's user avatar
  • 48
2 votes
0 answers
69 views

I wanted to get a quote for WETH/USDC using ether on testnet(sepolia). To the best of my knowledge being a newbie in web3, I think my code looks decent but when I try get the quote I get an error. I ...
Samuel's user avatar
  • 29
0 votes
0 answers
36 views

I am tired of contant getting error below. Each time I am truing to call a method from a NodeJS app that works on Debian 11, it causes it. I can call this method directly from REMIX and from the ...
Uland Nimblehoof's user avatar
0 votes
0 answers
160 views

I am currently creating a web3 staking app for a solona blockchain token in reactjs. how can I get balance of a specific token? I can only get the balance or sol balance of the wallet not the specific ...
Geofrey's user avatar
0 votes
0 answers
71 views

I am working on a simple project, I'm using React v4 SDK , and everything runs fine, I'm able to connect the wallet and read data from the user's wallet. But when I set up the web3 button to sign a ...
yahdielo's user avatar
0 votes
1 answer
114 views

I'm trying to incorporate gun web3 library into my Angular app, but I'm running into the following error: [vite] Internal server error: Cannot find module './lib/text-encoding' Require stack: I'm ...
Aethillium's user avatar
-1 votes
1 answer
177 views

I developed a website using Next.js, Tailwind CSS and Blockchain, and everything works perfectly on localhost. However, after deploying the site on Vercel, the layout is completely misaligned, and ...
HIMESH POTNURU's user avatar
-1 votes
1 answer
108 views

I am trying to build a Telegram Bot where a user can track DEX Swaps that occur on particular wallets, on multiple chains. I have noticed that different DEXs deal with Swaps differently, and, from ...
Brandon Haynes's user avatar
1 vote
1 answer
332 views

I am currently trying to fetch the tokens which are created by user on solana. so i came to helius, i am using Helius to fetch all assets i need only token which are created by user not the NFTs, so i ...
Prabhat kumar's user avatar
3 votes
2 answers
818 views

Dear smart contract front-end developers, As you know, AppKit is the new verion of Web3Modal. I am using it in a web javascript program to show a dialog to connect the web page to the desired wallet. ...
Alireza Zojaji's user avatar
0 votes
0 answers
52 views

I have a typescript function that receives signedTx hash as parameter and tries to call web3.eth.sendSignedTransaction(signedTx). In case signedTx is wrongly formatted, an error is thrown by web3.js. ...
kursatba's user avatar
0 votes
0 answers
332 views

I am trying to get the estimated gas for the approval of a token. I am getting the error can not estimate gas.Below is my code const estimatedGas = await provider.estimateGas({ ...
Shehryar Tanoli's user avatar
0 votes
1 answer
139 views

I'm new to this field, so excuse me if it's a basic question with misunderstandings. I'm thinking of letting a user authenticate an account using solana. To this end, I can sign a message like this: ...
Solaris's user avatar
  • 113
0 votes
1 answer
158 views

I'm working on USDT executeMetaTransaction so that user can perform gasless transaction. But I'm getting Signer and signature do not match error. Following is how I sign the transaction : const ...
Mr. Engineer's user avatar
  • 3,525
-1 votes
1 answer
70 views

Can anyone guide me on how to store a provider in Redux and make it persist, given that Redux doesn't allow storing non-serializable data. My use case involves using Web3Auth for Google login, which ...
Shayan Jamil's user avatar
0 votes
2 answers
415 views

My ultimate goal is to get the current price in ethereum of a token. To do this, I was using etherscan's api to get the contract ABI and then using the ABI and token decimals, get the current price of ...
xampL's user avatar
  • 29
2 votes
0 answers
51 views

I am trying to call a function from my contract with ethers.js v6 but facing some problems. This is my code. const gasLimit = await contract.writeResult.estimateGas(args); const { gasPrice } = await ...
code gp's user avatar
  • 21
1 vote
1 answer
66 views

I am trying to use web3 in React but keep running into nth-check vulnerability when I try to install web3 packages. After googling I realized that this has been a common problem and can usually be ...
Zieac's user avatar
  • 111
1 vote
0 answers
45 views

The Infura Gas API response for bnb net : { "low": { "suggestedMaxPriorityFeePerGas": "4.7", "suggestedMaxFeePerGas": "4.7", "...
Daud Khan's user avatar
1 vote
1 answer
2k views

I’ve been developing a React app that connects to a TON wallet and allows sending tokens over the TON network. By default, it sends TON to the receiver’s wallet, but I want to modify it to send USDT ...
Muluken M's user avatar
1 vote
1 answer
42 views

I'm encountering an issue with my getAllShipment function in my JavaScript code. The function is intended to fetch and map shipment data from a smart contract. However, I'm seeing that only the first ...
ALISHA REDDY's user avatar
0 votes
0 answers
299 views

I use NextJs to develop web3 app. But I have a problem when using @irys/sdk, I have trouble "ReferenceError: nodeCrypto is not defined" I realize that it works without no errors when I run ...
Hoàng Đức Bách's user avatar
0 votes
0 answers
17 views

I am trying to make a dApp for real estate marketplace. I was using "ethers" 5.7.2. Everything was perfectly fine. In the various categories screen, the properties data of various properties ...
Harsha Kumar's user avatar
1 vote
1 answer
42 views

I am studying Stephen Grider's course on Ethereum & Solidity. The code looks like this where I am trying to get some test accounts with ganache. const assert = require('assert'); const ganache = ...
deep's user avatar
  • 109
0 votes
0 answers
333 views

Hello how can i calcul amountOut of a swap on solana raydium please ? This is the code i try : const poolInfo = await Liquidity.fetchInfo({ connection: raydiumSwap.connection, poolKeys: poolKeys, ...
forexmp45's user avatar
0 votes
1 answer
32 views

const [inventory, setInventory] = useState('') let web3 useEffect(() =>{ getInventoryHandler() },[inventory]) const getInventoryHandler = async () => { try { ...
Mr.Htun's user avatar
0 votes
2 answers
1k views

I am trying to do a simple swap on Solana block chain and I have tried both Alchemy and Quicknode but the success rate of my swap is very low.. 2 out of three times it fails and I cant even figure a ...
Jawad Liaqat's user avatar
-2 votes
1 answer
43 views

I am new to blockchain development. I am facing one issue in deploy.js, while running npx hardhat run src/backend/scripts/deploy.js --network localhost ideally, it should show something like Deploying ...
Manav's user avatar
  • 1
2 votes
1 answer
1k views

I'm using Laravel and trying to work with Solana block chain When I try to generate a wallet address I got the address right but the private key is not formatted correctly This is my function below ...
Mustafa Hashim's user avatar
1 vote
2 answers
625 views

I am following this Circom tutorial to compile a simple circuit. Here is my code: pragma circom 2.0.0; template Multiplier2() { signal input a; signal input b; signal output c; c <== a*b; } ...
Chol Park's user avatar
-4 votes
1 answer
72 views

When I attempt to import web3 in NodeJS enviroment while on the project directory I get undefined error. > const { Web3 } = require('web3'); undefined > const web3 = new Web3('https://eth-...
Ahmed B's user avatar
  • 45
0 votes
0 answers
53 views

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
  • 45
-1 votes
1 answer
66 views

Got error while deploying smart contract in Hedera Hashgraph using local relay. Hi, I'm trying to deploy a smart contract in Hedera Hashgraph using web3.js. We are running a JSON RPC relay in an EC2 ...
Valli Nayaki Chidambaram's user avatar
0 votes
1 answer
98 views

From this documentation I got code. I did not changed anything. But despite that I am not able to run Metamask. Error is under the code. I try to enable Metamask and show account but something get ...
Mirek's user avatar
  • 31
0 votes
1 answer
61 views

` I am working on a web project using HTML and Bootstrap, but my content is not displaying in the browser.Here is my code: ` let str = "" for (let item of r.articles) { str = ...
Yadnyesh-Dashpute's user avatar
3 votes
1 answer
341 views

i'm trying to listen to the ethereum chain for transactions on my usdt erc20 wallet address, using node.js and web3. Whenever usdt is sent into my wallet address, i intend to log the amount recieved ...
Anything figures's user avatar
0 votes
1 answer
223 views

I'm working on a nextjs (13) project where I'm using ethers.js (V6) to interact with my Ethereum smart contract. I'm trying to mint an NFT by calling the safeMint function from my contract, but I keep ...
Mouza AlShehhi's user avatar
1 vote
0 answers
132 views

I am correctly grabbing the ABI as I have confirmed it is the same on etherscan. I am also getting the transaction[input].hex() correctly which displays the hex of the input I am trying to decode. Can ...
xampL's user avatar
  • 29
0 votes
1 answer
870 views

I have a transaction in which I know the hash of. It was a swap to sell a token using Uniswap. I am trying to find the amount the wallet received in ETH within the transaction object. To my knowledge, ...
xampL's user avatar
  • 29

1
2 3 4 5
47