Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Account is an abstraction around a cosmos-sdk private-key (account)
func NewAccount ¶
func NewAccount() *Account
NewAccount returns a new account, with a randomly generated private-key.
func (*Account) Address ¶
func (a *Account) Address() sdk.AccAddress
Address returns the address of the account.
func (*Account) PrivKey ¶
func (a *Account) PrivKey() cryptotypes.PrivKey
PrivKey returns the private-key of the account.
func (*Account) PubKey ¶
func (a *Account) PubKey() cryptotypes.PubKey
PubKey returns the public-key of the account.
Click to show internal directories.
Click to hide internal directories.