Category "web3"

insufficient funds for gas * price + value

I am attempting to broadcast a constructed transaction for rinkeby. Web3 seems to always return errors, sometimes for insufficient funds for gas * price +

Minting dapp does not Connecting to metamask app on mobile?

// constants import Web3EthContract from "web3-eth-contract"; import Web3 from "web3"; // log import { fetchData } from "../data/dataActions"; const connectReq

CATCH ERROR: NOK: Transaction not found with hash: With codeSTACKr's NFT art generator

I am trying to create a NFT Collection. But I am facing issues. I am using https://github.com/codeSTACKr/create-10k-nft-collection When I run npm run get_contra

How to connect to a deployed Polygon testnet contract?

I have a front-end / web3 application that connects to a deployed contract in the rinkeby ethereum networt. That is possible with the Web3 library, and creating

Tried npm install -g truffle but getting this gyp error

I tried npm node-gyp -g but it didn't help. I am trying to install truffle in my mac. I am using mac os Catalina, node version 16.13.1, and npm version 8.1.2 np

Web3 Cannot get value of a public variable from contract

Solidity code: pragma solidity ^0.5.8; contract remainNew{ address public owner = msg.sender; uint public cubeCount = 0; modifier onlyBy(addr

Integrating MetaMask with Flutter Mobile Application

I want to add feature in my mobile app to send ether from one address to another address and for this I need to integrate metamask with my flutter mobile applic

ethers js exits with this error=> invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.5.0)

I tried to send a request to my contract using ethersjs like this: const web3Modal = new Web3Modal() const connection = await web3Modal.connect(