#fromEntropy in javascript 'xrpl' library?

5 messages · Page 1 of 1 (latest)

quasi sandal
#

I have this sequence of numbers from when I set-up the wallet in Xaman, so Im trying to convert it to something I can actually sign with.

I'm using Wallet.fromEntropy() directly on the string of numbers but I keep getting invalid account, I've double checked the sequence of numbers several times. I'm reading it from an .env file. Am I supposed to convert it to a uint8 array as an integer or a string? Does anyone have a javascript example on entropy example?

copper remnant
#

xrpl.js has a method fromSecretNumbers. Use that and you are good to go

quasi sandal
#

@copper remnant Thank you, I used walletFromSecretNumbers

#

Do you know how to get the offer ID? Is it the transaction ID from the offer creation?

tacit pumice