Category "blockchain"

How much would cost Ethereum transaction sending ERC20 token to N recepients?

I want to make an ERC20 token that supports virtual mining. That means that in my Smart Contract I want to make the rule that every K seconds, it sends X amount

How much would cost Ethereum transaction sending ERC20 token to N recepients?

I want to make an ERC20 token that supports virtual mining. That means that in my Smart Contract I want to make the rule that every K seconds, it sends X amount

How to run Docker on an external USB hard-drive in Ubuntu 21.10?

I am trying to run the following command in Ubuntu 21.10 with Docker so that it will run on my external USB hard-drive: sudo docker run -v /media/alexanderjsing

Account vs Block in Blockchain Solana

What is the difference between an Account and a Block in Solana Blockchain technology? As per solana docs, Block: A contiguous set of entries on the ledger cove

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