Category "blockchain"

where has geth fast-sync mode gone?

I'v read several articles about geth full sync mode which can be enabled by --syncmode full option. But why am I getting error unknown sync mode fast want full

How to concat two string values in Solidity

Concat two or more string values- pragma solidity 0.8.9; contract StringConcatation{ function AppendString(string memory a, string memory b) public pure re

TradingView Timezone Setting Issue

For now, I'm making a trading website for trading some tokens. But there is one issue in the time zone setting. The year of the mouse focus label shows the inc

Hierarchical organizations in Hyperledger fabric

I want to create fabric network in which the organizations are forming hierarchy i.e. At the top there is District Organization under that the two organizations

'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