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

Featured samples

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.

Metaverse and NFTs

NFT Minting

Create a user generated NFT and share it. This dapp uses the DIP721 NFT standard.

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 dapp that can transfer tokens to its most active users.

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.

Website

IOS Integration

Integrate with a native ios application enabling push notifications and authentication.

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.

Asynchronous DeFi

Spinner Cash

Safeguard your financial privacy with zero-knowledge proofs

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.

Public Good / Social Impact

Proof of Personhood

a Sybil-proof identity system powered by decentralized AI human detection.

Blue Sky

Kinic

A search engine for Web3.

SocialFi

Signals

A unique SocialFi space for making connections, discovering events and creating decentralized communities. Signals is a DAO. The more you interact with it, the greater say you have in its governance.

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.

Asynchronous DeFi

Enoki DEX

Completely Async and Scalable DEX: Swap, Earn, and be a Market Maker

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.

GameFi

Paws Arena - Multiplayer PVP Play to Earn

This is the cutest, most fun and competitive turn-based play to earn multiplayer game on the ICP. Players will fight in the arena and earn $PAW Tokens which will be used to buy in-game items.

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!

Blue Sky

FoxIC

A tool allowing MetaMask users to enter IC ecosystem

GameFi

GalacticWar

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

Blue Sky

DeTi: Decentralized Time Travel

Run code on your canister in the future!

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

Cratch

The Future of Content Creation

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.

Public Good / Social Impact

Donainvest

Donainvest is a donation-investment platform on which the market cap is in proportion to the social impact and social workers are able to continuously fundraise without crypto-related licenses.

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.

Public Good / Social Impact

Ontics

Authoritative source of release images of all blockchain technologies

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.

Load more