From: Miro Metsänheimo Date: Sun, 13 Oct 2019 14:42:36 +0000 (+0300) Subject: update readme X-Git-Tag: v0.0.1~39 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=5e1249f44e7f0f46ebdf53e32d760e79f86bd5a2;p=libnemo.git update readme --- 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',