From feca903376a98057cfb4d88eaa8dac3a2f7f2970 Mon Sep 17 00:00:00 2001 From: Anders Brownworth Date: Thu, 30 Jul 2020 13:54:25 -0400 Subject: [PATCH] add const wallet in example --- Readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index dcc038b..415a453 100644 --- a/Readme.md +++ b/Readme.md @@ -88,7 +88,9 @@ import { LibraClient, LibraNetwork } from 'libra-core'; async function main() { const client = new LibraClient({ network: LibraNetwork.Testnet }); - + const wallet = new LibraWallet({ + mnemonic: 'upgrade salt toy stable drop paddle' + }); const account = wallet.newAccount(); // mint 2 libracoins to users accounts