Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AccountAddressPrefix Account Address Prefix AccountAddressPrefix = "seele" // CoinType seele-n in https://github.com/satoshilabs/slips/blob/master/slip-0044.md CoinType = 513 // FullFundraiserPath BIP44Prefix is the parts of the BIP44 HD path that are fixed by // what we used during the fundraiser. FullFundraiserPath = "44'/513'/0'/0/0" )
Variables ¶
View Source
var ( // AccountPubKeyPrefix Account PubKey Prefix AccountPubKeyPrefix = AccountAddressPrefix + "pub" // ValidatorAddressPrefix Validator Address Prefix ValidatorAddressPrefix = AccountAddressPrefix + "valoper" // ValidatorPubKeyPrefix Validator PubKey Prefix ValidatorPubKeyPrefix = AccountAddressPrefix + "valoperpub" // ConsNodeAddressPrefix Node Address Prefix ConsNodeAddressPrefix = AccountAddressPrefix + "valcons" // ConsNodePubKeyPrefix Node PubKey Prefix ConsNodePubKeyPrefix = AccountAddressPrefix + "valconspub" )
Functions ¶
func GetAccountPubKey ¶ added in v0.0.7
func GetAccountPubKey(pk cryptotypes.PubKey) (string, error)
GetAccountPubKey Get Account PubKey from ed25519 public key
func GetConsenusPubKey ¶ added in v0.0.7
func GetConsenusPubKey(pk cryptotypes.PubKey) (string, error)
GetConsenusPubKey Get Consenus PubKey from ed25519 public key
func GetPubKeyFromString ¶ added in v0.0.7
func GetPubKeyFromString(pkstr string) (cryptotypes.PubKey, error)
GetPubKeyFromString get pubkey from string
func GetValidatorPubKey ¶ added in v0.0.7
func GetValidatorPubKey(pk cryptotypes.PubKey) (string, error)
GetValidatorPubKey Get Validator PubKey from ed25519 public key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.