quoteBuy(amountWeth)
Routes RHC-WETH → WABIT through the deployed TradeRouter and returns venue, actual input used and WABIT output.
$WABIT // DaWabLauncherOpen integration infrastructure for three WABIT markets and six arbitrage routes: RHC WABIT/RHC-WETH plus Ethereum WABIT/WETH and WABIT/USDT. Consume the public DaWabit API, verify with direct RPC, inspect Beacon state, prepare unsigned TradeRouter execution, or run the production reference searcher with pinned-fork validation and live gas-normalized route economics. Searchers bring their own inventory and signing credentials.
Routes RHC-WETH → WABIT through the deployed TradeRouter and returns venue, actual input used and WABIT output.
Routes WABIT → RHC-WETH through the same lifecycle-aware TradeRouter interface.
Reads venue, activation/graduation state, curve parameters, WABIT inventory and RHC-WETH balance.
Reads coherent same-block WABIT/WETH and WABIT/USDT reserve state from api.dawabit.tech.
Independently verifies the Ethereum WABIT/WETH and WABIT/USDT V2 reserves using the searcher's own RPC.
Beacon v0.5.0 compares the same 0.01 WETH buy on RHC and Ethereum. Positive priceSpreadPct means Ethereum is cheaper; negative means RHC is cheaper. The public signal is market-dislocation data, not an execution-profit guarantee.
Uses the public API to return quote, slippage protection, allowance state, optional approval calldata and the unsigned TradeRouter transaction.
Direct helper returning unsigned {to,data,value} for an exact-input WETH→WABIT TradeRouter call.
Returns unsigned {to,data,value} for an exact-input WABIT→WETH TradeRouter call.
Open-source TypeScript implementation with a three-market / six-route model, pinned Anvil/Forge execution simulation, route-specific gas calibration, direct-RPC live execution, persistent journaling and a durable circuit breaker.
Models both directions between RHC and each Ethereum pool plus both Ethereum cross-pool routes. Cross-chain routes assume pre-positioned inventory.
Combines live Ethereum/RHC gas prices with fork-calibrated route gas units to separate gross executable edge from modeled net-after-gas edge.
The open-source DaWab reference searcher is the executable companion to the browser Searcher Kit. The repository now models all six routes across the three WABIT markets, and all six routes have been executed successfully against pinned mainnet fork state with 0.0000 bps modeled-vs-executed output drift in the validated snapshot.
RHC WABIT/RHC-WETH, Ethereum WABIT/WETH and Ethereum WABIT/USDT are evaluated as one connected arbitrage topology.
Ethereum legs run against Anvil mainnet forks and RHC legs against Forge mainnet forks. Actual first-leg output is fed into the second leg.
Each route has its own measured Ethereum/RHC gas-unit profile. Live gas prices are applied separately so route net economics change with current gas conditions.
Fork proof does not automatically authorize live execution. The proven autonomous production route remains ETH/WETH → RHC; reverse, USDT and Ethereum-only routes remain disabled until separately enabled and protected.
Persistent execution journal, durable circuit breaker, mandatory hedge handling and fresh re-optimization after every completed live trade.
The public state.json feed remains advisory for discovery/corroboration. Live execution uses authoritative direct-RPC state and exact preflight checks.
Reference notional: 0.01 WETH equivalent. Cross-chain routes assume pre-positioned inventory; bridge/rebalance cost, latency, MEV and execution competition remain outside the displayed gas-adjusted model.
Route Ethereum gas RHC gas ETH_WETH_TO_RHC 135232 259939 RHC_TO_ETH_WETH 162565 731265 ETH_USDT_TO_RHC 147591 259948 RHC_TO_ETH_USDT 175568 731265 ETH_WETH_TO_ETH_USDT 305988 0 ETH_USDT_TO_ETH_WETH 305356 0
These are fork-calibrated reference units, not permanent constants. RHC values currently reflect BondingCurve execution and must be recalibrated after graduation to the AMM.
fork-calibrated gas units × live gas price = modeled route gas cost
https://dawabit.tech/searcher/state.json
https://api.dawabit.tech/v1/ethereum/markets
Cached briefly for crawler/searcher efficiency. Includes current RHC venue/curve state, sample exact-input quotes, direct Ethereum reference-pool reserves, the six-route gas-adjusted arbitrageEngine, and the backward-compatible same-notional WABIT/WETH signal. Beacon v0.5.0 now selects the strongest positive eligible six-route net-after-gas edge from the public arbitrageEngine. The legacy WABIT/WETH same-notional signal remains available for compatibility. For canonical external integration, use api.dawabit.tech; /v1/ethereum/markets exposes both Ethereum WABIT pools at one block.
npm install viem
import { parseUnits } from 'viem';
import { DaWabSearcherKit } from './dawab-searcher-kit.mjs';
const kit = new DaWabSearcherKit();
const rhc = await kit.apiMarket('WABIT');
const eth = await kit.apiEthereumMarkets();
const buy = await kit.apiQuoteBuy(parseUnits('0.01', 18));
https://dawabit.tech/.well-known/dawablauncher.json
https://dawabit.tech/searcher/manifest.json
https://dawabit.tech/searcher/state.json
The browser/module Searcher Kit does not sign or broadcast transactions. The open-source production reference searcher adds six-route modeling, pinned-fork execution proof, route gas calibration and protected live execution using operator-supplied RPCs, inventory and signing credentials.