From 47238157fe61f40df7f9609d9411464f9f64e3c7 Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Wed, 1 Dec 2021 09:57:29 -0500 Subject: [PATCH] fix wallet generation in the JS tutorial --- content/tutorials/get-started/get-started-using-javascript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tutorials/get-started/get-started-using-javascript.md b/content/tutorials/get-started/get-started-using-javascript.md index 3e8776992b..f25400e8bf 100644 --- a/content/tutorials/get-started/get-started-using-javascript.md +++ b/content/tutorials/get-started/get-started-using-javascript.md @@ -121,7 +121,7 @@ The `xrpl.js` library has a `Wallet` class for handling the keys and address of If you just want to generate keys, you can create a new Wallet instance like this: ```js -const test_wallet = new xrpl.Wallet() +const test_wallet = xrpl.Wallet.generate() ``` Or, if you already have a seed encoded in [base58][], you can instantiate a Wallet from it like this: