Documentation ¶
Overview ¶
Copyright (c) 2023-2024 Nibi, Inc.
Index ¶
Constants ¶
View Source
const ( BinaryName = "nibiru" BondDenom = "unibi" // AccountAddressPrefix: Bech32 prefix for Nibiru accounts. AccountAddressPrefix = "nibi" )
View Source
const ( ETH_CHAIN_ID_MAINNET int64 = 7200 ETH_CHAIN_ID_TESTNET_1 int64 = 7210 ETH_CHAIN_ID_TESTNET_2 int64 = 7211 ETH_CHAIN_ID_TESTNET_3 int64 = 7212 ETH_CHAIN_ID_DEVNET_1 int64 = 7220 ETH_CHAIN_ID_DEVNET_2 int64 = 7221 ETH_CHAIN_ID_DEVNET_3 int64 = 7222 ETH_CHAIN_ID_LOCALNET_0 int64 = 7230 ETH_CHAIN_ID_LOCALNET_1 int64 = 7231 ETH_CHAIN_ID_LOCALNET_2 int64 = 7232 ETH_CHAIN_ID_LOCALNET_3 int64 = 7233 ETH_CHAIN_ID_DEFAULT int64 = 7230 )
EIP 155 Chain IDs exported for tests.
Variables ¶
View Source
var ( DefaultDBBackend db.BackendType = db.PebbleDBBackend HavePebbleDBBuildTag bool )
View Source
var ( AppVersion = "" GitCommit = "" BuildDate = "" GoVersion = "" GoArch = "" )
Runtime version vars
Functions ¶
func GetEthChainID ¶
GetEthChainID: Maps the given chain ID from the block's `sdk.Context` to an EVM Chain ID (`*big.Int`).
func NewDefaultTendermintConfig ¶
NewDefaultTendermintConfig returns a consensus "Config" (CometBFT) with new default values for the "consensus" and "db_backend" fields to be enforced upon node initialization. See the "nibiru/cmd/nibid/cmd/InitCmd" function for more information.
func RuntimeVersion ¶
func RuntimeVersion() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.