chia blockchain

medBlockChain 安裝chia-blockchian
git clone https://github.com/Chia-Network/chia-blockchain/

  • 使用poetry shell 建置虛擬環境後 activate
  • 需要安裝 poetry add psutil
  • chia init
  • chia key generate
  • chia start -d all #啟動所有的chia服務

所有chia服務

​​​​configure   Modify configuration
​​​​data        Manage your data
​​​​db          Manage the blockchain database
​​​​farm        Manage your farm
​​​​init        Create or migrate the configuration
​​​​keys        Manage your keys
​​​​netspace    Estimate total farmed space on the network
​​​​passphrase  Manage your keyring passphrase
​​​​peer        Show, or modify peering connections
​​​​plotnft     Manage your plot NFTs
​​​​plots       Manage your plots
​​​​plotters    Advanced plotting options
​​​​rpc         RPC Client
​​​​run_daemon  Runs chia daemon
​​​​show        Show node information
​​​​start       Start service groups
​​​​stop        Stop services
​​​​version     Show chia version
​​​​wallet      Manage your wallet

chia test

To join a testnet, recommended that a separate testnet environment kept by prepending CHIA_ROOT="~/.chia/testnetx" to all of your cli commands. CHIA_ROOT="~/.chia/testnet10" chia init. An easier way to do this is to run export CHIA_ROOT="~/.chia/testnet10" so that all commands will use testnet10 instead of mainnet. If you're using a version above 1.2.11 (currently in beta), you can update all config values to the testnet values by running chia configure -t true.

tags: chia區塊鏈