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 = 6900 ETH_CHAIN_ID_TESTNET_1 int64 = 7210 ETH_CHAIN_ID_TESTNET_2 int64 = 6911 ETH_CHAIN_ID_TESTNET_3 int64 = 6912 ETH_CHAIN_ID_DEVNET_1 int64 = 6920 ETH_CHAIN_ID_DEVNET_2 int64 = 6921 ETH_CHAIN_ID_DEVNET_3 int64 = 6922 ETH_CHAIN_ID_LOCALNET_0 int64 = 6930 ETH_CHAIN_ID_LOCALNET_1 int64 = 6931 ETH_CHAIN_ID_LOCALNET_2 int64 = 6932 ETH_CHAIN_ID_LOCALNET_3 int64 = 6933 ETH_CHAIN_ID_DEFAULT int64 = 6930 )
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.