Browse guides
Run a funded demonstration
Prepare the two venues, check privileges and follow a single capped trading window.
On this page
Run a funded demonstration
Use the team's private operator machine for execution. The public Workspace and Dashboard can be opened without connecting a wallet. Start on one asset to verify the entire path. Repeat contract deployment and checks for the second asset when its inventory and caps are ready.
Prepare both venues
- Open the Global site in the unified HashKey Exchange app or on the Global website. Confirm that your verified account is eligible for the ETHUSDT or BTCUSDT spot market and the trade API. Create a dedicated key for trading and account queries, disable withdrawals and restrict its source IP if available. Global API reference
- Add HashKey Chain mainnet to an EVM wallet using chain ID 177 and RPC
https://mainnet.hsk.xyz. The native gas token is HSK. Check the receiving network and token contract before any transfer. Official wallet settings - Prepare native HSK for the accounts that submit transactions. Choose the treasury holding the trading inventory, the owner authorized to pause, and the operator authorized to sign. For a DEX buy, the treasury spends USDT and the spot account supplies ETH or BTC for the hedge. For a DEX sell, the treasury supplies WETH or WBTC and the spot account spends USDT. Each venue needs its inventory before entry.
Deploy the executor
The repository deployment guide provides the exact Foundry constructor arguments, dry run, deployment, runtime bytecode check and bounded approvals. Choose the maximum base and quote amounts and gas budget before signing. Record the deployment address and creation hash. Verify the matching source on Blockscout and check the bytecode against the local build. The new executor starts paused. Authorize only the intended input amounts, then unpause it from the owner account.
Verify before placing an order
Use the private operator configuration example. Keep its encrypted keystore, password file and Global credentials on the private host. Run both directions through the exchange's non-matching order validation.
uv run --locked python -m flowshield.v3_live --config /private/flowshield/eth.json check --verify-order-access
Look for CHECKED, the intended account identity, sufficient gas, inventory_available for the planned direction and TEST_ACCEPTED for its IOC. The result reports a timestamped market observation. Review the size cap before enabling the operator.
Follow the first pair
Start a live-data PAPER collection on the private host, with a new session ID, and use the same SQLite file when starting the watcher. Ensure the team has approved gas, a per-trade cap and the 24-hour loss budget before running the second command. It can spend real funds.
uv run --locked python -m flowshield.v3_runner --db /private/flowshield/paper.sqlite3 paper --session first-eth --seconds 900 --interval 5
While that collector is running, use a second private terminal.
uv run --locked python -m flowshield.v3_live --config /private/flowshield/eth.json watch \
--paper-db /private/flowshield/paper.sqlite3 --session first-eth \
--watch-id first-eth-window --duration-seconds 120 --max-new-plans 1 --confirm-funded
A window can finish with zero trades. Entry needs an eligible AI selection, a fresh recheck and at least 30 bps after modeled costs. A pending receipt or uncertain IOC retains its original ID. Verify that intent in the private journal before any recovery. A completed pair has a canonical DEX receipt and reconciled IOC fills. The operator can then export the redacted evidence for Funded results. Settlement and recovery
Rehearse on HashKey testnet first
Open the Testnet dashboard for two live, block-pinned HSKSwap quotes. The dashboard reads chain 133. The ETH and BTC pools use test tokens. The Confirmed two-pool trades section links the BTC and ETH HSKSwap rehearsals. Each settled both legs on-chain using a team-funded exit pool. The HSKSwap and Global SIM settlement section requires a matched DEX receipt and authenticated exchange fill. Read the receipts The mainnet dashboard has a separate ledger and publication.
Use a test-only wallet, test HSK for gas, input tokens from the displayed pool, and a HashKey Global sandbox account. A DEX buy also needs base inventory in the SIM account. Check that the exchange accepts a SIM IOC before starting a paired run. Operator commands
Confirmed testnet deployments
The ETH and BTC executors were deployed on chain 133 and their runtime hashes were checked against the simulated constructor output. Each started paused, with a 26 tUSDT quote cap.
| Market | Executor | Deployment block |
|---|---|---|
| ETH | 0x09b991c2c8caa51d9eb9dd8752f7736c3b8eb9f3 | 36,513,236 |
| BTC | 0x03624577d050cd6c6b2120ae49b6abc27704ff63 | 36,513,255 |