update readme
This commit is contained in:
parent
5ffebc80f5
commit
5e1249f44e
1 changed files with 3 additions and 2 deletions
|
|
@ -25,6 +25,7 @@ npm install nanocurrency-web
|
||||||
| WARNING: do not use any of the keys or addresses listed below to send real assets |
|
| WARNING: do not use any of the keys or addresses listed below to send real assets |
|
||||||
| --- |
|
| --- |
|
||||||
|
|
||||||
|
|
||||||
Wallet handling
|
Wallet handling
|
||||||
```
|
```
|
||||||
import { wallet } from 'nanocurrency-web'
|
import { wallet } from 'nanocurrency-web'
|
||||||
|
|
@ -47,8 +48,8 @@ const accounts = wallet.accounts(seed, from, to)
|
||||||
The returned wallet JSON format is as follows:
|
The returned wallet JSON format is as follows:
|
||||||
{
|
{
|
||||||
mnemonic: 'edge defense waste choose enrich upon flee junk siren film clown finish luggage leader kid quick brick print evidence swap drill paddle truly occur',
|
mnemonic: 'edge defense waste choose enrich upon flee junk siren film clown finish luggage leader kid quick brick print evidence swap drill paddle truly occur',
|
||||||
seed: '0dc285fde768f7ff29b66ce7252d56ed92fe003b605907f7a4f683c3dc8586d34a914d3c71fc099bb38ee4a59e5b081a3497b7a323e90cc68f67b5837690310c',
|
seed: '0dc285fde768f7ff29b66ce7252d56ed92fe003b605907f7a4f683c3dc8586d34a914d3c71fc099bb38ee4a59e5b081a3497b7a323e90cc68f67b5837690310c',
|
||||||
accounts: [
|
accounts: [
|
||||||
{
|
{
|
||||||
accountIndex: 0,
|
accountIndex: 0,
|
||||||
privateKey: '3be4fc2ef3f3b7374e6fc4fb6e7bb153f8a2998b3b3dab50853eabe128024143',
|
privateKey: '3be4fc2ef3f3b7374e6fc4fb6e7bb153f8a2998b3b3dab50853eabe128024143',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue