Developer Documentation
  • What is CTEX?
  • Learn about CTEX Chain
    • Ctex Overview: vision, strategy and platform components
    • The Ctex Blockchain
      • Ctex Consensus Mechanism
      • Delegation and Staking with Validators
      • Ethereum (EVM) Compatibility and Smart Contracts
      • Boosting Ctex's Scalability
  • Empowering Global Payments with Ctex
  • Ctex Key Feature
  • Ctex Consensus
  • CTEX Clusters
    • CTEXChain Mainnet
    • CTEXChain Testnet
    • CLI Command
    • Ctex Faucet
    • Audit Report
  • Integrating with Metamask
    • Add Ctex Chain Network to Metamask
    • Config Custom Token
    • How to Reset Metamask Wallet
  • CTEX Exclusive Product
  • Ctex Coin
    • Technical
    • Utility
    • Distribution
  • Run Master Node
  • Developer Guide
    • Token Standard
      • CTEX-721 Token
      • CTEX-20 Token
  • APIs
    • accounts
    • blockNumber
    • call
    • chainId
    • estimateGas
    • gasPrice
    • getBalance
    • getBlockByHash
    • getBlockByNumber
    • getBlockTransactionCountByHash
    • getBlockTransactionCountByNumber
    • getCode
    • getLogs
    • getStorageAt
    • getTransactionByBlockHashAndIndex
    • getTransactionByBlockNumberAndIndex
    • getTransactionByHash
    • getTransactionCount
    • getTransactionReceipt
    • getUncleByBlockHashAndIndex
    • getUncleByBlockNumberAndIndex
    • getUncleCountByBlockHash
    • getUncleCountByBlockNumber
    • getWork
    • hashrate
    • mining
    • protocolVersion
    • sendRawTransaction
    • submitWork
    • syncing
    • net_listening
    • net_peerCount
    • net_version
    • web3_clientVersion
    • parity_nextNonce
    • Filter methods
    • newFilter
    • newBlockFilter
    • getFilterChanges
    • uninstallFilter
  • Depolying CTEX chain
    • Using Remix
    • Using Truffle
    • Using Hardhat
    • Using Replit
    • Using Alchemy
  • Whitepaper
  • Technical Paper
  • Yellow Paper
Powered by GitBook
On this page
  1. CTEX Clusters

CLI Command

This shows useful CLI commands for developers to work with the Ignite client

Command: $geth [OPTIONS]

Options:

  • --verbosity: log level from 1 to 5. Here we're using 4 for debug messages

  • --datadir: path to your data directory created above.

  • --keystore: path to your account's keystore created above.

  • --identity: your full-node's name.

  • --password: your account's password.

  • --networkid: our network ID.

  • --port: your full-node's listening port (default to 30303)

  • --http, --http.corsdomain, --http.addr, --http.port, --http.vhosts: your full-node will accept RPC requests at 8545 TCP.

  • --ws, --ws.addr, --ws.port, --ws.origins: your full-node will accept Websocket requests at 8546 TCP.

  • --mine: [required] your full-node wants to register to be a candidate for masternode selection.

  • --gasprice: Minimal gas price to accept for mining a transaction.

  • --targetgaslimit: Target gas limit sets the artificial target gas floor for the blocks to mine (default: 4712388)

  • --bootnode: bootnode information to help to discover other nodes in the network

  • --gcmode: blockchain garbage collection mode ("full", "archive")

  • --synmode: [required] blockchain sync mode

  • --ethstats: send data to stats website

PreviousCTEXChain TestnetNextCtex Faucet

Last updated 1 year ago