-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
I tried to get a receive address with this library. However, the address I generated through this library is not in the addresses generated from this website https://iancoleman.io/bip39/#english
.
lamp impose shine police secret mixture stem unable kind spawn melody wasp
, it's the mnemonic code I used.
LNtGxD3vYKpGr3vccCgTRnqojnK1Vbcrqz
, it's the address I generated from this library.
following is my source code:
Long creationTime = 0L;
DeterministicSeed seed = new DeterministicSeed(mnemonic, null, StringUtils.EMPTY, creationTime);
NetworkParameters params = LitecoinNetParameters.get();
Wallet wallet = Wallet.fromSeed(params, seed);
String address = wallet.freshReceiveAddress().toString();
System.out.println("address: " + address);
Metadata
Metadata
Assignees
Labels
No labels