One terminal. Every chain.
txio is a CLI for developers who'd rather not install six different blockchain tools. One binary covers Sui, Ethereum, Solana, Aptos, and Soroban — same flags, same commands, predictable output.
- Five chains, one CLI. Sui, Ethereum, Solana, Aptos, Soroban.
- Network switching that gets out of the way.
--network testnetand move on. - Names, not hex.
aliphatic.suiresolves before the request fires. - Did-you-mean built in. Typo'd
ethreum? It'll suggestethereum. - Readable output by default.
--prettyif you want raw JSON.
Pick whichever fits your setup.
Cargo (Rust):
cargo install txio-cli # installs the `txio` binaryFor local dev: cargo install --path . from the repo root.
Homebrew (macOS/Linux):
brew tap txio-cli/txio
brew install txionpm (Node.js):
npm install -g @txio-cli/txioShell script:
curl -fsSL https://txio-cli.dev/install.sh | bashThen txio is on your PATH.
txio loginStores a JWT in ~/.txio/token so requests get logged to your account.
# Sui (mainnet by default)
txio sui balance 0x10735ec3c80f136c482c694d5cba775ee1ac7f971686fcd3d47f3f0175e5ff8b
# Solana (devnet)
txio --network devnet solana balance <address>
# Ethereum (testnet)
txio --network testnet eth balance <address>Decimals and hex conversions are handled for you.
Mainnet is the default. Override with --network (or -n):
txio --network testnet sui balance 0x123...
txio --network localnet solana call --method getHealthSupported: mainnet, testnet, devnet, localnet.
Where chains support it, pass names instead of addresses:
txio sui balance aliphatic.suitxio resolves to the hex address before the call goes out.
Skip the default public nodes with --rpc-url:
txio --rpc-url https://my.custom.node sui balance <address>txio sui call --method suix_getChainIdentifier
txio solana call --method getAccountInfo --params '["<address>"]'If you're logged in, the call is logged under your account.
txio uses a ChainAdapter trait. Every chain lives in src/chains/.
- Drop a new file at
src/chains/mychain.rs. - Implement
ChainAdapter— at minimum,call_rpcandget_balance. - Register it in
ChainFactory(src/chains/factory.rs).
That's the whole flow.
txio --help # everything
txio login # interactive login, stores JWT in ~/.txio/token
txio profile # view, update email, change password
txio db list-users # admin onlySee CONTRIBUTING.md for bug reports, enhancement suggestions, and the PR process. Please also read our Code of Conduct.
MIT — see LICENSE.