I'm building a decentralized application where users can connect their cryptocurrency wallet (Metamask) to my website. They can initiate a connection request by
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
I am trying to call Uniswap's Router's function swapExactTokensForETHSupportingFeeOnTransferTokens(). When I enter the values manually on etherscan, it goes thr
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
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
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
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
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
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
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
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
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
I am attempting to broadcast a constructed transaction for rinkeby. Web3 seems to always return errors, sometimes for insufficient funds for gas * price +
// constants import Web3EthContract from "web3-eth-contract"; import Web3 from "web3"; // log import { fetchData } from "../data/dataActions"; const connectReq
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
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
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
Solidity code: pragma solidity ^0.5.8; contract remainNew{ address public owner = msg.sender; uint public cubeCount = 0; modifier onlyBy(addr
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
I tried to send a request to my contract using ethersjs like this: const web3Modal = new Web3Modal() const connection = await web3Modal.connect(