Category "blockchain"

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

Solidity Error: member balance not found or not visible after argument-dependent lookup in contract

I'm getting this error in Solidity for the following code snippet: member balance not found or not visible after argument-dependent lookup in contract functio

ERROR: brownie.exceptions.RPCConnectionError: Able to launch RPC client, but unable to connect

The ganache-cli is unable to connect to the mainnet fork, as a result of which I can't run brownie test --networks mainnet-fork My test.py file looks like this:

ParserError: Source file requires different compiler version (current compiler is 0.8.7+commit.e28d00a7.Emscripten.clang)

I was eventually trying to run this code in remix IDE, where I was running this using 0.6.6 version of Solidity and ran into this error. I've tried using some o

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

how to get transaction history from blocks via web3?

I have a private chain now and I want to query the transaction histories.I know that web3 has provide those methods web3.eth.blockNumber/web3.eth.getBlockTransa

Uniswap swapExactTokensForTokens is making the transaction but not swapping between the coins

I'm trying to implement a basic swap between 2 coins, using ethers, but without success. I get success: https://ropsten.etherscan.io/tx/0x9d09a50143f8e1ec1c72b1