Skip to content

ceob68/bitcoin-router

Repository files navigation

BTC Router — Cross-Protocol Routing Engine on Bitcoin L1

Multi-hop token routing engine built on Bitcoin L1 via OP_NET. Execute single and multi-hop swaps across any pool, flash routes with zero collateral, circular arbitrage, and atomic cross-protocol transactions in a single Bitcoin block.

Contract

opt1sqq6g6eymz08l02m7n689kvdx2y3d3u359qpqtzap

Features

  • Multi-hop routing (1, 2, or 3 hops)
  • Exact-in and exact-out swap modes
  • Flash routes — borrow, route, repay atomically
  • Circular arbitrage detection and execution
  • Cross-protocol routing (BTCLend, PerpForge, DEX, Oracle, YieldForge, Liquidator)
  • Live quote calculation with price impact
  • Route registration and management

Stack

  • Smart Contract: AssemblyScript → WASM · OP_NET Bitcoin L1
  • Frontend: Vanilla HTML/CSS/JS · Neural Topology UI · Canvas animations
  • Deploy: Vercel

Live

https://bitcoin-router.vercel.app

About

Cross-Protocol Routing Engine on Bitcoin L1 - Multi-hop swaps, flash routes, arbitrage, atomic cross-protocol txs. Powered by OP_NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors