Questions tagged [besu]

Besu Ethereum Client is an Apache 2.0 licensed, MainNet compatible, Ethereum client written in Java with focus on Enterprise Ethereum adoption. Formerly known as Pantheon.

Filter by
Sorted by
Tagged with
1 vote
0 answers
66 views

How to setup the private blockchain network using Besu?

Last week, my teacher gave me a Blockchain assignment about "Deploy the private blockchain network using Besu with at least 2 Full nodes and 1 Light node". Incidentally, I found this link ...
Anh Tuấn Trần's user avatar
0 votes
0 answers
72 views

Deploy contract on Hyperledger Besu zero fees network

I have a Hyperledger Besu blockchain working on my VM with 4 nodes, built with Qorum Quickstart, using NPX. This blockchain is configured for 0 fees. (doc) I can develop, build, deploy, use my ...
louloub's user avatar
1 vote
1 answer
41 views

Null keys when using `debug_storageRangeAt`

I'm currently trying to use the debug_storageRangeAt on a Hyperledger Besu RPC to extract the contract storage. For some contracts I get the expected response which is a list of keys and values: "...
Valentín Fernández's user avatar
0 votes
1 answer
166 views

Blockscout Explorer : Issue with Smart contract Verification Service

We have successfully set up a Blockscout explorer using the docker-compose containers from the repository (https://github.com/blockscout/blockscout/tree/master/docker-compose). The explorer is ...
HF_developer's user avatar
0 votes
0 answers
34 views

Execution failed for task ':ethereum:permissioning:test' while building Gradle for Hyperledger Besu

I am trying to create a Gradle Source Build for Hyperledger besu on my Ubuntu 22.04 but the build fails when trying to create transaction emulator objects through the ...
Christos Daoulas's user avatar
0 votes
1 answer
39 views

How to connect metamask in another computerA(windows) to a private hyperledger besu in another computerB(ubuntu)

I have here a private hyperledger besu network running on my computerB(ubuntu). I wanna know how can I connect the metamask wallet on my computerA(windows) to the network in my computerB. I tried ...
Kendaichi's user avatar
0 votes
1 answer
139 views

Sirato Explorer

I am able to setup a private ethereum network using hyperledger besu in my localhost:8545. I want to view the blocks that has been added to the blockchain, any guides on how can I do this?
Kendaichi's user avatar
1 vote
0 answers
11 views

tracking Token holder throughout a value chain of product

my project is Value chain of product , so i need to track every single process in the chain of that product , from Farmer => Transportation => Manufacturer => Distribution => Retailer ...
Mohamed Khalil Rouissi's user avatar
1 vote
2 answers
86 views

Is it possible to make my own chainlink?

I'm currently building smart contracts for the supply chain of "datte". Is it possible to price my own token from an external entity "like a chainlink", so that my tokens now have ...
Mohamed Khalil Rouissi's user avatar
0 votes
1 answer
150 views

How to safely delete old Besu data to free space?

The ubutun server ran out of space and need to delete obsolete data under /database to free room. Here is a list of the output of ls command in /database subdirectory: total 16965588 -rw-r--r-- 1 root ...
user938363's user avatar
1 vote
0 answers
86 views

High block mining time even with low difficulty

We have a private network running on Hyperledger Besu. We are using ethash, and it had a fixed difficulty of 3625. That was producing blocks fairly quickly, averaging about 8-10 seconds, with some as ...
pdmoerman's user avatar
  • 131
1 vote
0 answers
24 views

Oscillating blocktime issue

I have three private blockchain networks: production development QA production and QA both have blockTime of 10 seconds and are behaving as expected. When I read their block timestamps, there is ...
Sky's user avatar
  • 2,204
1 vote
0 answers
105 views

Does Hyperledger Besu limit the amount of data in a transaction?

I need to send transactions to a private PoA Ethereum Blockchain. I know by geth source code it is limited to 128 KB: txMaxSize = 4 * txSlotSize // 128KB -> tx_pool.go file: https://github.com/...
WakiApi's user avatar
  • 33
1 vote
0 answers
27 views

How to listen only to fresh events on private besu blockchain?

Is it possible to listen only to new events by Besu plugin, and bypass events, that are coming when synchronizing a node to a blockchain? I use Log listener to listen to incoming events.
Maciej Łoziński's user avatar
1 vote
0 answers
29 views

Architectural issues of using smart contracts [closed]

As part of my master's thesis MVP, I am developing a project on the implementation of an accounting system for electronic document management using smart contracts. Now there is a question of ...
Mahoro Matic's user avatar
1 vote
1 answer
298 views

Hyperledger besu onchain permissioning error

i'm following a tutorial on how to create an onchain permissioning network with hyperledger besu : https://besu.hyperledger.org/en/stable/Tutorials/Permissioning/Getting-Started-Onchain-Permissioning/ ...
MinerNoob24's user avatar
2 votes
1 answer
147 views

how to setup hyperledger besu permissioned ethereum blockchain using docker?

Hello blockchain enthusiats, this my very first question on a forum, i'm trying to create a permissioned ethereum blockchain using hyperledger besu, i tried to use docker for that but because i'm not ...
MinerNoob24's user avatar
2 votes
1 answer
56 views

Using Hyperledger QBFT suitable for public chains?

I am thing process of creating my own public EVM network, i found the best approach available would be using QBFT on HyperLedger Besu as it is Proof Of Authority and secure for production uses. But ...
dev's user avatar
  • 21
1 vote
0 answers
45 views

How to increase OPCODE gas Price in Hyperledger Besu

I want to setup Private POA blockchain using hyperledger besu. I dont want people to deploy smart contract on the chain. I searched on google and found it some alternative solution to increase create ...
kishan's user avatar
  • 56
0 votes
2 answers
476 views

Deploy SmartContract to local Hyperledger-Besu network using Brownie

EDIT: In short, I want to use Brownie to deploy smartContracts to HyperLedger-Besu network on my local machine. For some reason, it doesn't work, so I wanted to ask if anyone here had experience with ...
Sky's user avatar
  • 2,204
1 vote
0 answers
274 views

Block capacity - Hyperledger Besu

Good afternoon, I am trying to perform a transaction capacity test on my network with Hyperledger Besu with 4 validator nodes and a time per block of 4seconds. I have created a script with NodeJS that ...
Alberto's user avatar
  • 11
0 votes
0 answers
128 views

State root mismatch error at mining genesis block

I am working on a private Besu implementation. I made some modifications to the open source package, and when I went to start a new chain instance it gives a state root mismatch error for the genesis ...
pdmoerman's user avatar
  • 131
1 vote
0 answers
28 views

Stable release of Hyperledger Besu won't compile

I cloned a fresh copy of Hyperledger Besu from the GitHub repo and when I opened it in Eclipse, it said that there are 148 errors and that the project won't compile. It also said that there are 108 ...
pdmoerman's user avatar
  • 131
1 vote
1 answer
27 views

How can we filter the incoming transactions to a node to disable smart contract deployments? [duplicate]

How can we identify an incoming transaction that has to address as 0x0 so as to stop it from being mined and broadcasted in Hyperledger Besu? Can anyone tell a way to do it like any configurations to ...
Manish's user avatar
  • 11
0 votes
1 answer
104 views

Cors Issue with Hyper Ledger Private Block chain network on Aws

I am new to hyper ledger and trying to set up a private block chain network with clique as consensus protocol. I am deploying it on a AWS Ec2 Instance. Followed these steps and initiated a boot node ...
Manzoor's user avatar
  • 11
2 votes
1 answer
431 views

Hyperledger Besu for creating accounts

I am able to setup hyperledger besu for creating private ethereum network(followed the official documents with 3 testing accounts in gnesis file) and able to connect to metamask as well. But its not ...
asha singh's user avatar
0 votes
0 answers
774 views

Error: Returned error: The method eth_sendTransaction is not supported. Use eth_sendRawTransaction to send a signed transaction to Besu

I'm using a private network for deploying smart contracts and i want to interact with the deployed contracts that i have. Soo im trying with this smart contract // SPDX-License-Identifier: MIT ...
ProtocolWhisper's user avatar
1 vote
1 answer
88 views

Mining causes nodes to stop syncing on Besu

I am trying to test my private network by running multiple nodes at one time. I am using a config file that lists the boot node as well as the same genesis file. The boot node is on a linux server, ...
pdmoerman's user avatar
  • 131
1 vote
0 answers
84 views

Read smart contract data from blockchain itself

I'm trying to figure out if it's possible to read smart contract data from the blockchain itself. I know in ordinary circumstances, smart contracts sit on top of the chain in the ledger. I'd like to ...
pdmoerman's user avatar
  • 131
0 votes
1 answer
108 views

Is there a way to burn tokens only on transfer (on every transfer)

If a transfer happens from one account to another thru metamask,how do we burn coins per transfer ? can this be done thru a contract? (using besu). Is this change in java code or can be down thru a ...
mkm's user avatar
  • 1
1 vote
0 answers
54 views

Highest known block in the peer network - permissioned ethereum network

We are starting to define the best metrics to monitor a permissioned Besu network. One important point to monitor is the block height of a node and from other nodes in order to discover if the node is ...
Suzana Maranhão Moreno's user avatar
0 votes
1 answer
132 views

web3.eth.contracts.myMethod().call() returns nothing

I'm still new to ethereum development, and when trying to execute call() on a created contract, I'm receiving varying results. Sometimes the call works, and other times it returns the error Returned ...
pdmoerman's user avatar
  • 131
2 votes
0 answers
99 views

Peers counts by bootnode and non-boot node are different

I just setup a 4 nodes Besu network 21.1.5 on a single Ubuntu 20.04 server. The peer count on boot node is 4. However it is 3 peers on all other non-boot node. Is it right that the peer counts from ...
user938363's user avatar
2 votes
0 answers
176 views

Is there any way to configure hyperledger besu to mine blocks only when there are transactions?

I have been following this tutorial: https://besu.hyperledger.org/en/stable/Tutorials/Private-Network/Create-IBFT-Network/ Everything works fine, however I can see that every 2 seconds new block is ...
clzola's user avatar
  • 191
3 votes
2 answers
294 views

How to disable deployment of smart contracts on besu private network?

Is there any way to disable creation of smart contracts on Hyperledger Besu Private Network for addresses except those that I specify? I want to create private network with zero gas fee, but no one ...
clzola's user avatar
  • 191
2 votes
0 answers
2k views

Error: Wallet has error: Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.0.17)

