Versions in this module Expand all Collapse all v1 v1.9.8 Jun 28, 2023 Changes in this version + const CodecVersion + var Codec codec.Manager + var LegacyCodec codec.Manager + func GetKeychain(u User, addresses set.Set[ids.ShortID]) (*secp256k1fx.Keychain, error) + func NewKey(u User) (*crypto.PrivateKeySECP256K1R, error) + func NewKeys(u User, numKeys int) ([]*crypto.PrivateKeySECP256K1R, error) + type User interface + GetAddresses func() ([]ids.ShortID, error) + GetKey func(address ids.ShortID) (*crypto.PrivateKeySECP256K1R, error) + PutKeys func(privKeys ...*crypto.PrivateKeySECP256K1R) error + func NewUserFromDB(db *encdb.Database) User + func NewUserFromKeystore(ks keystore.BlockchainKeystore, username, password string) (User, error) v1.9.8-rc.9 Jun 28, 2023