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
4
votes
1answer
231 views

How to configure the sealer account for a private Clique PoA network in Pantheon

Pantheon is the new Java-based Ethereum node targeting the enterprise setups. I am trying to get my geth clique private network running on pantheon, but since pantheon has no account management, I am ...
4
votes
1answer
94 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.
3
votes
2answers
125 views

Does Hyperledger Besu support Plasma?

Does the Besu client support Plasma? I guess this question could also be asked about other clients such as Geth and Parity as well.
2
votes
1answer
63 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 ...
2
votes
1answer
46 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 ...
2
votes
0answers
29 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 ...
2
votes
0answers
47 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 ...
2
votes
0answers
512 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 &...
1
vote
1answer
310 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" ...
1
vote
1answer
48 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 ...
1
vote
1answer
101 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 ...
1
vote
1answer
268 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.
1
vote
1answer
16 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, ...
1
vote
0answers
29 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 ...
1
vote
0answers
13 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 ...
1
vote
1answer
60 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 ...
1
vote
0answers
65 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/...
1
vote
0answers
73 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/...
0
votes
1answer
83 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 ...
0
votes
1answer
173 views

Scaling Solutions For Hyperledger Besu? [duplicate]

Plasma is a layer-2 scaling solution but it seems to be not very effective , are there any other ethereum scalability solutions that are efficient and can be applied to enterprise use cases alongside ...
0
votes
0answers
22 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 ...
0
votes
0answers
20 views

How to mine only on transaction or reduce the disk storage used by HyperLedger Besu IBFT 2.0?

I have been following the tutorial for creating a private IBFT 2.0 network using Hyperledger Besu. The issue is that the blocks are created every 2 seconds and many blocks are created with no ...
0
votes
0answers
13 views

Time to sync a FULL Besu node?

How long does it take now in August 2021 to sync a FULL besu node?
0
votes
0answers
19 views

In a zero gas fee besu networ, when the user make a transfer thru metamask, will there be any gas fee charged?

I deployed a besu network with gasprice:0 in the truffle-config.js file. when the user make a transfer thru metamask, and put in a gas price greater than zero , will there be any gas fee charged?
0
votes
0answers
16 views

where is the ethereum-besu log file getting created

how do I see the logs besu java code write? I see log.{statements} in the code, but cant figure where the log file is getting created
0
votes
0answers
17 views

Apply a specific kind of transaction fee on a no-gas-fee besu network

How can I apply some kind of transaction fees on a no-gas-fee(besu) network. do we need to edit the java code?
0
votes
0answers
60 views

Blacklist and Whitelist of Smart Contracts in Permissioned Ethereum networks

What are the existing solutions to blacklist and whitelist smart contracts in Permissioned Ethereum networks? We are using Hyperledger Besu.
0
votes
1answer
54 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 ...
0
votes
0answers
14 views

Can't invoke a method in a public contract from another contract inside a privacy group using web3j

This is the contract that resides in a privacy group: pragma solidity 0.7.4; import "./Coin.sol"; contract PrivateTransfer { Coin coin; constructor(Coin _coin) { coin = ...
0
votes
1answer
61 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 ...
0
votes
1answer
139 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 ...
0
votes
0answers
123 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 ...
0
votes
0answers
47 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 ...
0
votes
1answer
291 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 ...