Category "ethereum"

use TransferFrom in solidity smartcontract ( ERC-20 )

I Need to Write a Smart Contract, In This Smart Contract User Can Send Token to Each Account in ERC-20 Network. sender :0x5C2879Ec550e2F65D557b540B7DEAB3A6d478d

Ethers.js returns the same wallet address even if I switch accounts

I'm using Ethers.js to allow users to connect their Metamask wallets to my app. Here's the code that I have: import { ethers } from "ethers" async function con

MetaMask RPC error? 'MetaMask - RPC Error: Internal JSON-RPC error.'

I'm developing the front-end to an application that I'm trying to test. However, MetaMask keeps giving me this error? I tried changing the gas limit like previo

Is there a way to fetch transactions history on a specific contract using chainlink?

Here is my use case I have a smart contract that emit an event . I am new to chainlink , so my question if someone know how I can track that event history with

EVM command line interface drops heading zeros in input

I am executing a dummy (smart) contract through the evm command line to understand how input is passed to the contract. I am using the following contract byteco

@metamask/eth-sig-util" buffer isn't defined?

I'm trying to encrypt some data using MetaMask's public key for encryption (https://docs.metamask.io/guide/rpc-api.html#unrestricted-methods). However, on page

Solana program to send multiple lamport transfers and emit event

I’m building a program intended to manage multiple payments with one call. The program needs to complete the following steps: Accept a certain amount of l

BSC Testnet addLiquiditiyETH TRANSFER_FROM_FAILED

I'm coding an bep20 token and if I want to add Liquidity with pancakeswap I get the following error: ProviderError: Error: VM Exception while processing transac

Member "team1Score" not found or not visible after argument-dependent lookup in type (contract Game) - Solidity

I'm on a course and have run into a problem. I am trying to make a function that shows the difference in team score from the perspective of the team in the vari

Do I need to supply the branch node if I don't need the value in it in a Patricia tree?

For example, in this PATRICIA tree, if I want to prove that the key 'fc' has no value mapped to it, should I bring up the branch node stored the data value &ld

How to verify message in wallet connect with ethers primarily on ambire wallet?

I am trying to sign a message with wallet connect using ethers, but I am facing an issue when verifying the message with ambire wallet, it's not returning any r

brownie AttributeError: 'NoneType' object has no attribute 'getEntranceFee'

Macbook Pro : Monterey Intel Core i7 Brownie v1.17.2 I am learning solidity according to reference(https://www.youtube.com/watch?v=M576WGiDBdQ&t=25510s). Wh

I am prepared permit EIP712, but tx "Reverted", function selector 'Reverted 0x08c379a

I'm trying to send a permit for a transaction, but I get a function call mismatch return if I call through the smartcontract token function. If I call via encod

Does Ethereum JSON-RPC have rate limits

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

Error: PollingBlockTracker - encountered an error while attempting to update latest block: undefined

I'm trying to develop DApp on polygon blockchain. Basically I'm minting NFT but after few mints I get this error. It even happens when I don't mint NFT. Here is

Does a Bitcoin block stores the corresponding dollar value of a transaction?

I am asking this question so that I want to easily know how many transactions occurred at a particular Bitcoin price. For example, at the price of $20T per BTC,

Uncaught TypeError: web3 is not a constructor. the blockchain website cannot connect to metamask

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

Can't verify ERC20/BEP20 token on BSCScan

I deployed an ERC20/BEP20 token on binance smart chain using truffle and openzepplin. Now I want to verify this smart contract but I have some issues. $ truffle

Web3py merkle tree support

I am trying to implement a merkle tree just like merkletreejs but python does not have any good libraries that support keccak256 and sorted keccak256 trees. Doe

Integrate Login and Signup with Meta mask in ASP.NET MVC?

I want to Integrate Login and Signup with Meta mask in ASP.NET MVC. looking for it for so long. Checked Metamask tutorial but it has code in node.js and the lib