Category "web3"

Is there any way to initiate a disconnect request to the Metamask wallet?

I'm building a decentralized application where users can connect their cryptocurrency wallet (Metamask) to my website. They can initiate a connection request by

Issue with Web3.js, try to call he contract to see the state

Hi everyone! I tried to make a call to the state of a contract developed on truffle, using web3.js in React, the problem is this, when I try to see the price of

ValidationError on smart contract function call for no apparent reason(web3py)?

I am trying to call Uniswap's Router's function swapExactTokensForETHSupportingFeeOnTransferTokens(). When I enter the values manually on etherscan, it goes thr

sendSignedTransaction: Invalid sender error on Quorum

I am trying to call a method on a Smart Contract on a node app using an account that I create from a private key using web3 on a private quorum blockchain. I am

sendSignedTransaction: Invalid sender error on Quorum

I am trying to call a method on a Smart Contract on a node app using an account that I create from a private key using web3 on a private quorum blockchain. I am

NFT List Prices

OpenSea allows users to buy and sell NFTs. From OpenSea, you can view the prices of listed NFTs within a project. When an NFT is listed, is the listed price sto

RPC Error - valid string HTTPs rpc in Metamask

In my project, I tried to connect with metamask on Ganache. But I got the error like the following. inpage.js:1 MetaMask - RPC Error: Expected an array with at

from field must match key's x, but it was y

I write the code below. It seems it has a problem with the "signed_txn = w3.eth.account.sign_transaction(transaction, private_key=private_key" part. I face to t

how to make discord bot to get user eth address and store them in database?

i need to make a very simple discord bot to verify and show eth address and show which user it belongs too. Need to associate a verified eth address for each m

How to transfer custom SPL token by '@solana/web3.js' and '@solana/sol-wallet-adapter'

Hello I am trying to transfer a custom SPL token with the solana-wallet adapter. However i am having trouble getting the wallet's secret key/signing the transac

Web3 contract call is always returning null

I am trying to connect to a smart contract deployed using Truffle. I am using Web3 from a React app but when I make a call to any of the contract functions I al

swapExactTokensForTokens ignore amountOutMin parameter

In the token swap I am receiving less amount of the output token than that indicated in the parameter "amountOutMin". This is expected, because the token that I

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(