mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-25 22:25:52 +00:00
Merge pull request #1224 from diadal/patch-1
Update xrpljs2-migration-guide.md
This commit is contained in:
@@ -165,7 +165,7 @@ const signed = api.sign(JSON.stringify(tx_json), seed)
|
|||||||
**xrpl.js 2.0:**
|
**xrpl.js 2.0:**
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const wallet = new xrpl.Wallet.fromSeed('s████████████████████████████')
|
const wallet = xrpl.Wallet.fromSeed('s████████████████████████████')
|
||||||
const tx_json = {
|
const tx_json = {
|
||||||
"Account": wallet.address,
|
"Account": wallet.address,
|
||||||
"TransactionType":"Payment",
|
"TransactionType":"Payment",
|
||||||
|
|||||||
Reference in New Issue
Block a user