From 5e1249f44e7f0f46ebdf53e32d760e79f86bd5a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miro=20Mets=C3=A4nheimo?= Date: Sun, 13 Oct 2019 17:42:36 +0300 Subject: [PATCH] update readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 62baad3..c433e9c 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ npm install nanocurrency-web | WARNING: do not use any of the keys or addresses listed below to send real assets | | --- | + Wallet handling ``` import { wallet } from 'nanocurrency-web' @@ -47,8 +48,8 @@ const accounts = wallet.accounts(seed, from, to) 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', - seed: '0dc285fde768f7ff29b66ce7252d56ed92fe003b605907f7a4f683c3dc8586d34a914d3c71fc099bb38ee4a59e5b081a3497b7a323e90cc68f67b5837690310c', - accounts: [ + seed: '0dc285fde768f7ff29b66ce7252d56ed92fe003b605907f7a4f683c3dc8586d34a914d3c71fc099bb38ee4a59e5b081a3497b7a323e90cc68f67b5837690310c', + accounts: [ { accountIndex: 0, privateKey: '3be4fc2ef3f3b7374e6fc4fb6e7bb153f8a2998b3b3dab50853eabe128024143', -- 2.34.1