Skip to content

get secret and privatekey #87

Description

@bigdogyea

hi.i want use thiis lib to create a wallet,in example
SecureRandom random = new SecureRandom(); byte[] seedBytes = new byte[16]; random.nextBytes(seedBytes); Seed seed = new Seed(seedBytes); IKeyPair iKeyPair = seed.keyPair(); byte[] pub160Hash = iKeyPair.pub160Hash(); AccountID accountID = AccountID.fromBytes(pub160Hash);
then,how can get secret and privatekey?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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