fx-core

module
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0

README

fxcore

fxcore is a blockchain built using Cosmos SDK and Tendermint and created with Starport.

Quick start

Install
make install
Usage
FunctionX Core Chain App

Usage:
  fxcored [command]

Available Commands:
  add-genesis-account Add a genesis account to genesis.json
  collect-gentxs      Collect genesis txs and output a genesis.json file
  config              Update or query an application configuration file
  debug               Tool for helping with debugging your application
  export              Export state to JSON
  gentx               Generate a genesis tx carrying a self delegation
  help                Help about any command
  init                Initialize private validator, p2p, genesis, and application configuration files
  keys                Manage your application's keys
  migrate             Migrate genesis to a specified target version
  network             Show fxcored network and upgrade info
  query               Querying subcommands
  start               Run the full node
  status              Query remote node for status
  tendermint          Tendermint subcommands
  testnet             Initialize files for a fxchain testnet
  tx                  Transactions subcommands
  unsafe-reset-all    Resets the blockchain database, removes address book files, and resets data/priv_validator_state.json to the genesis state
  validate-genesis    validates the genesis file at the default location or at the location passed as an arg
  version             Print the application binary version information

Flags:
  -h, --help                 help for fxcored
      --home string          directory for config and data (default "/root/.fxcore")
      --log_filter strings   The logging filter can discard custom log type (ABCIQuery)
      --log_format string    The logging format (json|plain) (default "plain")
      --log_level string     The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
      --trace                print out full stack trace on errors

Use "fxcored [command] --help" for more information about a command.
Example

Local node startup

fxcored init --chain-id=fxcore --denom=FX local
fxcored keys add fx1
fxcored add-genesis-account fx1 4000000000000000000000FX
fxcored gentx fx1 1000000000000000000000FX --chain-id=fxcore \
    --moniker="fx-validator" \
    --commission-max-change-rate=0.01 \
    --commission-max-rate=0.2 \
    --commission-rate=0.01 \
    --details="Details A Function X foundation self-hosted validator." \
    --security-contact="contact@functionx.io" \
    --website="functionx.io"
fxcored collect-gentxs
fxcored start

Learn more

Directories

Path Synopsis
app
upgrades/v2
nolint:staticcheck
nolint:staticcheck
upgrades/v3
nolint:staticcheck
nolint:staticcheck
cli
cmd
docs
grpc/base/gasprice
Package gasprice is a reverse proxy.
Package gasprice is a reverse proxy.
grpc/base/gasprice/legacy
Package legacy is a reverse proxy.
Package legacy is a reverse proxy.
network
Package network implements and exposes a fully operational in-process Tendermint test network that consists of at least one or potentially many validators.
Package network implements and exposes a fully operational in-process Tendermint test network that consists of at least one or potentially many validators.
x
bsc
crosschain/client/cli
nolint:staticcheck
nolint:staticcheck
crosschain/types
Package types is a reverse proxy.
Package types is a reverse proxy.
erc20/types
Package types is a reverse proxy.
Package types is a reverse proxy.
eth
evm
gov
gravity/client/cli
nolint:staticcheck
nolint:staticcheck
gravity/keeper
nolint:staticcheck
nolint:staticcheck
gravity/legacy/v2
nolint:staticcheck
nolint:staticcheck
gravity/types
Package types is a reverse proxy.
Package types is a reverse proxy.
ibc
ibc/applications/transfer/types
Package types is a reverse proxy.
Package types is a reverse proxy.
migrate/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

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