blocto / solana-go-sdk

Solana Golang SDK
https://blocto.github.io/solana-go-sdk/
MIT License
373 stars 96 forks source link

Remove ipsn/go-secp256k1 and related code #37

Closed Aphoh closed 2 years ago

Aphoh commented 2 years ago

Using ipsn/go-secp256k1 package ended up being a mistake... Trying to build the package in a library which also used go-ethereum would cause cgo build conflicts and a whole lot of mess... The fix is easy: just remove all the code for signing and let people bring their own signing code. For compatibility, this is probably our best bet. This also allows for external signing (ex: hardware wallets).

yihau commented 2 years ago

ok! Thank you!