mirror of
https://github.com/status-im/bip39.git
synced 2025-02-19 07:56:21 +00:00
parent
3ecf441efe
commit
c5c338df75
@ -21,3 +21,11 @@ bip39.mnemonicToSeed('basket actual') // wait for it...
|
|||||||
bip39.generateMnemonic() // strength defaults to 128 bits
|
bip39.generateMnemonic() // strength defaults to 128 bits
|
||||||
// 'seed sock milk update focus rotate barely fade car face mechanic mercy'
|
// 'seed sock milk update focus rotate barely fade car face mechanic mercy'
|
||||||
```
|
```
|
||||||
|
### Browser
|
||||||
|
|
||||||
|
Compile `bip39.js` with the following command:
|
||||||
|
|
||||||
|
$ npm run compile
|
||||||
|
|
||||||
|
After loading this file in your browser, you will be able to use the global `BIP39` object.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user