Signer
Sign operations and blocks
Visit the GoDoc docu or read the source code on Github.
The signer package contains a public interface along with multiple implementations that can be used to sign operations, blocks and arbitrary messages. The Signer
interface is designed to work with remote signers and hardware modules which can hold multiple private keys.
The signer is used by the rpc.Send()
and contract.Call()
family of functions, but you can always use it directly and attach the signature to an operation with op.WithSignature()
As initial signers we support an in-memory signer that can be created from a private key and a client for the Tezos remote signer interface. Feel free to add your own custom signer implementation, but it should be compatible with the interface above to use the convenience wrappers.
Last updated