icRamp Devlog #1 — Chain Fusion & Bitcoin

icRamp Devlog #1 — Chain Fusion & Bitcoin

11/20/20242 min • icramp
ICPBitcoinChain Fusion

Our week-by-week progress, code snippets, and lessons learned.

On November 2024 we won our second ICP hackathon grant. After creating our p2p offramping of Ethereum and ICP for ETH Prague 2024, we made it again and won Encode Club's "ICP Chain Fusion Hackathon: BITCOIN EDITION". As a result, we won two additional grants. In these icRamp devlogs, we are going to cover the development of our progress. We already finished the first grant to finish Bitcoin integration, so we will start by the second one. Here are the milestones we described for it:

Milestone 1: Payment Layer Overhaul & Vault Refractor (Est. 6–8 weeks)

Objectives:

  • Simplify and modernize EVM integration using ic-alloy
  • Refactor vault and smart contract logic to unify EVM & Bitcoin handling
  • Remove EVM on-chain lock state and shift logic to ICP backend (vault)
  • Add Stripe and diversify payment methods beyond PayPal
  • Support crypto payments (BTC, ETH, ICP, stablecoins)
  • Implement “liquid orders” (partial fills and top-ups by other users)

Deliverables:

  • Integration of ic-alloy for cleaner, more robust EVM calls
  • Simplified backend vault logic and aligned flow across chains
  • Orders support crypto/fiat choice with dynamic UI
  • Stripe integration with test flow
  • Liquid order architecture: partial matching, top-up logic
  • Updated documentation and sample order flows

Milestone 2: Solana Integration for P2P Onramping

Objectives:

  • Expand icRamp’s multi-chain onramping capabilities by integrating Solana
  • Support P2P orders using USDC and SPL tokens on Solana
  • Add Solana login and wallet linking to WebApp and Telegram flows
  • Adapt backend vault logic to track and process Solana orders
  • Enable users to create, match, and complete orders using Solana assets

Deliverables:

  • New canister to handle Solana wallet derivation and transaction signing
  • USDC (SPL) token support within the order system: receive/send for P2P flow
  • Wallet connection support using Phantom/WalletConnect
  • Unified backend logic for Bitcoin, Ethereum, and Solana in the vault
  • Updated frontend (web + Telegram) to detect Solana and handle orders
  • Full test flows + documentation showcasing Solana-based P2P orders

In the next posts, we will write up what we consider relevant, both as tutorial and examples to code on ICP as well as to understand our platform technically better.

Stay Updated

Get notified when I publish new articles about Web3 development, hackathon experiences, and cryptography insights.

You might also like

icRamp Devlog #20 — Pay with Crypto (Settlement & Verification)

We finish the pay-with-crypto flow: from Locked orders to on-chain payments, matching provider assets, and verifying EVM/Solana txs on the backend.

icRamp Devlog #19 — Pay with Crypto (Frontend UX & Provider Flows)

Frontend wiring for the experimental 'pay with crypto' path: crypto providers in the user profile, filtered provider selection in Create Order, and a compact order card UX for onrampers choosing how to pay.

icRamp Devlog #18 — Pay with Crypto (Experimental Trustless P2P Bridge)

We add an experimental 'pay with crypto' path that lets onrampers settle in stables on a different chain than the escrowed asset. Includes provider model refactor and order validation. Frontend exposure starts with stables for speed.