What path should I give for credentials in web3j?

0 votes

I am using the readme guide https://github.com/web3j/web3j. What I am interested is developing smart contracts from my host with java + web3j to private ethereum network which runs on my virtual machine. 

I want to  know how should I create this wallet? Should I generate account on my VM and then copy wallet.json file to my host?

Jun 26, 2018 in Blockchain by Johnathon
• 9,080 points
105 views

1 answer to this question.

0 votes

WalletUtils.loadCredentials can be buggy, I would recommend creating the accounts before hand, and then you can extract the private key and use Credentials.create(privateKey) You can use the keystore file and use myetherwallet to view your private key.

answered Jun 26, 2018 by Shashank
• 10,350 points

Related Questions In Blockchain

+2 votes
1 answer

What are the wallet path credentials for Web3j?

Follow the below steps: Go to the private ...READ MORE

answered Aug 2, 2018 in Blockchain by Omkar
• 67,660 points
300 views
0 votes
1 answer

What do I import for SHA encryption in Node.js?

var sha = require('sha.js'); //... getHash() { ...READ MORE

answered Sep 21, 2018 in Blockchain by digger
• 26,550 points
101 views
+1 vote
1 answer

What is the best way to search for an item in blockchain?

All transactions and records in blockchain are ...READ MORE

answered Apr 20, 2018 in Blockchain by Perry
• 17,020 points
56 views
0 votes
1 answer

How should I set my mac for Installing Hyperledger Composer Playground?

Use the following link to install the ...READ MORE

answered Jun 26, 2018 in Blockchain by Perry
• 17,020 points
32 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
169 views
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

What could be the best term to use for the collection of contracts in a .sol file?

module - don't think so. Because module ...READ MORE

answered Jun 1, 2018 in Blockchain by Shashank
• 10,350 points
38 views
+1 vote
1 answer

What is the difference between if() and require() statement in solidity??

If() and require() have separate functions and ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,350 points
439 views