atom

package
v0.0.0-...-c4e539a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HRP = "cosmos"
)

Variables

This section is empty.

Functions

func NewAddress

func NewAddress(privateKey *btcec.PrivateKey) (string, error)

func Sign

func Sign(rawHex string, privateKey *btcec.PrivateKey) (string, error)

func SignEnd

func SignEnd(rawHex string, signHex string) (string, error)

func SignStart

func SignStart(chainId string, from string, to string, demon string, memo string,
	amount *big.Int, timeoutHeight uint64, sequence uint64, accountNumber uint64, feeAmount *big.Int, gasLimit uint64, privateKey *btcec.PrivateKey) (string, error)

func ValidateAddress

func ValidateAddress(address string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL