Category "blockchain"

'export' in VS code show problem statement "Declaration or statement expected." and cannot find name 'WEB3_INFURA_PROJECT_ID' and 'PRIVATE_KEY'

I am trying to create a ERC20 standard token using VS code by following a Youtube video https://www.youtube.com/watch?v=8rpir_ZSK1g . Until I reached the .env f

Error: Could not identify the intended function with name 'swapExactTokensForTokens'

I'm trying to swap tokens using swapExactTokensForTokens() (Pancakeswap Router function), web3 imported in Python. Here's my code and error below. Please be spe

How to create a ZkSync account?

The ZkSync documentation states that a deposit has to be made from an existing Ethereum account to a non-existing ZkSync account counterfactually in order to cr

How to download ganache on windows?

I've been trying to download ganache on my windows machine, but I keep getting a 'failed authorization' error message.

No matching declaration found error in Solidity

The code I have: function approveRequest(uint256 index) public { Request storage request = requests[index]; require(approvers[msg.sender]); require

I am getting an error while installing Truffle on windows. Does anyone know how to fix this

This is the error I was getting while installing truffle through nom -g install truffle. Does someone knows how to fix this issue and also got error after insta

Import web3 not found... in solana web3.js

I npm installed everything, yet only web3 is not working? Is this a bug or is there an alternative to this solution? import React,{useEffect, useState}from 're

fabric invoke chaincode error: Failed to get endorsing peers: no endorsement combination can be satisfied

I have set up my fabric network with 3 orderers in one organization and a consortium with 5 organizaitons successfully. Each organization has only one peer node

Corda check session.send/receive completeness

I am currently creating some custom flows, sending back and forth some data through the session. I noticed that in some cases (for example if a responder flow h

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

How can I solve 404 issue using the OpenSea JavaScript SDK?

I am trying to use OpenSea API with the JS SDK. I am getting two types of errors. One is a deprecated warning. Another is a 404 error. This is the error I am ge

How to remove Smart Contract in NEAR Protocol?

I am new to blockchain and Near Protocol. I have created 2 smart contracts on Near Protocol. The first one was successfully done but when I try to deploy the se

there is a problem in the gas requirement

I have been written a smart contract, I am trying to execute the following code but I have these problems: 1- "Gas requirement of function EKM.register_PK is in

Near Protocol, Smart Contract

When I run the command yarn build:release i get the error "command not found: asb" enter image description here

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,

ethers can't get pure function return value

I built a test solidity pure function to display a greeting message. It only returns a string "Hello User". Here is the contract code: //SPDX-License-Identifie

window.solana not found on js web3

I want to connect a Solana wallet (phantom or any other) to a web aplication through the js web3 library. I've read docs for most wallets and it seems like it's

.balanceOf is not a function - Interact with existing Contract on Blockchain

I want to automate my staking on The Sandbox. For that I need in the first step to interact with the mSand-Matic Pool Contract. It is this one: https://polygons