cryptofoundry

Contact cryptofoundry

Tell us what you want to build or automate.

Article

ADAMANT JavaScript API v1.1.0: Dash Key Generation

ADAMANT JavaScript API v1.1.0: Dash Key Generation

The ADAMANT JavaScript API v1.1.0 can generate Dash public and private key pairs directly from an ADAMANT account passphrase. This simplifies cross-chain operations by deriving Dash keys from the same mnemonic used for the ADAMANT account.

const dashKeys = api.dash.keys(config.passPhrase);

The passPhrase parameter is the mnemonic passphrase associated with an ADAMANT account. The returned key pair is ready for use with the Dash API.