当尝试使用https://github.com/web3j/sample-project-gradle时遇到此代码:
// We then need to load our Ethereum wallet file
// FIXME: Generate a new wallet file using the web3j command line tools https://docs.web3j.io/command_line.html
Credentials credentials =
WalletUtils.loadCredentials(
"<password>",
"/path/to/<walletfile>");
log.info("Credentials loaded");
Run Code Online (Sandbox Code Playgroud)
我想使用ganache-cli创建的网络.我成功连接到网络但我找不到钱包文件.有没有办法在这里使用ganache-cli生成的帐户?