Skip to main content

enables smart contracts to interact with multiple networks. This allows developers to build multichain use cases on various blockchains.

enables Bitcoin and Ethereum to talk to each other

This code snippet is written in both Rust and the Motoko programming language but is also possible for Solidity, TypeScript, Python, and other languages.


import evm "ic:a6d44-nyaaa-aaaap-abp7q-cai";
import ic "ic:aaaaa-aa";
import Cycles "mo:base/ExperimentalCycles";
import Timer "mo:base/Timer";

actor {
let EVM_FEE = 1000;
let BITCOIN_FEE = 1000;

func check_evm_log() : async () {
Cycles.add<system>(EVM_FEE);
let log = await evm.eth_getLogs(
#EthMainnet(null),
null,
{
addresses = ["address"];
fromBlock = ? #Finalized;
toBlock = ? #Finalized;
topics = ?[["topic1", "topic2"]];
},
);
switch log {
case (#Consistent(#Ok(_))) {
await send_bitcoin();
};
case _ {};
};
};

func send_bitcoin() : async () {
Cycles.add<system>(BITCOIN_FEE);
await ic.bitcoin_send_transaction({
transaction = "\be\ef";
network = #testnet;
});
};

let _ = Timer.setTimer<system>(#seconds 2, check_evm_log);
};

Hello, Bitcoin

BUILD on Bitcoin at the speed of ICP. Bitcoin on ICP is not just a future promise, developers are already building incredible use cases.

Bitcoin integration
GM Ethereum

Full support for Ethereum and other EVM chains is now live allowing ICP smart contracts to augment EVM-based smart contracts with additional functionality.

Ethereum Integration

Benefits

Seamless and secure interoperability between different blockchains unlocks new possibilities.

Unique ICP features

You can utilize ICP’s core tech stack without migrating your smart contract or dapp to ICP. Chain Fusion technology enhances other Web3 ecosystems through unique features like chain-key signing, compute onchain, and HTTPs outcalls, enabling builders to augment their crypto dapps.

Smart contracts can hold BTC, ETH, and other tokens

ICP Smart contracts can read, write, own, and program multiple tokens across different networks, abstracting complexity away from the user and breaking the silos introduced by scaling solutions.

Onchain orchestration

Seamless cross-chain communication and orchestration. An ICP smart contract can orchestrate your Ethereum dapp's payments to the Bitcoin network, or execute DAO votes autonomously across chains.

ICP as a Coprocessor

Your dapp or smart contract can now offload heavy or expensive compute tasks to ICP without having to migrate your dapp or use an insecure solution.

Sample Codes & Startup Requests 

See all

Explore the integration of Chain Fusion with the Internet Computer through concise code examples and startup collaboration opportunities. Access ready-to-use code snippets and connect with innovative startups to accelerate your projects. Unleash the potential of Chain Fusion and Internet Computer synergy for your next venture.

Multi-chain

IC ETH Starter

IC-ETH verifies ETH NFTs, supports main/test nets.

Global

Ordinal Canister

A canister that enables the retrieval of ordinals and their corresponding inscriptions, making them easily accessible on the IC.

Multi-chain

OISY

Oisy Wallet: Multichain, ICP-based, manages ETH/ERC20, extendable to BTC/IC.

Multi-chain

PoS app for ckBTC

Experimental app showcasing ckBTC use on Internet Computer for POS payments.

igniting a thriving Web3 ecosystem

Enter the Chain Fusion ecosystem
logo
ckTokens

Chain-key tokens, like ckBTC, ckETH and ckUSDC, are 1:1 twin tokens backed tokens that enable fast, low-cost, and seamless transfers without third-party intermediaries.

logo
Metaprotocols

Metaprotocols leverage Chain Fusion to offer decentralized cross-chain infrastructure enabling the transfer of new assets on blockchains.

logo
Crosschain DEXes

Decentralized exchanges use Chain Fusion to facilitate trading of assets from different blockchains, providing a uniform user experience.

logo
Marketplaces

There are marketplaces for Ordinals and Runes that use Chain Fusion to allow users to purchase or trade efficiently, quickly, and easily.

building blocks for developers

ICP's native Bitcoin integration and RPC integrations, coupled with a suite of threshold signing protocols open a world of possibilities for developers.

Bitcoin UTXO API

Developers can create smart contracts that interact directly with the Bitcoin mainnet and testnet networks through ICP's direct integration with Bitcoin. The Bitcoin UTXO API allows reading from and writing to the Bitcoin network, e.g. UTXOs and balances or the percentiles of the fees for the last 10'000 transactions.

Read more
EVM RPC Canister

This smart contract enables decentralized RPC integrations with Ethereum and other EVM blockchains. Communication includes obtaining and sending information such as the logs of a specific block or transaction, historical data regarding the network's gas fee, transactions for a specific address, or submitting a signed transaction.

Read more
Threshold Signing Services

ICP incorporates a suite of threshold signing protocols including ECDSA and Schnorr which allow signing a variety of transactions across chains such as Ethereum and Bitcoin. Further threshold signing protocols like EdDSA and BLS are coming soon.

Read more
HTTPS Outcalls

HTTPS outcalls can be used to directly obtain off-chain data or interact with off-chain systems, such as Web 2.0 services or enterprise IT infrastructure. For example, oracle services can directly integrate with ICP in a trustless manner, dapps can provide user notifications, or communicate with other chains via RPC endpoints.

Read more

Start building with

News & Events

Get all the news and event infos about Chain Fusion Technology on ICP.

Explore more news
Chain Fusion Day at Bitcoin Nashville - Teaser

Chain Fusion Day at Bitcoin Nashville - Teaser

Chain Fusion Day - Bitcoin Edition was a half-day side event at Bitcoin Nashville 2024 that brought together researchers, founders, builders, and investors committed to developing a scalable Bitcoin economy.

Chain Fusion Technology: The Key to a Multichain Ecosystem

Sign up for email updates to keep up to date with the Internet Computer