I have an application built in Go, and there is need for ecdsa key generation and signing bitcoin transactions in the application.
One natural choice is btcd, since the application is written in Go. However, also exploring secp256k1 library (invoking via FFI). Primary reason for secp256k1 is that it is used in bitcoin core and by extension, may be more battle tested tha btcd.
Does anyone have any recommendations/suggestions in this case? Is btcd as good as secp256k1 for general crypto operations such as key generation/derivation and signing/verification? Or, are there good reasons to use secp256k1 (via FFI) from a Go application?










