Questions tagged [ethereumj]

For questions regarding the installation or use of EthereumJ, a Java library that implements the Ethereum protocol.

202 questions
5
votes
3 answers

How to convert ETH ethereum transaction value to decimal in javascript

Example value: 0x2c1c986f1c48000 from: here Expected value back: 0.19866144 Eth
Sunny
  • 295
  • 3
  • 8
3
votes
1 answer

Virus scan shows 6 chaindata files infected, when quarantined, node can't be found

3+3 backups but when left alone ETH runs fine v0-8-1, tried to redownload same problem, what to do? Description=ANAPHYLAXSIS
b glen
  • 223
  • 2
  • 9
3
votes
1 answer

How to create an account in ethereumj

How to create an external account ( personal.newAccount()) equivalent in the ethereumj ? I know I could use the jsonrpc api to do so ? But I read https://github.com/ethereum/ethereumj/issues/335 , which says it could create an account, but it could…
Abhiram mishra
  • 1,922
  • 1
  • 13
  • 23
3
votes
1 answer

Inserting into Ethereum with ReactJS

I have ReactJS working to read data from my blockchain but I cannot update the blockchain. Here is my code to read the blockchain which works - var reviewContract = ETHEREUM_CLIENT.eth.contract(reviewContractABI).at(reviewContractAddress) var…
Trevor Lee Oakley
  • 2,327
  • 2
  • 19
  • 48
2
votes
1 answer

EthereumJ: Private Network: How to I set my sender account?

I'm currently using EthereumJ and I'm trying out a use case to send an amount to a specific account in my own private chain. But I'm getting this error: Not enough cash: Require: 14000000000000001, Sender cash: 0] I've written some basic codes and…
Ng Zhong Qin
  • 305
  • 1
  • 2
  • 7
2
votes
1 answer

way to access member value of a contract from a node created by other node

I have a contract code which have getter and setter method. I have written a java main class which done followings TransactionReceipt receipt = sendTxAndWait(new byte[0], Hex.decode(metadata.bin)); byte[] contractAddress =…
2
votes
2 answers

How to transfer ether from one account to another using EthereumJ

For testing purpose in test network we are creating account dynamically using ethereum java (EcKey). I have an account that contains enough ethers. How can i transfer ether from the source account to the account newly created using ethereum java.…
madhan siva
  • 581
  • 1
  • 4
  • 8
2
votes
1 answer

Using ethereumj to evaluate contracts off chain

Is it possible to take a contract from the main ethereum blockchain and used that on my private ethereum network with ethereumj? What I want to do is, run a contract with some input without changing the blockchain and spending gas. Any clues?
berrytchaks
  • 123
  • 7
1
vote
0 answers

Configure EtherumJ with Redis

How do you configure the host/login/password of Redis to use with Ethereumj. in ethereumj.conf, I have the values: # Key value data source values: [leveldb/redis/mapdb] keyvalue.datasource = redis # Redis cloud enabled flag. # Allows using…
Eric V
  • 111
  • 2
1
vote
1 answer

Smart Contract Application in ASP>NET

I just have started to learn Smart Contract. I have to design front end in ASP.NET. Can I call Contract from it?
1
vote
0 answers

How to run private node on EthereumJ

I would like to run a private node on EthereumJ. I don't know how to start mining on EthereumJ and how to start EthereumJ node. I will be very grateful if someone tell me where to start looking (documentation or code) in EthereumJ.
1
vote
0 answers

How do I parse filter log in ethereumj

As mentioned in this link How do I parse the transaction receipt log with web3.js? it works fine for web3 js but how do i parse in ethereumJ. Event tracking and decoding from ethereumj I believe it explains about topic and its encoding/decoding…
madhan siva
  • 581
  • 1
  • 4
  • 8
1
vote
0 answers

Possible ways to search Blockchain using ethereum-java api based on input/output parameters supplied as part of any transaction?

Although we know ethereum-java provides required api support which facilitate us to identify any block or transaction from Blockchain based on either block number or hash of transaction id. Do ethereum-java supports to execute search based on…
madhan siva
  • 581
  • 1
  • 4
  • 8
1
vote
0 answers

Ethj spring boot blockchain transaction app error the method subscribe is undefined for the type object

package org.web3j.web3jspringbootstarter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import…
1
vote
1 answer

Correct way to calculate Gas Price and Gas Limit using offline mode in ethereumj

Please help me to understand the correct way to compute Gas Price and Gas Limit using offline mode in ethereumj. I have been using EtherScan's API eth_gasPrice and eth_estimateGas as of now. Just wanted to understand if there is a better way of…
Karan
  • 11
  • 1
1
2