js-stellar-sdk icon indicating copy to clipboard operation
js-stellar-sdk copied to clipboard

Can not create muxed account. TypeError: med25519 not set

Open nqs1901 opened this issue 10 months ago • 1 comments

Describe the bug

What version are you on? "@stellar/stellar-sdk": "^13.1.0"

To Reproduce const StellarSdk = require('@stellar/stellar-sdk'); const id = '34546'; const muxed = StellarSdk.MuxedAccount.fromAddress(address, id );

TypeError: med25519 not set

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here.

nqs1901 avatar Feb 19 '25 03:02 nqs1901

What is address? It should be an instance of an Account. It appears to be an instance of string, instead.

Shaptic avatar Feb 19 '25 17:02 Shaptic