I am getting this error: Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the
I am currently using a public RPC URL to interact with smart contracts on a Ethereum-forked blockchain. I would like to understand if there are any limitations
When I type a wallet address and press the Save button I want to show a Metamask sign in popup to that wallet. for now, It's just randomly connects with the sel
i have issue on web3.eth.defaultAccount = web3.eth.getAccounts(); below is the code. it said Uncaught (in promise) TypeError: Cannot read properties of undefine
I would like to send a transaction to the binance smart chain (BSC)that will buy an NFT for a crypto integrated game. I've looked at their contract to figure ou
Good day everyone, I am working on a lottery smart contract. I am currently done with the remix VM tests and proceeded with the unit tests with JavaScript. The
I built a test solidity pure function to display a greeting message. It only returns a string "Hello User". Here is the contract code: //SPDX-License-Identifie
I want to automate my staking on The Sandbox. For that I need in the first step to interact with the mSand-Matic Pool Contract. It is this one: https://polygons
I am trying to run web3.js from HTML. Now so far I have been able to call window.solana.connect(); and window.solana.disconnect(); functions. However when I try
I've created a brand new project with npm init vite bar -- --template vue. I've done an npm install web3 and I can see my package-lock.json includes this packag
I have a simple ERC721 smart contract used for testing purposes, I was wondering if it is possible to query the token IDs a specific wallet owns in that smart c
The openzeppelin codes of ERC20 token give error in deploying directly. Even after flattern the codes, i am unable to select contract MyToken out of many contra
so yea I tried to get all the transactions of a wallet address on a certain token contract. But it keeps on returning null. const Web3 = require('web3') const
I am new to Web3 and I am trying to create a react app integrated with web3. Below are the steps I followed in Ubuntu. create-react-app app_name cd app_
Basically I am running these commands: var blocknumber = await web3.eth.getBlockNumber(); var transaction = await web3.eth.getTransactionFromBlock(blocknumber,
I'm learning Solana API on ReactJS. After generating a keypair you can recreate the same keypair with the secretKey. How can I save this keypair? I'm using reac
Please I would like to know how I could get only transfer event of BNB on BSC using web3.js Objective: Each time a user makes a BNB deposit to an address on my
I am trying to create a 3d model viewing website for various student projects. Currently pulling from the 3js library to reference OBJs and MTLs on server. The
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'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