Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cosmos ¶
type Cosmos struct {
// contains filtered or unexported fields
}
func NewCosmos ¶
func NewCosmos(ctx context.Context, accName string, options ...cosmosclient.Option) (*Cosmos, error)
NewCosmos creates a Sonr Blockchain client with the given account and provides helper functions
func (*Cosmos) AccountName ¶
AccountName returns the account name as string
func (*Cosmos) BroadcastRegisterName ¶
func (cc *Cosmos) BroadcastRegisterName(msg *types.MsgRegisterName) (cosmosclient.Response, error)
BroadcastTx broadcasts a transaction to the blockchain
func (*Cosmos) QueryAllNames ¶
QueryAllNames returns all names registered on the blockchain
Click to show internal directories.
Click to hide internal directories.