Javascript version of ParsePubKey

Hi there,

Is there a javascript version of the following function:

btcec.ParsePubKey(data, btcec.S256())

which can be found under UnmarshalSecp256k1PublicKey(…)

Cheers,

Is this what you’re looking for? https://github.com/libp2p/js-libp2p-crypto-secp256k1/#unmarshalsecp256k1publickeybytes

1 Like