Cross-Chain Atomic Swaps

Secure, decentralized atomic swaps between Ethereum and Internet Computer Protocol (ICP)

Key Features

Advanced cross-chain functionality for secure token exchanges

Secure Atomic Swaps

Cryptographic hash time locks ensure secure cross-chain token exchanges without trusted intermediaries.

Time-Based Expiration

Automatic refund mechanisms with configurable timeouts prevent stuck transactions.

Multi-Chain Support

Native support for Ethereum and Internet Computer with extensible architecture.

System Architecture

The Alfa ICP Resolver implements a sophisticated cross-chain architecture with multiple components working together to enable secure atomic swaps.

Ethereum Contracts
Solidity smart contracts
ICP Canisters
Rust canisters
Cross-Chain Resolver
TypeScript service
Web Frontend
React application
Component Overview
  • Ethereum: HashedTimelock and LiquidityVault contracts
  • ICP: Hash time lock canister with ICRC-1 integration
  • Resolver: Cross-chain coordination service
  • Frontend: User interface for swap operations

Quick Start

Get up and running in minutes

Prerequisites
  • Node.js 16+ and npm
  • Rust and Cargo
  • DFX (Internet Computer SDK)
  • Hardhat (Ethereum development)
Installation
git clone https://github.com/olsemeno/alfa-icp-resolver
cd alfa-icp-resolver
npm install
dfx start --background
npm run deploy:all

🚀 Live Demo

Try the application live on Internet Computer

Experience Cross-Chain Swaps

Test the complete atomic swap functionality with our live demo deployed on Internet Computer.

Launch Live Demo

Documentation

Explore each component in detail

Ethereum Contracts

Smart contracts for Ethereum side of atomic swaps

Learn More
ICP Canisters

Rust canisters for Internet Computer integration

Learn More
Frontend

React-based user interface for swap operations

Learn More
Cross-Chain Resolver

TypeScript service for cross-chain coordination

Learn More