Hoodi on chain testing (Taker/Searcher)
We have a mockETH/mockUSDT propAMM pool on Ethereum Hoodi, chain ID 560048. Our maker continuously updates its prices based on Binance ETH/USDT. Traders and searchers can mint the mock tokens, follow the quotes, and submit test trades to our builder.
Our pool and mock tokens
propAMM pool:
0x13Ec0De3345413d39257EDf5059E5c0Afd2697c3mockETH, 18 decimals:
0x0b69c1695cFf156b84219061aF1DC40Cb4Ad1C07mockUSDT, 6 decimals:
0x4A656f5078DB417b915Fe980B36566F0F1A4225a
The mock tokens are freely mintable test assets. You also need native Hoodi ETH for gas; mockETH cannot pay transaction fees.
Mint tokens
Using Foundry's cast, replace the wallet address below and mint 1 mockETH and 1,000 mockUSDT:
RPC_URL="https://ethereum-hoodi-rpc.publicnode.com"
WALLET="0xYOUR_HOODI_WALLET_ADDRESS"
# Mint 1 mockETH
cast send 0x0b69c1695cFf156b84219061aF1DC40Cb4Ad1C07 \
'mint(address,uint256)' "$WALLET" 1000000000000000000 \
--rpc-url "$RPC_URL" --chain 560048 --interactive --async \
--gas-limit 100000 --gas-price 1000000000000 \
--priority-gas-price 500000000000
# Mint 1,000 mockUSDT
cast send 0x4A656f5078DB417b915Fe980B36566F0F1A4225a \
'mint(address,uint256)' "$WALLET" 1000000000 \
--rpc-url "$RPC_URL" --chain 560048 --interactive --async \
--gas-limit 100000 --gas-price 1000000000000 \
--priority-gas-price 500000000000Enter a funded Hoodi wallet's private key at the interactive prompt. The commands return transaction hashes; wait for successful receipts before trading.
Follow maker quotes
Connect to the price stream to see active pools, token pairs, and quoted input/output amounts:
Maker state updates for simulation are available on:
Both streams push updates without a subscription message. The maker must be running for fresh quotes to appear. The HTTP quote and state API:
Submit a trade bundle
Approve your input token to the propAMM pool, then build a call to its swap function:
Start with 0.01 mockETH or 10 mockUSDT per swap. Simulate using the maker state for the target block, then sign your taker transaction for Hoodi.
Submit the signed transaction through eth_sendBundle to our builder:
Replace the placeholders with your signed transaction and the next target block number in hex. Our builder adds the maker update separately.
For Searcher (Try arbitrage against Uniswap v4)
We also have a Uniswap v4 pool on Hoodi using the same mockETH and mockUSDT tokens. Searchers can compare its price with our propAMM, look for arbitrage opportunities, and submit bundles containing the required swaps to the same builder endpoint.
See the propAMM taker API for quote and simulation details.
Last updated