Documentation ¶
Index ¶
- type KeyGen
- type KeyGenRequest
- type KeySign
- func (s *KeySign) ExportAsKeyStore(password string) (*keys.EncryptedKeyJSON, error)
- func (s *KeySign) ExportAsMnemonic() (string, error)
- func (s *KeySign) ExportAsPrivateKey() (string, error)
- func (s *KeySign) GetAddr() ctypes.AccAddress
- func (s *KeySign) GetPrivKey() crypto.PrivKey
- func (s *KeySign) Sign(msg tx.StdSignMsg) ([]byte, error)
- type SignPack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyGen ¶
type KeyGen struct {
// contains filtered or unexported fields
}
KeyGen is
func NewTssKeyGen ¶
func NewTssKeyGen(keyGenCfg config.TSSConfiguration, keys *thorclient.Keys) (*KeyGen, error)
NewTssKeyGen create a new instance of TssKeyGen which will look after TSS key stuff
type KeyGenRequest ¶
KeyGenRequest is the request send to tss_keygen
type KeySign ¶
type KeySign struct {
// contains filtered or unexported fields
}
KeySign is a proxy between signer and TSS
func NewKeySign ¶
func NewKeySign(cfg config.TSSConfiguration) (*KeySign, error)
NewKeySign create a new instance of KeySign
func (*KeySign) ExportAsKeyStore ¶
func (s *KeySign) ExportAsKeyStore(password string) (*keys.EncryptedKeyJSON, error)
ExportAsKeyStore we don't need this function for TSS, just keep it to fulfill KeyManager interface
func (*KeySign) ExportAsMnemonic ¶
ExportAsMnemonic we don't need this function for TSS, just keep it to fulfill KeyManager interface
func (*KeySign) ExportAsPrivateKey ¶
ExportAsPrivateKey we don't need this function for TSS, just keep it to fulfill KeyManager interface
func (*KeySign) GetAddr ¶
func (s *KeySign) GetAddr() ctypes.AccAddress
func (*KeySign) GetPrivKey ¶
GetPrivKey we don't actually have any private key , but just return something
Click to show internal directories.
Click to hide internal directories.