Skip to content

How to generate key pairs from mnemonic? #113

@gluneau

Description

@gluneau

Hello, I'm trying to find any documentation that would show me how to generate a privateKey and a publicKey.

This does not work yet, what am I missing?

const mnemonic = 'unit jelly zone token virus blue parrot pottery stage girl version grief left black foam donkey fatigue silly bitter fox manage note indoor leisure'
const ada = require('js-chain-libs/js_chain_libs')
const account = ada.setAccountFromMnemonic(mnemonic)
const privateKey = account.privateKey
const publicKey = account.publicKey

Are there a developer's discussion group somewhere?

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