Documentation
¶
Index ¶
- Variables
- func NewCrypt(key []byte) *crypt
- type EmbeddedWalletImpl
- func (a *EmbeddedWalletImpl) AccountSeeds() [][]byte
- func (a *EmbeddedWalletImpl) BLSPairByWavesPK(publicKey crypto.PublicKey) (bls.SecretKey, bls.PublicKey, error)
- func (a *EmbeddedWalletImpl) FindPublicKeyByAddress(address proto.WavesAddress, scheme proto.Scheme) (crypto.PublicKey, error)
- func (a *EmbeddedWalletImpl) KeyPairsBLS() ([]bls.PublicKey, []bls.SecretKey, error)
- func (a *EmbeddedWalletImpl) Load(password []byte) error
- func (a *EmbeddedWalletImpl) SignTransactionWith(pk crypto.PublicKey, tx proto.Transaction) error
- type Loader
- type LoaderImpl
- type Wallet
- type WalletFormat
- type WalletImpl
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPublicKeyNotFound = errors.New("public key not found")
Functions ¶
Types ¶
type EmbeddedWalletImpl ¶ added in v0.5.0
type EmbeddedWalletImpl struct {
// contains filtered or unexported fields
}
func NewEmbeddedWallet ¶ added in v0.5.0
func NewEmbeddedWallet(path Loader, seeder seeder, scheme proto.Scheme) *EmbeddedWalletImpl
func (*EmbeddedWalletImpl) AccountSeeds ¶ added in v0.10.4
func (a *EmbeddedWalletImpl) AccountSeeds() [][]byte
func (*EmbeddedWalletImpl) BLSPairByWavesPK ¶ added in v0.11.0
func (*EmbeddedWalletImpl) FindPublicKeyByAddress ¶ added in v0.11.0
func (a *EmbeddedWalletImpl) FindPublicKeyByAddress(address proto.WavesAddress, scheme proto.Scheme) (crypto.PublicKey, error)
func (*EmbeddedWalletImpl) KeyPairsBLS ¶ added in v0.11.0
func (*EmbeddedWalletImpl) Load ¶ added in v0.5.0
func (a *EmbeddedWalletImpl) Load(password []byte) error
func (*EmbeddedWalletImpl) SignTransactionWith ¶ added in v0.5.0
func (a *EmbeddedWalletImpl) SignTransactionWith(pk crypto.PublicKey, tx proto.Transaction) error
type LoaderImpl ¶ added in v0.5.0
type LoaderImpl struct {
// contains filtered or unexported fields
}
func NewLoader ¶ added in v0.5.0
func NewLoader(path string) LoaderImpl
func (LoaderImpl) Load ¶ added in v0.5.0
func (a LoaderImpl) Load() ([]byte, error)
type Wallet ¶
type WalletFormat ¶
type WalletFormat struct {
Seed [][]byte `json:"seeds"`
}
type WalletImpl ¶ added in v0.5.0
type WalletImpl struct {
Version uint32
// contains filtered or unexported fields
}
func NewWallet ¶ added in v0.5.0
func NewWallet() *WalletImpl
func (*WalletImpl) AccountSeeds ¶ added in v0.10.4
func (a *WalletImpl) AccountSeeds() [][]byte
func (*WalletImpl) AddAccountSeed ¶ added in v0.10.4
func (a *WalletImpl) AddAccountSeed(seed []byte) error
Click to show internal directories.
Click to hide internal directories.