Documentation
¶
Index ¶
- type EncryptedSolanaKeyExport
- type Key
- func (key Key) GetPublic() ed25519.PublicKey
- func (key Key) GoString() string
- func (key Key) ID() string
- func (key Key) PublicKey() (pubKey solana.PublicKey)
- func (key Key) PublicKeyStr() string
- func (key Key) Raw() Raw
- func (key Key) Sign(msg []byte) ([]byte, error)
- func (key Key) String() string
- func (key Key) ToEncryptedJSON(password string, scryptParams utils.ScryptParams) (export []byte, err error)
- type Raw
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptedSolanaKeyExport ¶
type EncryptedSolanaKeyExport struct { KeyType string `json:"keyType"` PublicKey string `json:"publicKey"` Crypto keystore.CryptoJSON `json:"crypto"` }
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
func MustNewInsecure ¶
func (Key) PublicKeyStr ¶
func (Key) ToEncryptedJSON ¶
Click to show internal directories.
Click to hide internal directories.