Category "blockchain"

Is Bitgert the fastest and scalable blockchain ecosystem ever?

Recently I happened to know that Bitgert will be the future of ideal blockchain network because it's the fastest and provides zero-gas fee. Is this true? Bitger

How to get right msg.sender calling from contract instance a.foo() and have all secure from 3rd parties

I got stucked in thoughts guys and I need bit of clarification to move it forward. (Description is about real problem, code is for best (I hope so..) understand

How to convert string to bytes8 in solidity?

I get string parameter in the function, and the length of the parameter is less than 8. and I want to convert this parameter to bytes8 for saving in the array.

Ethtx tasks can be used with webhook jobs

I would like to know if ethtx tasks can be used with webhook jobs. I tried to run the job from the operator UI and it returns an internal server error, when I l

Environment variables in canisters (ICP)

how can I inject an env variable secret inside a main net deployed canister? And also how is my secret protected against everyone else on the chain? Thx

Compiling AggregatorV2V3Interface leads to TypeError: Interfaces cannot inherit. interface

SOlidity course: Brownie Fund Me Lesson 6: https://github.com/PatrickAlphaC/brownie_fund_me Compiling AggregatorV2V3Interface leads to TypeError: Interfaces can

I am getting "AssertionError: Expected transaction to be reverted with Username " when I am testing my solidity code

When I am running npx hardhat test on the below smartcontract I am getting AssertionError: Expected transaction to be reverted with Username is taken please try

Filter NFT's in wallet by metaplex candy machine id

Is there any way to filter a users wallet by metaplex candy machine id? I know how to get all of a users nfts via getParsedTokenAccountsByOwner. const tokens =

Transaction Error invalid BigNumber string (argument="value", value="1.2e+21", code=INVALID_ARGUMENT, version=bignumber/5.5.0)

Hello i have a problem on string bignumber when transfering morthan 1000BUSD this is my transfer code,, i dont know what problem i hope someone help me thanks c

How do I accurately convert ETH to WEI when sending transaction?

I am trying to send ETH from one account to another but the conversion from ETH to WEI keeps giving me headaches. In this case, I am trying to send 0.11 ETH but

How to authenticate with Blockfrost.io API?

So I'm trying to import Cardano Blockchain data like address balance, amount staked, rewards etc into a Google Sheet. I found this project named Blockfrost.io w

BitQuery wrong data/not real time

Hi I started playing with BitQuery graphql to see if it would help me with querying blockchain data. I love the idea of single API for most of the blockchains.

Failing tests -> Cannot read properties of undefined (reading 'rpc')

I was writing a test in TypeScript for Adding two numbers. I am receiving the following error: Adds two numbers: TypeError: Cannot read properties of undef

TypeError: Unknown file extension ".ts" in a Solana Anchor project

I got this error after updating Solana-cli to 1.9.4 and Anchor-cli to 0.20.1 and other local npm versions... Local npm package: @project-serum/anchor 0.18.2 Sol

ethers.js Contract object gets error: Uncaught TypeError: Cannot read properties of undefined (reading 'map')

I hope someone can enlighten me. I have a website with a button which should create a new Contract object of my token contract via the ethers.js library. I succ

Solana. Need to export all addresses from the blockchain to the DB

I found a way: https://docs.solana.com/developing/plugins/geyser-plugins OR https://github.com/solana-labs/solana-accountsdb-plugin-postgres But for this need t

How to set up block chain locally

I have created a app to make transactions of money from one account to other, for that we have created a ledger table in mysql which runs in my local host very

Get all NFTs of an Account on Flow Blockchain

Can I get a list of all NFTs to an account on the Flow Blockchain? There is account storage and the documentation says ...Cadence represents each NFT as a reso

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