【发布时间】:2021-12-19 03:01:24
【问题描述】:
我有 6 位 8 行密码。 如何使用 xrpl.Wallet.fromMnemonic 或 xrpl.Wallet.fromSecret 方法转换/使用我的密码?
const xrpl = require("xrpl")
const PUBLIC_SERVER = "wss://xrplcluster.com/"
const client = new xrpl.Client(PUBLIC_SERVER)
await client.connect()
const wallet = xrpl.Wallet.fromMnemonic('A:112121 B:222222 C:333333 D:444444 E:555555 F:656565 G:156545 H:454545')
console.log(wallet)
......
【问题讨论】: