mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-14 08:45:50 +00:00
Update xrpljs2-migration-guide.md
fix xrpl.Wallet.fromSeed is not a constructor
This commit is contained in:
@@ -165,7 +165,7 @@ const signed = api.sign(JSON.stringify(tx_json), seed)
|
||||
**xrpl.js 2.0:**
|
||||
|
||||
```js
|
||||
const wallet = new xrpl.Wallet.fromSeed('s████████████████████████████')
|
||||
const wallet = xrpl.Wallet.fromSeed('s████████████████████████████')
|
||||
const tx_json = {
|
||||
"Account": wallet.address,
|
||||
"TransactionType":"Payment",
|
||||
|
||||
Reference in New Issue
Block a user