After enabling JWT token authentication on besu network, a connectionInfo with JWT token in headers is used to make connection to the network, instead of url. import { ContractFactory, ethers } from &...
user938363's user avatar
0 votes
1 answer
821 views

How to add JWT token in JsonRpcProvider url header when connecting to JWT enabled network?

When connecting to Besu network which enables JWT public key authentication, how to add the token to the JsonRpcProvider (ethers 5.0.8)? Here is the current code (before adding JWT token): let ...
user938363's user avatar
2 votes
1 answer
1k views

How to specify Solidity version in web3j?

I have a simple java maven project whose pom.xml looks like: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" ...
Ram Patra's user avatar
  • 141
1 vote
1 answer
187 views

Make Hyperledger Besu sync faster during DOS blocks

I am attempting to sync a full node using Hyperledger Besu and it has slowed down considerably when hitting about block 2,300,000. Geth and Parity can be made faster as this link details to sync these ...
skword's user avatar
  • 123
1 vote
1 answer
161 views

Transaction status true when sent to an address which doesn't have anything

When you create a transaction calling a function in a smart contract the transaction status is true if it's executed correctly and false if it isn't When testing in Hyperledger Besu, if a transaction ...
Enrique Alcazar's user avatar
1 vote
1 answer
554 views

Hyperledger Besu: Unable to decode the hex string returned by solidity function containing multiple values

