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 27, 2018 in Blockchain by Johnathon
• 9,090 points
929 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 27, 2018 by Shashank
• 10,400 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
• 69,220 points
1,917 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,740 points
885 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 21, 2018 in Blockchain by Perry
• 17,100 points
1,898 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 27, 2018 in Blockchain by Perry
• 17,100 points
476 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
1,922 views
+1 vote
1 answer
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
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 2, 2018 in Blockchain by Shashank
• 10,400 points
730 views
0 votes
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,400 points
5,052 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP