A Ravenite module for ravencoin that implements Mnemonic code for generating deterministic keys.
# Using npm
npm install @ravenite/ravencoin-mnemonic
# Using yarn
yarn add @ravenite/ravencoin-mnemonic
import { Mnemonic } from '@ravenite/ravencoin-mnemonic';
const code = new Mnemonic({ network: 'mainnet' });
code.toString();
Name | Type | Default Value | Description |
---|---|---|---|
mnemonic | string | undefined | Seed phrase (e.g. job shop small, etc...) |
network | string | testnet | Blockchain network you are generating for |
passphrase | string | undefined | String to strengthen encryption with the seed phrase |
language | string | english | Language to generate seed phrase in |
account | number | undefined | If you would like to start the receive and change path from a number other than 0 |
See EXAMPLES.md for developer guides.
- chinese_simplified
- chinese_traditional
- czech
- english
- french
- italian
- japanese
- korean
- portuguese
- spanish
See CONTRIBUTING.md at base of repo for information about how to contribute.
Code released under the MIT license.