tooltip

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	L1ChainIdTooltip        = ui.NewTooltip("L1 chain ID", ChainIDDescription("L1"), "", []string{}, []string{}, []string{})
	L1RPCEndpointTooltip    = ui.NewTooltip("L1 RPC endpoint", RPCEndpointDescription("L1"), "", []string{}, []string{}, []string{})
	L1NetworkSelectTooltip  = ui.NewTooltip("Network to connect to", "Available options are Testnet (initiation-2) and local (no network participation).", "", []string{}, []string{}, []string{})
	L1InitiadVersionTooltip = ui.NewTooltip("Initiad version", "Initiad version refers to the version of the Initia daemon CLI used to run the Initia L1 node.", "", []string{}, []string{}, []string{})
	L1ExistingAppTooltip    = ui.NewTooltip("app.toml / config.toml", "The app.toml file contains the node's configuration, including transaction limits, gas price, and state pruning strategy.\n\nThe config.toml file includes core network and protocol settings for the node, such as peers to connect to, timeouts, and consensus configurations.", "", []string{"app.toml", "config.toml"}, []string{}, []string{})
	L1MinGasPriceTooltip    = ui.NewTooltip("Minimum Gas Price", MinGasPriceDescription("L1"), "", []string{}, []string{}, []string{})

	// Enable Features Tooltips
	L1EnableRESTTooltip = ui.NewTooltip("REST", "Enabling this option allows REST API calls to query data and submit transactions to your node. (Recommended)", "", []string{}, []string{}, []string{})
	L1EnablegRPCTooltip = ui.NewTooltip("gRPC", "Enabling this option allows gRPC calls to your node. (Recommended)", "", []string{}, []string{}, []string{})

	L1SeedsTooltip           = ui.NewTooltip("Seeds", "Enter a list of known node addresses (<node-id>@<IP>:<port>) to be used as initial contact points to discover other nodes. If you don't need your node to participate in the network (e.g. local development), seeds are not required.", "", []string{}, []string{}, []string{})
	L1PersistentPeersTooltip = ui.NewTooltip("Persistent Peers", "Enter a list of known node addresses (<node-id>@<IP>:<port>) to maintain constant connections to. This is particularly useful for fast syncing if you have access to a trusted, reliable node.", "", []string{}, []string{}, []string{})
	L1GenesisEndpointTooltip = ui.NewTooltip("genesis.json", "Provide the URL or network address where the genesis.json file can be accessed. This file contains the initial state and configuration of the blockchain network, which is essential for new nodes to sync and participate in the network correctly.", "", []string{}, []string{}, []string{})

	// Sync Method Tooltips
	L1SnapshotSyncTooltip = ui.NewTooltip("Snapshot", "Downloads a recent snapshot of the chain state to quickly catch up without replaying the entire chain history. This is faster than full state sync but relies on a trusted source for the snapshot.\n\nThis is necessary to participate in an existing network.", "", []string{}, []string{}, []string{})
	L1StateSyncTooltip    = ui.NewTooltip("State Sync", "Retrieves the latest blockchain state from peers without downloading the entire history. It's faster than syncing from genesis but may miss some historical data.\n\nThis is necessary to participate in an existing network.", "", []string{}, []string{}, []string{})
	L1NoSyncTooltip       = ui.NewTooltip("No Sync", "The node will not download data from any sources to replace the existing (if any). The node will start syncing from its current state, potentially genesis state if this is the first run.\n\nThis is best for local development / testing.", "", []string{}, []string{}, []string{})

	// Cosmovisor Tooltips
	L1CosmovisorAutoUpgradeEnableTooltip  = ui.NewTooltip("Enable", "Enable automatic downloading of new binaries and upgrades via Cosmovisor. \nSee more: https://docs.initia.xyz/run-initia-node/automating-software-updates-with-cosmovisor", "", []string{}, []string{}, []string{})
	L1CosmovisorAutoUpgradeDisableTooltip = ui.NewTooltip("Disable", "Disable automatic downloading of new binaries and upgrades via Cosmovisor. You will need to manually upgrade the binaries and restart the node to apply the upgrades.", "", []string{}, []string{}, []string{})

	L1DefaultPruningStrategiesTooltip    = ui.NewTooltip("Default", "Keep the last 100 states in addition to every 500th state, and prune on 10-block intervals. This configuration is safe to use on all types of nodes, especially validator nodes.", "", []string{}, []string{"recommended"}, []string{})
	L1NothingPruningStrategiesTooltip    = ui.NewTooltip("Nothing", "Disable node state pruning, essentially making your node an archival node. This mode consumes the highest disk usage.", "", []string{}, []string{"disable"}, []string{})
	L1EverythingPruningStrategiesTooltip = ui.NewTooltip("Everything", "Keep the current state and also prune on 10 blocks intervals. This settings is useful for nodes such as seed/sentry nodes, as long as they are not used to query RPC/REST API requests. This mode is not recommended when running validator nodes.", "", []string{}, []string{"not recommended "}, []string{})
)
View Source
var (
	ListenAddressTooltip          = ui.NewTooltip("Listen address", "The network address and port where the bot listens for incoming queries regarding deposits, withdrawals, and challenges.", "", []string{}, []string{}, []string{})
	InitiaDALayerTooltip          = ui.NewTooltip("Initia", "Ideal for projects that require close integration within the Initia network, offering streamlined communication and data handling within the Initia ecosystem.", "", []string{}, []string{}, []string{})
	CelestiaMainnetDALayerTooltip = ui.NewTooltip("Celestia Mainnet", "Suitable for production environments that need reliable and secure data availability with Celestia's decentralized architecture, ensuring robust support for live applications.", "", []string{}, []string{}, []string{})
	CelestiaTestnetDALayerTooltip = ui.NewTooltip("Celestia Testnet", "Best for testing purposes, allowing you to validate functionality and performance in a non-production setting before deploying to a mainnet environment.", "", []string{}, []string{}, []string{})
	L1StartHeightTooltip          = ui.NewTooltip("L1 start height", "The L1 block height from which the bot should start processing. If no deposit has bridged to the rollup yet, the block height should be the one at which the bridge creation transaction occurred. Otherwise, it should be the block height of the most recent deposit on L1.", "", []string{}, []string{}, []string{})
)
View Source
var (
	// Rollup select
	RelayerRollupSelectLocalTooltip       = ui.NewTooltip("Local rollup", "Run a relayer for the rollup that you just launched locally. Using artifacts from .minitia/artifacts to setup the relayer.", "", []string{}, []string{}, []string{})
	RelayerRollupSelectWhitelistedTooltip = ui.NewTooltip("Whitelisted rollup", "Run a relayer for any live rollup in https://github.com/initia-labs/initia-registry.", "", []string{}, []string{}, []string{})
	RelayerRollupSelectManualTooltip      = ui.NewTooltip("Manual Relayer Setup", "Setup the relayer manually by providing the L1 and rollup chain IDs, RPC endpoints, GRPC endpoints, and more.", "", []string{}, []string{}, []string{})

	// L1 network select
	RelayerL1NetworkSelectTooltip = ui.NewTooltip("L1 Network to relay messages", "Testnet (initiation-2) is the only supported network for now.", "", []string{}, []string{}, []string{})

	// Rollup LCD endpoint
	RelayerRollupLCDTooltip = ui.NewTooltip("Rollup LCD endpoint", "LCD endpoint to your rollup node server. By providing this, relayer will be able to fetch the IBC channels and ports from the rollup node server.", "", []string{}, []string{}, []string{})

	// IBC channels setup
	RelayerIBCMinimalSetupTooltip    = ui.NewTooltip("Minimal setup", "Subscribe to only `transfer` and `nft-transfer` IBC Channels created when launching the rollup with `minitiad launch` or `weave rollup launch`. This is recommended for new networks or local testing.", "", []string{}, []string{}, []string{})
	RelayerIBCFillFromLCDTooltip     = ui.NewTooltip("Get all available IBC Channels", "By filling in the rollup LCD endpoint, Weave will be able to detect all available IBC Channels and show you all the IBC Channel pairs.", "", []string{}, []string{}, []string{})
	RelayerIBCManualSetupTooltip     = ui.NewTooltip("Manual setup", "Setup each IBC Channel manually by specifying the port ID and channel ID.", "", []string{}, []string{}, []string{})
	RelayerIBCChannelsTooltip        = ui.NewTooltip("IBC Channels", "Relayer will listen to the selected channels (and ports) and relay messages between L1 and rollup network. Relay all option is recommended if you don't want to miss any messages.\n\nRefer to https://ibc.cosmos.network/main/ibc/overview.html#channels for more information.", "", []string{}, []string{}, []string{})
	RelayerL1IBCPortIDTooltip        = ui.NewTooltip("Port ID on L1", "Port Identifier for the IBC channel on L1 that the relayer should relay messages. Refer to https://ibc.cosmos.network/main/ibc/overview/#ports for more information.", "", []string{}, []string{}, []string{})
	RelayerL1IBCChannelIDTooltip     = ui.NewTooltip("Channel ID on L1", "Channel Identifier for the IBC channel on L1 that the relayer should relay messages. Refer to https://ibc.cosmos.network/main/ibc/overview/#channels for more information.", "", []string{}, []string{}, []string{})
	RelayerRollupIBCPortIDTooltip    = ui.NewTooltip("Port ID on rollup", "Port Identifier for the IBC channel on rollup that the relayer should relay messages. Refer to https://ibc.cosmos.network/main/ibc/overview/#ports for more information.", "", []string{}, []string{}, []string{})
	RelayerRollupIBCChannelIDTooltip = ui.NewTooltip("Channel ID on rollup", "Channel Identifier for the IBC channel on rollup that the relayer should relay messages. Refer to https://ibc.cosmos.network/main/ibc/overview/#channels for more information.", "", []string{}, []string{}, []string{})

	// Relayer key
	RelayerChallengerKeyTooltip   = ui.NewTooltip("Relayer with Challenger Key", "This is recommended because challenger account is exempted from gas fees on the rollup and able to stop other relayers from relaying when it detects a malicious message coming from it. If you want to setup relayer with a separate key, select No.", "", []string{}, []string{}, []string{})
	RelayerL1KeySelectTooltip     = ui.NewTooltip("L1 Relayer Key", "The key/account that the relayer will use to interact with the L1 network.", "", []string{}, []string{}, []string{})
	RelayerRollupKeySelectTooltip = ui.NewTooltip("Rollup Relayer Key", "The key/account that the relayer will use to interact with the rollup network.", "", []string{}, []string{}, []string{})

	// Funding amount select
	RelayerFundingAmountSelectTooltip = ui.NewTooltip("Funding the relayer accounts", "Relayer accounts on both the Initia L1 and the rollup requires gas token funding to ensure the relayer can function properly.", "", []string{}, []string{}, []string{})
)
View Source
var (
	RollupChainIdTooltip      = ui.NewTooltip("Rollup chain ID", ChainIDDescription("rollup"), "", []string{}, []string{}, []string{})
	RollupRPCEndpointTooltip  = ui.NewTooltip("Rollup RPC endpoint", RPCEndpointDescription("rollup"), "", []string{}, []string{}, []string{})
	RollupRESTEndpointTooltip = ui.NewTooltip("Rollup REST endpoint", RESTEndpointDescription("rollup"), "", []string{}, []string{}, []string{})
	RollupGasDenomTooltip     = ui.NewTooltip("Rollup gas denom", GasDenomDescription("rollup"), "", []string{}, []string{}, []string{})
	RollupGasPriceTooltip     = ui.NewTooltip("Rollup gas price", GasPriceDescription("rollup"), "", []string{}, []string{}, []string{})

	// OP Bridge Tooltips
	OpBridgeSubmissionIntervalTooltip       = ui.NewTooltip("Submission Interval", "The interval at which to submit the rollup output root to Initia L1.", "", []string{}, []string{}, []string{})
	OpBridgeOutputFinalizationPeriodTooltip = ui.NewTooltip("Output Finalization Period", "The time period during which submitted output roots can be challenged before being considered final. After this period, the output becomes immutable.", "", []string{}, []string{}, []string{})
	OpBridgeBatchSubmissionTargetTooltip    = ui.NewTooltip("Batch Submission Target", "The target chain for submitting rollup blocks and transaction data to ensure Data Availability. Currently, submissions can be made to Initia L1 or Celestia.\n\nFor production use, we recommend Celestia.", "", []string{}, []string{}, []string{})
	EnableOracleTooltip                     = ui.NewTooltip("Oracle", "Enabling the Oracle feature allows the rollup and contracts deployed on the rollup to access asset price data relayed from the Initia L1.", "", []string{}, []string{}, []string{})

	// System Key Tooltips
	SystemKeyOperatorMnemonicTooltip        = ui.NewTooltip("Rollup Operator", "The operator, also known as Sequencer, is responsible for creating blocks, ordering and including transactions within each block, and maintaining the operation of the rollup network.", "", []string{}, []string{}, []string{})
	SystemKeyBridgeExecutorMnemonicTooltip  = ui.NewTooltip("Bridge Executor", "The executor monitors the L1 and rollup transactions, facilitates token bridging and withdrawals between the rollup and Initia L1 chain, and also relays oracle price feed to rollup.", "", []string{}, []string{}, []string{})
	SystemKeyOutputSubmitterMnemonicTooltip = ui.NewTooltip("Output Submitter", "The submitter submits rollup output roots to L1 for verification and potential challenges. If the submitted output remains unchallenged beyond the output finalization period, it is considered finalized and immutable.", "", []string{}, []string{}, []string{})
	SystemKeyBatchSubmitterMnemonicTooltip  = ui.NewTooltip("Batch Submitter", "The batch submitter submits block and transactions data in batches into a chain to ensure Data Availability. Currently, submissions can be made to Initia L1 or Celestia.", "", []string{}, []string{}, []string{})
	SystemKeyChallengerMnemonicTooltip      = ui.NewTooltip("Challenger", "The challenger prevents misconduct and invalid rollup state submissions by monitoring for output proposals and challenging any that are invalid.", "", []string{}, []string{}, []string{})

	// System Accounts funding
	SystemAccountsFundingPresetTooltip = ui.NewTooltip(
		"OPInit Bots",
		"Bridge Executor: Monitors the L1 and rollup transactions, facilitates token bridging and withdrawals between the rollup and Initia L1 chain, and also relays oracle price feed to rollup.\n\nOutput Submitter: Submits rollup output roots to L1 for verification and potential challenges. If the submitted output remains unchallenged beyond the output finalization period, it is considered finalized and immutable.\n\nBatch Submitter: Submits block and transactions data in batches into a chain to ensure Data Availability. Currently, submissions can be made to Initia L1 or Celestia.\n\nChallenger: Prevents misconduct and invalid rollup state submissions by monitoring for output proposals and challenging any that are invalid.\n\nRollup Operator: Also known as Sequencer, is responsible for creating blocks, ordering and including transactions within each block, and maintaining the operation of the rollup network.",
		"", []string{"Bridge Executor:", "Output Submitter:", "Batch Submitter:", "Challenger:", "Rollup Operator:"}, []string{}, []string{},
	)
	GasStationInRollupGenesisTooltip        = ui.NewTooltip("Gas station in rollup genesis", "Adding gas station account as a genesis account grants initial balances to the gas station on the rollup at network launch. This ensures the gas station can fund relayer accounts during the Weave relayer flow, eliminating the need for later manual funding.", "", []string{}, []string{}, []string{})
	GasStationBalanceOnRollupGenesisTooltip = ui.NewTooltip("Gas station genesis balance", "A genesis balance is the amount of tokens allocated to specific accounts when a blockchain network launches, in this case the gas station account. It allows these accounts to have immediate resources for transactions, testing, or operational roles without needing to acquire tokens afterward.", "", []string{}, []string{}, []string{})

	// Genesis Accounts Tooltips
	GenesisAccountSelectTooltip = ui.NewTooltip("Genesis account", "Genesis accounts are accounts that are created at the genesis block of a blockchain network. They are used to grant initial balances to specific accounts at network launch, enabling early operations without later funding.", "", []string{}, []string{}, []string{})
	GenesisBalanceInputTooltip  = ui.NewTooltip("Genesis balance", "The amount of tokens allocated to specific accounts when a blockchain network launches, in this case the genesis account. It allows these accounts to have immediate resources for transactions, testing, or operational roles without needing to acquire tokens afterward.", "", []string{}, []string{}, []string{})

	// FeeWhitelistAccoutsInputTooltip
	FeeWhitelistAccountsInputTooltip = ui.NewTooltip("Fee whitelist accounts", "Fee-whitelisted accounts are exempt from paying transaction fees, allowing specific accounts to perform transactions without incurring costs. Note that Rollup Operator, Bridge Executor, and Challenger are automatically included in this list.", "", []string{}, []string{}, []string{})
)
View Source
var (
	GasStationMnemonicTooltip = ui.NewTooltip("Gas station account", "Gas station account is the account from which Weave will use to fund necessary system accounts and bots to simplify the setup process.", "", []string{}, []string{}, []string{})
)
View Source
var (
	MonikerTooltip = ui.NewTooltip("Moniker", "A unique identifier among nodes in a network.", "", []string{}, []string{}, []string{})
)

Functions

func ChainIDDescription

func ChainIDDescription(networkType string) string

func GasDenomDescription

func GasDenomDescription(networkType string) string

func GasPriceDescription

func GasPriceDescription(networkType string) string

func MinGasPriceDescription

func MinGasPriceDescription(networkType string) string

func RESTEndpointDescription added in v0.3.0

func RESTEndpointDescription(networkType string) string

func RPCEndpointDescription

func RPCEndpointDescription(networkType string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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