I have set up a Hyperledger Besu network for private transactions using Orion. I am using a javascript client to write to and read data from a smart contract written in Solidity. I am following the ...
Christian Schepp's user avatar
2 votes
1 answer
92 views

Load testing Besu + IBFT2?

The context: I have a simple app that that consults historic of events frequently. It works fine on my development machine, with just a few thousands blocks. I am not sure if it will continue to work ...
earizon's user avatar
  • 596
0 votes
0 answers
320 views

How to send a transaction to Besu configured as a Free Gas Network

I have downloaded and configured Besu as a Free Gas Network (https://besu.hyperledger.org/en/stable/HowTo/Configure/FreeGas/ ). Creating transaction using Truffle works fine, but not in my application ...
tomsoft's user avatar
  • 168
1 vote
0 answers
210 views

I could not use web3.js module and perform getAccounts etc. for Consortium networks. Hyperledger Besu

const Web3 = require('web3') //var web3 = new Web3('http://127.0.0.1:8585'); var web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545')); // https://rinkeby.infura.io/v3/...
Bharadwaj's user avatar
0 votes
0 answers
56 views

What does an Ethereum Client do?

I've developed Smart Contracts using Solidity, and then created a front end for them using Web3js. I used Truffle to to get them to communicate. That's how I tried out a couple of Proof of Concepts. I ...
Parthit Patel's user avatar
1 vote
1 answer
213 views

Failed to extract secret from Hashicorp vault production mode - EthSigner - Hashicorp Vault

Working in hashicorp vault dev mode everything works fine but when I use a hashicor vault in production mode I am not able to connect ethsigner. However, i have been checkin if I can extract the ...
ARR's user avatar
  • 95
4 votes
1 answer
211 views

Why is Ethereum licensed under the LGPLv3 license?

Simple question, which I cannot answer myself. Why Ethereum have an LGPLv3 license? Bitcoin has MIT license. Thank you.
Maximi's user avatar
  • 141
1 vote
1 answer
468 views

Unable to deploy contract on Besu network(docker) using dynamic IP

I am stuck with a weird situation. I create a local Ethereum network with Hyperledger Besu in docker environment. I try to deploy contracts to a rpc node using Truffle(different container in same ...
Rajeev Ranjan's user avatar
1 vote
0 answers
127 views

Mining stops after some time in my Hyperledger-besu Private blockchain

I have been using Hyperledger-Besu's quickstart guide to build my private blockchain (with ibft2 as consensus algorithm) on an AWS instance, which basically just clones that repo https://github.com/...
Youssef Alaa's user avatar
2 votes
1 answer
458 views

How to Setup a Private Network in Hyperledger Besu?

I am looking for steps to configure hyperledger besu client for a private network of say 5 nodes.
asing177's user avatar
  • 141