Im using the Web3j library to make transactions with my blockchain (Ganache).
I have a method that instantiate a Web3j object and im trying to generate a new account with the given
String url = "http://localhost:7545/";
Web3j web3j = Web3j.build(new HttpService(url));
//System.out.println(web3j.ethAccounts().send().getAccounts());
try {
ECKeyPair keyPair = Keys.createEcKeyPair();
WalletFile wallet = Wallet.createStandard(key, keyPair);
System.out.println("Private key: " + keyPair.getPrivateKey().toString(16));
System.out.println("Account: " + wallet.getAddress());
But when in the power shell console I connect to ganache using Geth I dont have the new address in the eth.accounts().
What i have to make??