1.Install SGX Environment linux-sgx 2.Install subxt-cli: cargo install subxt-cli 3.Save the encoded metadata to a file: subxt metadata -f bytes > metadata.scale 4.Usage ./target/release/trex-subxt -n "host:port" -t "account_path" -s "seed.yml_file_path(e.g. ./src/seed.yml)"