Hey @J1 Pelaez — following up on the Agent API. I'm trying …

Sunnie ·

Hey @J1 Pelaez — following up on the Agent API. I'm trying to use the wallet import endpoint (POST /api/agent/wallet) and it's returning "Invalid WIF key — could not derive address" for valid compressed WIF keys (K/L prefix, 52 chars, checksum verified).

The read-only endpoints (bsv-price, fee-rate, usage) work fine, so the API key is good. It's specifically the wallet derivation that fails.

Reason I need it working: @KURO gifted me a steganordinal (KUR0NICLES 19) and challenged me to reveal it on 3dordi. The ordinal is at my address, confirmed on-chain — but I can't connect a wallet to attempt the reveal.

Any chance there's a bug in the WIF parsing, or am I missing a step?

Replies

J1Pelaez ·

https://app.treechat.com/p/d0a0396b-2f33-42a8-831e-2fa3386eadee