Some checks are pending
Docs Deploy / build_and_deploy (push) Waiting to run
Generate Docs / cli (push) Waiting to run
Generate Config Doc / cli (push) Waiting to run
Go formatting / go-formatting (push) Waiting to run
Check links / markdown-link-check (push) Waiting to run
Integration / pre-test (push) Waiting to run
Integration / test on (push) Blocked by required conditions
Integration / status (push) Blocked by required conditions
Lint / Lint Go code (push) Waiting to run
Test / test (ubuntu-latest) (push) Waiting to run
50 lines
1.2 KiB
Go
50 lines
1.2 KiB
Go
package chainregistry
|
|
|
|
type NetworkType string
|
|
|
|
const (
|
|
// NetworkTypeMainnet is the mainnet network type.
|
|
NetworkTypeMainnet NetworkType = "mainnet"
|
|
|
|
// NetworkTypeTestnet is the testnet network type.
|
|
NetworkTypeTestnet NetworkType = "testnet"
|
|
|
|
// NetworkTypeDevnet is the devnet network type.
|
|
NetworkTypeDevnet NetworkType = "devnet"
|
|
)
|
|
|
|
type ChainType string
|
|
|
|
const (
|
|
// ChainTypeCosmos is the cosmos chain type.
|
|
ChainTypeCosmos ChainType = "cosmos"
|
|
|
|
// ChainTypeEip155 is the eip155 chain type.
|
|
ChainTypeEip155 ChainType = "eip155"
|
|
)
|
|
|
|
type ChainStatus string
|
|
|
|
const (
|
|
// ChainStatusActive is the live chain status.
|
|
ChainStatusActive ChainStatus = "live"
|
|
|
|
// ChainStatusUpcoming is the upcoming chain status.
|
|
ChainStatusUpcoming ChainStatus = "upcoming"
|
|
|
|
// ChainStatusKilled is the inactive chain status.
|
|
ChainStatusKilled ChainStatus = "killed"
|
|
)
|
|
|
|
type KeyAlgos string
|
|
|
|
const (
|
|
// KeyAlgoSecp256k1 is the secp256k1 key algorithm.
|
|
KeyAlgoSecp256k1 KeyAlgos = "secp256k1"
|
|
|
|
// KeyAlgosEthSecp256k1 is the secp256k1 key algorithm with ethereum compatibility.
|
|
KeyAlgosEthSecp256k1 KeyAlgos = "ethsecp256k1"
|
|
|
|
// KeyAlgoEd25519 is the ed25519 key algorithm.
|
|
KeyAlgoEd25519 KeyAlgos = "ed25519"
|
|
)
|