Universal wallet connector for the Cosmos ⚛️
BSD 3-Clause Clear License
182
stars
133
forks
source link
[@cosmos-kit/cosmos-extension-metamask] Public key must be compressed secp256k1, i.e. 33 bytes starting with 0x02 or 0x03 #470
Open
Redm4x opened 5 months ago
Hey, I'm facing an issue trying to use metamask snaps with the Akash chain through cosmoskit.
When calling
estimateFee
I get the following error:Public key must be compressed secp256k1, i.e. 33 bytes starting with 0x02 or 0x03
It looks like the issue is caused by
pubkey
being an Object which causespubkey.length
to beundefined
.If I try the same transaction with a Keplr wallet instead, the pubkey is a Uint8Array and no error is thrown.
Here are the versions I'm using: