Repository navigation
Minor Changes
-
#879
f0face3Thanks @kome12! -nansen trade quote --to-chain hyperevmbridges into HyperEVM, andnansen trade bridge-statustracks it. HyperEVM is a destination only:--chain hyperevmis refused before any request, because the trading service has no same-chain HyperEVM swaps and the CLI cannot verify a transaction signed there. -
#879
330ac86Thanks @kome12! -nansen trade quote,executeandbridge-statusnow support Ethereum, Arbitrum and Polygon, in addition to Solana and Base. Swap-outcome verification runs on those chains through their public RPC (override withNANSEN_ETHEREUM_SIM_RPC,NANSEN_ARBITRUM_SIM_RPC,NANSEN_POLYGON_SIM_RPC). A swap's anchor side may now be any stablecoin the chain lists (USDC, or USDT where listed, including Solana USDT), not only USDC. Ethereum USDT allowances are reset to 0 before a new approval, as the token requires. The default Polygon RPC moved from polygon-rpc.com, which now refuses anonymous calls, to publicnode. On Arbitrum and Polygon,trade executecan't send a token approval yet: a sell that needs one (or a revoke of an oversized allowance first) is refused before anything is signed. Native-token sells, and sells of a token already approved for the swap, work. -
#879
87a11eeThanks @kome12! -nansen tradenow supports Robinhood Chain (--chain robinhood), with USDG as its stablecoin anchor. Swap-outcome verification runs on its public RPC (override withNANSEN_ROBINHOOD_SIM_RPC, and the RPC itself withNANSEN_ROBINHOOD_RPC). The trading service refuses Robinhood Chain trades from some regions. Token addresses on robinhood are now checked for the 0x format. As on Arbitrum and Polygon, a sell that needs a token approval is refused before anything is signed.