Skip to content

address not correct #3

@yoSir

Description

@yoSir

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions