mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
Merge pull request #1256 from XRPLF/mv/fix-wallet-gen-js
fix: wallet generation in the JS tutorial
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user