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 codes105
Sample codes105
Sample codes105

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

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.

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.

Global

Canister HTTPS Outcalls

Demonstrates how to build a dapp with canister outgoing HTTP calls.

Website

Hello World

Deploy a dead simple dapp using two canisters serving a web page.

Website

Static Website

Quickly set up a static website structure, add content and basic styling, and deploy on the IC.

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.

Website

Encrypted note-taking

Create, access and modify confidential notes from multiple devices using Internet Identity and end-to-end encryption.

Global

Token transfer

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

Website

Actor reference

Learn how the IC management canister functions as an actor (reference).

GameFi

WebGL

Demonstrates how to deploy a web game on the IC.

Website

NNS Integration

Learn how to connect a canister to a neuron, to make a dapp that can submit proposals to the NNS.

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.

SocialFi

Kontribute

Kontribute brings readers, writers and NFTs together. Write some lore for your NFT collection or support your favourite writer by buying their NFTs - Web 3.0 creative writing with NFTs

Metaverse and NFTs

dSquad

A new chapter of the Internet is opening. Start by minting your avatar, then take part in the adventure and get rewarded as your explore a new wave of decentralized applications.

Asynchronous DeFi

ICTC

IC Transaction Coordinator (ICTC) is a distributed transaction framework for Defi applications on IC network. It supports Motoko language. The core idea of ICTC is inspired by the DTC (Distributed Transaction Coordinator), which is commonly used in the financial sector.

Blue Sky

Kinic

A search engine for Web3.

GameFi

FaeFolk

FaeFolk is an NFT-based role-playing game where you use your NFTs to craft tools & equipment, train your skills and ultimately fight your way through dungeons and find treasure.

Metaverse and NFTs

Saga Tarot

Open source tarot ecosystem on the IC. Nobody owns Tarot. Everybody owns Web3.

Public Good / Social Impact

ICMaps

ICMaps brings maps to the internet computer. With the ICMaps frontend you can install your own map server provided by ICMaps on Canister and integrate maps into Web3, Web2 and even desktop GIS apps.

Blue Sky

CanDB

Meet CanDB, the first flexible and truly horizontally scalable NoSQL database built for the Internet Computer. https://www.canscale.dev

SocialFi

STKRS

Stkrs is the social identity app for Web 3.0. Users can express themselves, trust others online, and revolutionize our governance, all while being anon and maintaining privacy.

Metaverse and NFTs

IC Avatar Creator

The IC Avatar Creator allows users to create and manage avatars for the open metaverse. The project includes GLB avatars that are minted to the Internet Computer using the DIP721v2 token standard.

Public Good / Social Impact

metamob

Create, donate, vote, sign and fund extraordinary mobilizations!

GameFi

GalacticWar

GalacticWar is a novel protocol that mixes NFT, Gaming and DEFI .

Blue Sky

NFT Exchange

The NFT Exchange for Web 3.0

Public Good / Social Impact

iLearnX Beyond Web3 (By Yaruhito Project)

We offer all-in-one Web3developer learning platform: roadmap, course materials, learning community, support system&hackathon opportunity hosted on ICP for aspired Web3 developers/challengers.

Public Good / Social Impact

Cronacle + Freeos: A cross-chain oracle for a democratic UBI

Freeos, a democratic UBI—where participants steer the economy through a democratically elected monetary policy each week—connects to a novel type of decentralised, cross-chain oracle called Cronacle

Blue Sky

NnsDAO Protocol

NnsDAO is a boundaryless autonomous organization, which provides some basic modular programmable services for building the world of DAOn.

Metaverse and NFTs

པ་ཀྲ་ཧེ་། Bazahei: The first ICP-XRP cross-chain NFT

We pioneer a general cross-chain NFT solution from IC to XRP to promote the regional and under-represented culture.

Asynchronous DeFi

SIGMA DEFI

SIGMA DEFI is a DeFi service and tool for developers and investors interested in IC,providing services without coding1. Multi sender2. Create DIP 203. Generate NFT and mint4. Fiat Gateways

Blue Sky

IC Web3D Engine

A lightweight game engine fully deployed on the IC.Users can easily create their own decentralized games or other 3D application scenarios on the IC with some simple operations

GameFi

Texas Hold'em

There is a famous saying in Texas Hold'em: "Victory comes not from your opponent making more mistakes, but from you making fewer".

Public Good / Social Impact

MUSALL

Music ownership is broken! At MUSALL we aim to change ownership to a shared model. Musicians create a contract that is fair and transparent. Fans purchase said contracts. All earn through royalties.

Public Good / Social Impact

News Bias Check

Decentralised application to help combat fake news and reduce bias in information consumption. Chrome extension that uses backend on IC network shows bias/accuracy info about all news articles online.

SocialFi

Questions & Answers

Ask Questions.. Share Answers.. Earn Coins..

SocialFi

Leap

Leap is a market for information. Existing online forums have little incentives for users to provide high-quality answers. Leap allows users to reward others financially to get great answers quickly.

Public Good / Social Impact

MetaBio

MetaBio is a Web3 application to connect gardeners, farmers to crypto world. We aim to be the leading Web3 application for gardening communities and their data to enterprise or biology experts.

Asynchronous DeFi

IC1101 iUSD

MakerDAO with no jokes.

Public Good / Social Impact

Secure Canister Communication on the IC Blockchain

We provide a framework where sensitive messages can be securely passed between canisters, i.e to avoid man-in-the-middle attacks. Our solution allows secrets to be securely communicated.

Metaverse and NFTs

Exponent

Exponent is a suite of products that make NFTs easy for creators and game developers. Exponent currently consists of an NFT canister standard (next gen. EXT standard) and a CLI tool for developers.

SocialFi

planzApp

A DApp that enables users to make everyday plans within a smart, connected and decentralized economy

Public Good / Social Impact

Landlord

Landlord is a DApp where users can trade and invest in real-estate easily & securely. It eliminates the risk of real-estate scam, and creates a safe heaven where sellers can sell, buyers can buy etc.

SocialFi

DeSu - Decentralized Survey App

A decentralized platform for conducting paid and unpaid surveys that incentivizes the traditional survey-taking process and has something in store for both the parties in it.

Public Good / Social Impact

ICES

a storage and analysis service for canister's event logs on IC

Blue Sky

dfxIoT

Connecting real-world data into Internet Computer using verifiable and trusted IoT Devices and incentivize data-providers with tokens

Blue Sky

Dear Diary

Dear Diary is the first decentralized market place that will allow users to sell their diaries as NFTs. It is developed on Web3 on the Internet Computer, Motoko backend and React.js frontend.

Public Good / Social Impact

Sustainations DAO

The first SDG (Sustainable Development Goals) DAO on Dfinity. 💚 SUSTAINATIONS is a global DAO of change-makers, and builders who work together to write a greener future for the Earth.

SocialFi

Tourapin

Vacation guides by your favorite travel influencers

GameFi

IC Birds

Play with you IC Birds nfts on our decentralized games. Collect tokens and improve your birds skills to beat your best score and grind the leaderboard !

Metaverse and NFTs

Honest Ticket Machine

We’re building the tools to empower creators to work without fear of copyright and encourage collaboration rather than competition over IP.

Asynchronous DeFi

Ceto

The first order book trading platform of fractional noun-fungible tokens(F-NFTs) and a professional marketplace for crypto collectibles.

SocialFi

Symposium Futura

a community owned blog that curates and incentivizes exceptional content on philosophy, scientific inquiry, and the future of tech

Load more