This document contains the help content for the tycho command-line program.
Command Overview:
tycho↴tycho init↴tycho init config↴tycho init validator↴tycho init systemd↴tycho node↴tycho node run↴tycho node status↴tycho node ping↴tycho node get-account↴tycho node get-neighbours↴tycho node find-archive↴tycho node list-archives↴tycho node dump-archive↴tycho node list-blocks↴tycho node dump-block↴tycho node dump-proof↴tycho node dump-queue-diff↴tycho node gc-archives↴tycho node gc-blocks↴tycho node gc-states↴tycho node compact↴tycho node wait-sync↴tycho node mem-profiler↴tycho node mem-profiler start↴tycho node mem-profiler stop↴tycho node mem-profiler dump↴tycho node overlay↴tycho node overlay list↴tycho node overlay peers↴tycho node dht↴tycho node dht find-node↴tycho tool↴tycho tool gen-dht↴tycho tool gen-key↴tycho tool gen-zerostate↴tycho tool gen-account↴tycho tool gen-account wallet↴tycho tool gen-account multisig↴tycho tool gen-account giver↴tycho tool bc↴tycho tool bc get-param↴tycho tool bc set-param↴tycho tool bc set-master-key↴tycho tool bc set-elector-code↴tycho tool bc set-config-code↴tycho tool bc list-proposals↴tycho tool bc gen-proposal↴tycho tool bc gen-proposal set-param↴tycho tool bc gen-proposal set-master-key↴tycho tool bc gen-proposal set-elector-code↴tycho tool bc gen-proposal set-config-code↴tycho tool bc gen-proposal-vote↴tycho tool check-cells-db↴tycho tool dump-state↴tycho tool hardfork↴tycho elect↴tycho elect run↴tycho elect once↴tycho elect recover↴tycho elect withdraw↴tycho elect get-state↴tycho elect vote↴tycho util↴tycho util markdown-help↴
Tycho Node
Usage: tycho [OPTIONS] <COMMAND>
init— Create a node environment or reinitialize an existing onenode— Manage the nodetool— Work with blockchain stuffelect— Participate in validator electionsutil— Work with shell environment
-
--home <HOME>— Directory for config and keysDefault value:
/tmp/.tycho-ci
Create a node environment or reinitialize an existing one
Usage: tycho init [OPTIONS] --global-config <GLOBAL_CONFIG> init [OPTIONS] <COMMAND>
config— Generate a default node configvalidator— Generate validator keys and walletsystemd— Generate systemd services
-
-b,--binary <BINARY>— Path to thetychobinaryDefault value:
/tmp/tycho-bin -
--validator— Whether to init as a validator -
--stake <STAKE>— Validator stake per round -
--systemd— Whether to create a systemd services -
-g,--global-config <GLOBAL_CONFIG>— Path or URL of the global config
Generate a default node config
Usage: tycho init config [OPTIONS] [OUTPUT]
<OUTPUT>— Custom path to the output file. Default:$TYCHO_HOME/config.json
-f,--force— Overwrite the existing config-a,--all— Generate all config fields
Generate validator keys and wallet
Usage: tycho init validator --stake <STAKE>
--stake <STAKE>— Validator stake per round
Generate systemd services
Usage: tycho init systemd [OPTIONS]
-
-b,--binary <BINARY>— Path to thetychobinaryDefault value:
/tmp/tycho-bin
Manage the node
Usage: tycho node <COMMAND>
run— Run a Tycho nodestatus— Get node statusping— Ping the control serverget-account— Get account state from the nodeget-neighbours— Get list of all known public overlay neighboursfind-archive— Get archive info from the nodelist-archives— Fetch the list of all stored archive idsdump-archive— Dump the archive from the nodelist-blocks— Fetch the list of all stored block idsdump-block— Download a block from the nodedump-proof— Dump a block proof from the nodedump-queue-diff— Dump a queue diff from the nodegc-archives— Trigger a garbage collection of archivesgc-blocks— Trigger a garbage collection of blocksgc-states— Trigger a garbage collection of statescompact— Trigger a compaction in databasewait-sync— Wait until node syncedmem-profiler— Manage memory profileroverlay— Overlay runtime toolsdht— DHT runtime tools
Run a Tycho node
Usage: tycho node run [OPTIONS]
-
-c,--config <CONFIG>— Path to the node config. Default:$TYCHO_HOME/config.json -
-g,--global-config <GLOBAL_CONFIG>— Path to the global config. Default:$TYCHO_HOME/global-config.json -
-k,--keys <KEYS>— Path to the node keys. Default:$TYCHO_HOME/node_keys.json -
-t,--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
-l,--logger-config <LOGGER_CONFIG>— Path to the logger config -
-z,--import-zerostate <IMPORT_ZEROSTATE>— List of zerostate files to import -
--wu-tuner-config <WU_TUNER_CONFIG>— Path to the work units tuner config -
-b,--cold-boot <COLD_BOOT>— Overwrite cold boot type. Default:latest-persistentPossible values:
genesis,latest-persistent -
-s,--single-node— Pass this flag if you usedjust gen_network 1for manual tests
Get node status
Usage: tycho node status [OPTIONS]
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock
Ping the control server
Usage: tycho node ping [OPTIONS]
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock
Get account state from the node
Usage: tycho node get-account [OPTIONS] --addr <ADDR>
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock-a,--addr <ADDR>— Account address-p,--parse— Parse the account state
Get list of all known public overlay neighbours
Usage: tycho node get-neighbours [OPTIONS]
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
-h,--human-readable -
--helpPossible values:
true,false
Get archive info from the node
Usage: tycho node find-archive [OPTIONS] --seqno <SEQNO>
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock--seqno <SEQNO>— masterchain block seqno
Fetch the list of all stored archive ids
Usage: tycho node list-archives [OPTIONS]
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
-h,--human-readable -
--helpPossible values:
true,false
Dump the archive from the node
Usage: tycho node dump-archive [OPTIONS] --seqno <SEQNO> <OUTPUT>
<OUTPUT>— path to the output file
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock--seqno <SEQNO>— masterchain block seqno-d,--decompress— decompress the downloaded archive
Fetch the list of all stored block ids
Usage: tycho node list-blocks [OPTIONS]
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
-h,--human-readable -
--helpPossible values:
true,false
Download a block from the node
Usage: tycho node dump-block [OPTIONS] --block-id <BLOCK_ID> <OUTPUT>
<OUTPUT>— path to the output file
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock-b,--block-id <BLOCK_ID>— full block ID
Dump a block proof from the node
Usage: tycho node dump-proof [OPTIONS] --block-id <BLOCK_ID> <OUTPUT>
<OUTPUT>— path to the output file
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock-b,--block-id <BLOCK_ID>— full block ID
Dump a queue diff from the node
Usage: tycho node dump-queue-diff [OPTIONS] --block-id <BLOCK_ID> <OUTPUT>
<OUTPUT>— path to the output file
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock-b,--block-id <BLOCK_ID>— full block ID
Trigger a garbage collection of archives
Usage: tycho node gc-archives [OPTIONS] <--seqno <SEQNO>|--distance <DISTANCE>>
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock--seqno <SEQNO>— Triggers GC for the specified MC block seqno--distance <DISTANCE>— Triggers GC for the MC block seqno relative to the latest MC block
Trigger a garbage collection of blocks
Usage: tycho node gc-blocks [OPTIONS] <--seqno <SEQNO>|--distance <DISTANCE>>
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock--seqno <SEQNO>— Triggers GC for the specified MC block seqno--distance <DISTANCE>— Triggers GC for the MC block seqno relative to the latest MC block
Trigger a garbage collection of states
Usage: tycho node gc-states [OPTIONS] <--seqno <SEQNO>|--distance <DISTANCE>>
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock--seqno <SEQNO>— Triggers GC for the specified MC block seqno--distance <DISTANCE>— Triggers GC for the MC block seqno relative to the latest MC block
Trigger a compaction in database
Usage: tycho node compact [OPTIONS] --database <DATABASE>
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
-d,--database <DATABASE>— DB name. Possible values are:base,mempool,rpcor otherPossible values:
base,mempool,rpc
Wait until node synced
Usage: tycho node wait-sync [OPTIONS]
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
-t,--timediff <TIMEDIFF>— Threshold node time diffDefault value:
10s -
--sample-window-size <SAMPLE_WINDOW_SIZE>— Size of the sliding window used to track recent sync statusesDefault value:
10 -
--min-required-samples <MIN_REQUIRED_SAMPLES>— Minimum number of successful samples required to consider the system as totally syncedDefault value:
7
Manage memory profiler
Usage: tycho node mem-profiler <COMMAND>
start— Start the memory profilerstop— Stop the memory profilerdump— Dump the memory profiler data
Start the memory profiler
Usage: tycho node mem-profiler start [OPTIONS]
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock
Stop the memory profiler
Usage: tycho node mem-profiler stop [OPTIONS]
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock
Dump the memory profiler data
Usage: tycho node mem-profiler dump [OPTIONS] <OUTPUT>
<OUTPUT>— path to the output file
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock
Overlay runtime tools
Usage: tycho node overlay <COMMAND>
list— List all active public and private overlayspeers— Get overlay peers
List all active public and private overlays
Usage: tycho node overlay list [OPTIONS]
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock
Get overlay peers
Usage: tycho node overlay peers [OPTIONS] <OVERLAY_ID>
<OVERLAY_ID>— overlay id
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
-h,--human-readable -
--helpPossible values:
true,false
DHT runtime tools
Usage: tycho node dht <COMMAND>
find-node— Find at mostknodes that can contain the specifiedkey
Find at most k nodes that can contain the specified key
Usage: tycho node dht find-node [OPTIONS] -k <K> <KEY>
<KEY>— Key hash
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock-k <K>— Maximum number of nodes to return--peer-id <PEER_ID>— TargetPeerId
Work with blockchain stuff
Usage: tycho tool <COMMAND>
gen-dht— Generate a DHT entry for a nodegen-key— Generate a new key pairgen-zerostate— Generate a zero state for a networkgen-account— Generate an account statebc— Blockchain stuffcheck-cells-db— Check that the cells database is consistentdump-state— Dumps node state for a specific block, intended for testing collation of the next block. This tool interacts directly with the node's database, bypassing the need for a running node, which is useful for analyzing failed nodeshardfork— Saves masterchain and shardchain states to files to run network from
Generate a DHT entry for a node
Usage: tycho tool gen-dht [OPTIONS] <ADDR>...
<ADDR>— a list of node addresses
--key <KEY>— node secret key (reads from stdin if not provided)-r,--raw-key— expect a raw key input (32 bytes)--ttl <TTL>— time to live in seconds (default: unlimited)
Generate a new key pair
Usage: tycho tool gen-key [OPTIONS]
--key <KEY>— secret key (reads from stdin if only flag is provided)-r,--raw-key— expect a raw key input (32 bytes)
Generate a zero state for a network
Usage: tycho tool gen-zerostate [OPTIONS] [CONFIG]
<CONFIG>— path to the zero state config
-i,--init-config <INIT_CONFIG>— dump the template of the zero state config-o,--output <OUTPUT>— path to the output file--now <NOW>— explicit unix timestamp of the zero state-f,--force
Generate an account state
Usage: tycho tool gen-account <COMMAND>
wallet— Generate a simple wallet statemultisig— Generate a multisig wallet stategiver— Generate a giver state
Generate a simple wallet state
Usage: tycho tool gen-account wallet [OPTIONS] --pubkey <PUBKEY> --balance <BALANCE>
-
-p,--pubkey <PUBKEY>— Account public key -
-b,--balance <BALANCE>— Initial balance of the account -
-e,--extra-balance <EXTRA_BALANCE>— Initial extra currencies balance of the account.Specified as a comma-separated list of
currency_id:amount
Generate a multisig wallet state
Usage: tycho tool gen-account multisig [OPTIONS] --pubkey <PUBKEY> --balance <BALANCE>
-
-p,--pubkey <PUBKEY>— account public key -
-b,--balance <BALANCE>— Initial balance of the account -
-e,--extra-balance <EXTRA_BALANCE>— Initial extra currencies balance of the account.Specified as a comma-separated list of
currency_id:amount -
-c,--custodians <CUSTODIANS>— list of custodian public keys -
-r,--req-confirms <REQ_CONFIRMS>— Number of required confirmations -
-l,--lifetime <LIFETIME>— Custom lifetime of the wallet -
-u,--updatable— UseSetcodeMultisiginstead ofSafeMultisig
Generate a giver state
Usage: tycho tool gen-account giver [OPTIONS] --pubkey <PUBKEY> --balance <BALANCE>
-
-p,--pubkey <PUBKEY>— account public key -
-b,--balance <BALANCE>— Initial balance of the account -
-e,--extra-balance <EXTRA_BALANCE>— Initial extra currencies balance of the account.Specified as a comma-separated list of
currency_id:amount
Blockchain stuff
Usage: tycho tool bc <COMMAND>
get-param— Get blockchain config parameterset-param— Set blockchain config parameterset-master-key— Set blockchain config keyset-elector-code— Set elector contract codeset-config-code— Set config contract codelist-proposals— List active config proposalsgen-proposal— Create proposal payload and compute the required amountgen-proposal-vote— Create proposal voting payload
Get blockchain config parameter
Usage: tycho tool bc get-param [OPTIONS] --rpc <RPC> <PARAM>
<PARAM>— parameter index
--raw-value— show value as a raw base64-encoded BOC--rpc <RPC>— RPC url
Set blockchain config parameter
Usage: tycho tool bc set-param [OPTIONS] --rpc <RPC> <PARAM> <VALUE>
<PARAM>— parameter index<VALUE>— parameter value
-
--raw-value— treat value as a raw base64-encoded BOC -
--rpc <RPC>— RPC url -
--ttl <TTL>— message ttlDefault value:
40 -
--key <KEY>— secret key (reads from stdin if only flag is provided) -
-r,--raw-key— expect a raw key input (32 bytes)
Set blockchain config key
Usage: tycho tool bc set-master-key [OPTIONS] --rpc <RPC> <PUBKEY>
<PUBKEY>— new public key
-
--rpc <RPC>— RPC url -
--ttl <TTL>— message ttlDefault value:
40 -
--key <KEY>— secret key (reads from stdin if only flag is provided) -
-r,--raw-key— expect a raw key input (32 bytes)
Set elector contract code
Usage: tycho tool bc set-elector-code [OPTIONS] --rpc <RPC> <CODE_PATH>
<CODE_PATH>— path to the elector code BOC
-
--upgrade-args <UPGRADE_ARGS>— optional parameters forafter_code_upgrade -
--rpc <RPC>— RPC url -
--ttl <TTL>— message ttlDefault value:
40 -
--key <KEY>— secret key (reads from stdin if only flag is provided) -
-r,--raw-key— expect a raw key input (32 bytes)
Set config contract code
Usage: tycho tool bc set-config-code [OPTIONS] --rpc <RPC> <CODE_PATH>
<CODE_PATH>— path to the config code BOC
-
--upgrade-args <UPGRADE_ARGS>— optional parameters forafter_code_upgrade -
--rpc <RPC>— RPC url -
--ttl <TTL>— message ttlDefault value:
40 -
--key <KEY>— secret key (reads from stdin if only flag is provided) -
-r,--raw-key— expect a raw key input (32 bytes)
List active config proposals
Usage: tycho tool bc list-proposals [OPTIONS] --rpc <RPC>
--rpc <RPC>— RPC url--raw— do not parse proposals
Create proposal payload and compute the required amount
Usage: tycho tool bc gen-proposal <COMMAND>
set-param— Set blockchain config parameterset-master-key— Set blockchain config keyset-elector-code— Set elector contract codeset-config-code— Set config contract code
Set blockchain config parameter
Usage: tycho tool bc gen-proposal set-param [OPTIONS] --rpc <RPC> <PARAM> <VALUE>
<PARAM>— parameter index<VALUE>— parameter value
--raw-value— treat value as a raw base64-encoded BOC--ignore-prev-value— do not require the exact value to be changed--rpc <RPC>— RPC url--allow-duplicate— skip existing proposal check--no-send-gas— compute price without additional send gas--ttl <TTL>— proposal TTL. Default: lower bound from the blockchain config--query-id <QUERY_ID>— query ID. Default: current timestamp in milliseconds
Set blockchain config key
Usage: tycho tool bc gen-proposal set-master-key [OPTIONS] --rpc <RPC> <PUBKEY>
<PUBKEY>— new public key
--rpc <RPC>— RPC url--allow-duplicate— skip existing proposal check--no-send-gas— compute price without additional send gas--ttl <TTL>— proposal TTL. Default: lower bound from the blockchain config--query-id <QUERY_ID>— query ID. Default: current timestamp in milliseconds
Set elector contract code
Usage: tycho tool bc gen-proposal set-elector-code [OPTIONS] --rpc <RPC> <CODE_PATH>
<CODE_PATH>— path to the elector code BOC
--upgrade-args <UPGRADE_ARGS>— optional parameters forafter_code_upgrade--rpc <RPC>— RPC url--allow-duplicate— skip existing proposal check--no-send-gas— compute price without additional send gas--ttl <TTL>— proposal TTL. Default: lower bound from the blockchain config--query-id <QUERY_ID>— query ID. Default: current timestamp in milliseconds
Set config contract code
Usage: tycho tool bc gen-proposal set-config-code [OPTIONS] --rpc <RPC> <CODE_PATH>
<CODE_PATH>— path to the config code BOC
--upgrade-args <UPGRADE_ARGS>— optional parameters forafter_code_upgrade--rpc <RPC>— RPC url--allow-duplicate— skip existing proposal check--no-send-gas— compute price without additional send gas--ttl <TTL>— proposal TTL. Default: lower bound from the blockchain config--query-id <QUERY_ID>— query ID. Default: current timestamp in milliseconds
Create proposal voting payload
Usage: tycho tool bc gen-proposal-vote [OPTIONS] --rpc <RPC> <HASH>
<HASH>— Proposal hash
-
--rpc <RPC>— RPC url -
--ttl <TTL>— message ttlDefault value:
40 -
--key <KEY>— secret key (reads from stdin if only flag is provided) -
-r,--raw-key— expect a raw key input (32 bytes) -
--query-id <QUERY_ID>— query ID. Default: current timestamp in milliseconds
Check that the cells database is consistent
Usage: tycho tool check-cells-db [OPTIONS] <DB_ROOT>
<DB_ROOT>— Path to the database root directory
-
--temp-dir <TEMP_DIR>— Optional root for the temporary directory -
--accounts-split-depth <ACCOUNTS_SPLIT_DEPTH>— Base workchain accounts split depthDefault value:
4
Dumps node state for a specific block, intended for testing collation of the next block. This tool interacts directly with the node's database, bypassing the need for a running node, which is useful for analyzing failed nodes
Usage: tycho tool dump-state [OPTIONS] --output <OUTPUT> --block-id <BLOCK_ID>
--config <CONFIG>— Path to the node config. If not specified, will use db path--db <DB>— Path to the node's database directory--output <OUTPUT>— Path to the directory where the dump files will be saved-b,--block-id <BLOCK_ID>— The ID of the block for which to dump the state. Can be a masterchain or a shardchain block
Saves masterchain and shardchain states to files to run network from
Usage: tycho tool hardfork [OPTIONS] --output <OUTPUT> <DB> <MC_SEQNO>
<DB>— Path to the node's database directory<MC_SEQNO>— Seqno of the masterchain block for which to dump the states
--output <OUTPUT>— Path to the directory where the dump files will be saved--global-id <GLOBAL_ID>— Override global id--time <TIME>— Override time (in milliseconds)
Participate in validator elections
Usage: tycho elect <COMMAND>
run— Participate in validator electionsonce— Manually participate in validator elections (once)recover— Recover stakewithdraw— Withdraw funds from the validator walletget-state— Get elector contract statevote— Vote for config proposal
Participate in validator elections
Usage: tycho elect run [OPTIONS]
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
--rpc <RPC>— RPC url -
--force-rpc— Use rpc even when the control socket file exists -
-c,--config <CONFIG>— Path to elections config. Default:$TYCHO_HOME/elections.json -
--node-keys <NODE_KEYS>— Path to node keys. Default:$TYCHO_HOME/node_keys.json -
-s,--stake <STAKE>— Overwrite the stake size -
--stake-factor <STAKE_FACTOR>— Max stake factor. Uses config by default -
--stake-unfreeze-offset <STAKE_UNFREEZE_OFFSET>— Offset after stake unfreeze timeDefault value:
10m -
--elections-start-offset <ELECTIONS_START_OFFSET>— Time to do nothing after the elections startDefault value:
10m -
--elections-end-offset <ELECTIONS_END_OFFSET>— Time to stop doing anything before the elections endDefault value:
2m -
--min-retry-interval <MIN_RETRY_INTERVAL>— Min retry interval in case of errorDefault value:
10s -
--max-retry-interval <MAX_RETRY_INTERVAL>— Max retry interval in case of errorDefault value:
10m -
--retry-interval-factor <RETRY_INTERVAL_FACTOR>— Interval increase factorDefault value:
2 -
--disable-random-shift— Force stakes to be sent right after the elections start
Manually participate in validator elections (once)
Usage: tycho elect once [OPTIONS]
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
--rpc <RPC>— RPC url -
--force-rpc— Use rpc even when the control socket file exists -
-c,--config <CONFIG>— Path to elections config. Default:$TYCHO_HOME/elections.json -
--node-keys <NODE_KEYS>— Path to node keys. Default:$TYCHO_HOME/node_keys.json -
-s,--stake <STAKE>— Overwrite the stake size -
--stake-factor <STAKE_FACTOR>— Max stake factor. Uses config by default -
--wait-balance— Wait for the account balance to be enough -
-i,--ignore-delivery— Skip waiting for the message delivery -
--ttl <TTL>— Message TTLDefault value:
40s
Recover stake
Usage: tycho elect recover [OPTIONS]
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
--rpc <RPC>— RPC url -
--force-rpc— Use rpc even when the control socket file exists -
-c,--config <CONFIG>— Path to elections config. Default:$TYCHO_HOME/elections.json -
--wait-balance— Wait for the account balance to be enough -
-i,--ignore-delivery— Skip waiting for the message delivery -
--ttl <TTL>— Message TTLDefault value:
40s
Withdraw funds from the validator wallet
Usage: tycho elect withdraw [OPTIONS] --dest <DEST>
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
--rpc <RPC>— RPC url -
--force-rpc— Use rpc even when the control socket file exists -
-c,--config <CONFIG>— Path to elections config. Default:$TYCHO_HOME/elections.json -
-d,--dest <DEST>— Destination address -
-a,--amount <AMOUNT>— Amount in tokens -
--all— Withdraw everything from the wallet -
--all-but— Withdraw everything from the wallet reserving at least anamountof tokens -
-b,--bounce— Setsbouncemessage flag -
-p,--payload <PAYLOAD>— Withdrawal message payload as a base64-encoded BOC -
--wait-balance— Wait for the account balance to be enough -
-i,--ignore-delivery— Skip waiting for the message delivery -
--ttl <TTL>— Message TTLDefault value:
40s
Get elector contract state
Usage: tycho elect get-state [OPTIONS]
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock--rpc <RPC>— RPC url--force-rpc— Use rpc even when the control socket file exists
Vote for config proposal
Usage: tycho elect vote [OPTIONS] <HASH>
<HASH>— Proposal hash
-
--control-socket <CONTROL_SOCKET>— Path to the control socket. Default:$TYCHO_HOME/control.sock -
--rpc <RPC>— RPC url -
--force-rpc— Use rpc even when the control socket file exists -
-c,--config <CONFIG>— Path to elections config. Default:$TYCHO_HOME/elections.json -
--node-keys <NODE_KEYS>— Path to node keys. Default:$TYCHO_HOME/node_keys.json -
--wait-balance— Wait for the account balance to be enough -
-i,--ignore-delivery— Skip waiting for the message delivery -
--ttl <TTL>— Message TTLDefault value:
40s
Work with shell environment
Usage: tycho util <COMMAND>
markdown-help— Print a CLI help for all subcommands as Markdown
Print a CLI help for all subcommands as Markdown
Usage: tycho util markdown-help
This document was generated automatically by
clap-markdown.