I am working with secp256k1 signatures in Go using the btcec library. However, I couldn't find a clear method to verify signatures in the official documentation.btcec There is a link to a "Verify Signature" example in the documentation, but it doesn’t seem to provide the example code directly.
I am wondering, which method in the btcec library is used for verifying secp256k1 signatures? It would be great if someone could provide a simple code example. Thank you!
Here you Go ;-)
https://github.com/btcsuite/btcd/blob/master/btcec/ecdsa/example_test.go