Closed diadal closed 2 years ago
The Wallet
constructor requires publicKey
and privateKey
parameters: https://js.xrpl.org/classes/Wallet.html#constructor
If you're looking to create a new wallet, then you want Wallet.generate
. If you're on testnet/devnet and want a wallet that has already been funded (and the account therefore exists), then you can use fundWallet
@diadal We're closing this issue due to inactivity, but if the issue persists, let us know!
Thanks @mvadari @intelliot, I just ran into this issue today. The documentation needs to be updated at https://xrpl.org/get-started-using-javascript.html, particularly this part:
If you just want to generate keys, you can create a new Wallet instance like this:
const test_wallet = new xrpl.Wallet()
Yes, there's a PR up for that: https://github.com/XRPLF/xrpl-dev-portal/pull/1256 Thanks for reporting.
create wallet not working deno