types

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Bech32MainPrefix defines the main SDK Bech32 prefix of an account address.
	Bech32MainPrefix = "clair"

	// ShieldedBech32Prefix defines the full shielded address prefix.
	ShieldedBech32Prefix = "clairs"

	PrefixValidator = "val"
	PrefixConsensus = "cons"
	PrefixPublic    = "pub"
	PrefixOperator  = "oper"

	Bech32PrefixAccAddr  = Bech32MainPrefix
	Bech32PrefixAccPub   = Bech32MainPrefix + PrefixPublic
	Bech32PrefixValAddr  = Bech32MainPrefix + PrefixValidator + PrefixOperator
	Bech32PrefixValPub   = Bech32MainPrefix + PrefixValidator + PrefixOperator + PrefixPublic
	Bech32PrefixConsAddr = Bech32MainPrefix + PrefixValidator + PrefixConsensus
	Bech32PrefixConsPub  = Bech32MainPrefix + PrefixValidator + PrefixConsensus + PrefixPublic
)
View Source
const (
	DefaultDenom          = "uclair"
	DefaultDenomPrecision = int64(18)

	CoinType           = 60
	FullFundraiserPath = "m/44'/60'/0'/0/0"
)

Variables

This section is empty.

Functions

func SetConfig

func SetConfig()

SetConfig applies Clairveil address and HD-path settings to the global SDK config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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