Merge pull request #1256 from XRPLF/mv/fix-wallet-gen-js

fix: wallet generation in the JS tutorial
This commit is contained in:
Rome Reginelli
2021-12-01 12:39:05 -08:00
committed by GitHub

View File

@@ -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: