Skip to main content

Sample Code

Get inspired! The possibilities of what to build on the IC are infinite. Find more sample code projects in the examples repo.
Sample codes17
Sample codes17
Sample codes17

Featured samples

Multi-chain

IC ETH Starter

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

Multi-chain

Add ERC-20 to IC ETH Starter

How to Verify ERC-20 Ownership Onchain

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.

Multi-chain

ICRC2 Swap Demo

ICRC-2 Swap demo: Manages ICRC-2 tokens, unique in async Internet Computer design.

Multi-chain

Multi-subnet Bitcoin Custody

Experimental Code: Not for live Bitcoin use

Multi-chain

ETH Payment Tutorials

Build a decentralized e-commerce on ICP with ETH payments.

Multi-chain

B3 Wallet

Decentralized multi-chain, multi-owner wallet, supports major blockchains.

Multi-chain

ckBTC

GitHub repo about ckBTC for inspirational use

Multi-chain

ckETH

GitHub repo about ckETH for inspirational use

Asynchronous DeFi

Bitcoin

Deploy a canister on the Internet Computer that can send and receive Bitcoin.

Global

Threshold ECDSA

Build a threshold ECDSA test key on a subnet.

Asynchronous DeFi

Basic Dex

Build dapp to enable DeFi applications on the IC.

Global

Basic DAO

Dapp initializes a set of accounts and corresponding tokens as well as enables proposals for communal votes.

Global

Token transfer

Create a canister that can hold and transfer ICRC-1 tokens.

Global

ICP transfer

Create a canister that can hold and transfer ICP tokens.

Load more

Community samples

The Internet Computer is home to many dapps built by the community. Check out the repos and get building!

Disclamer: Please use the following sample code at your own risk and always do your own research.