我有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)
......发布于 2021-11-10 23:52:36
xrpl.js目前还不支持XUMM风格的“秘密数字”。如果你想在xrpl.js中使用你的密码,你需要使用convert them to family seed format。
https://stackoverflow.com/questions/69846760
复制相似问题