Documentation ¶
Index ¶
- type PrivateKey
- type PublicKey
- type Signer
- func (s *Signer) MustPublicKey() PublicKey
- func (s *Signer) MustSignAll(data []xc.TxDataToSign) []xc.TxSignature
- func (s *Signer) PublicKey() (PublicKey, error)
- func (s *Signer) Sign(data xc.TxDataToSign) (xc.TxSignature, error)
- func (s *Signer) SignAll(data []xc.TxDataToSign) ([]xc.TxSignature, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
Reference implementation to sign transactions - not meant to be used for production
func (*Signer) MustPublicKey ¶
func (*Signer) MustSignAll ¶
func (s *Signer) MustSignAll(data []xc.TxDataToSign) []xc.TxSignature
func (*Signer) Sign ¶
func (s *Signer) Sign(data xc.TxDataToSign) (xc.TxSignature, error)
func (*Signer) SignAll ¶
func (s *Signer) SignAll(data []xc.TxDataToSign) ([]xc.TxSignature, error)
Click to show internal directories.
Click to hide internal directories.