| Crates.io | hypecli |
| lib.rs | hypecli |
| version | 0.1.3 |
| created_at | 2026-01-08 09:31:41.130236+00 |
| updated_at | 2026-01-10 20:48:09.200359+00 |
| description | CLI tool for interacting with Hyperliquid via hypersdk |
| homepage | https://github.com/infinitefield/hypersdk |
| repository | https://github.com/infinitefield/hypersdk |
| max_upload_size | |
| id | 2029802 |
| size | 226,908 |
A command-line interface for interacting with the Hyperliquid protocol.
hypecli is a lightweight CLI tool built on top of hypersdk for quick queries and operations on Hyperliquid. It provides fast access to market data, user balances, and DeFi protocol information without writing custom code.
cargo install hypecli
git clone https://github.com/infinitefield/hypersdk.git
cd hypersdk/hypecli
cargo install --path .
hypecli --help
Coordinate multi-signature transactions using decentralized peer-to-peer gossip, without relying on a centralized server.
The initiator creates a transaction proposal and waits for authorized signers to connect and sign:
hypecli multisig send-asset \
--multi-sig-addr 0xYourMultiSigWallet... \
--chain Mainnet \
--to 0xRecipient... \
--token USDC \
--amount 100 \
--keystore my-wallet
If no wallet is detected, hypecli defaults to a connected Ledger, if any.
Output:
Using signer 0xSigner1...
Authorized users: [0xSigner1..., 0xSigner2..., 0xSigner3...]
hypecli multisig sign --multi-sig-addr 0xYourMultiSigWallet... --chain Mainnet --connect endpoint...
Authorized 1/2
The command displays a connection ticket that other signers can use to connect. It waits until the signature threshold is met, then submits the transaction.
Other authorized signers connect to the initiator using the endpoint ticket:
hypecli multisig sign \
--multi-sig-addr 0xYourMultiSigWallet... \
--chain Mainnet \
--connect endpoint... \
--keystore another-wallet
Output:
Signer found using 0xSigner2...
Neighbor up: abc123...
SendAsset {
destination: 0xRecipient...,
token: "USDC",
amount: 100,
...
}
Accept (y/n)?
The signer reviews the transaction details and types y to approve or n to reject.
Signer Options:
You can provide signing credentials via:
--private-key 0x... - Direct private key (hex format)--keystore filename - Foundry keystore file (prompts for password)For keystores:
# With password prompt
hypecli multisig sign --keystore my-wallet --connect endpoint...
# With password flag (less secure, visible in history)
hypecli multisig sign --keystore my-wallet --password mypass --connect endpoint...
How P2P Multi-Sig Works:
Network Discovery:
The CLI uses multiple discovery mechanisms:
This allows signers to coordinate from anywhere, even behind NATs or firewalls.
Contributions are welcome! Please feel free to submit a Pull Request.
Ideas for contributions:
This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.
Note: This CLI is not officially affiliated with Hyperliquid. It is a community-maintained project built on hypersdk.