Skip to main content

Sample Code

Get inspired! The possibilities of what to build on the IC are infinite. All samples and further projects can be found in the examples repo.

Filter Items8
Filter Items8

Language

Domain

Level

Content Type

Sort By

Filter Items8
Beginner+3

Motoko

Rust

Beginner

Hello World

Get code

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

Global+4

Website

Motoko

Rust

Beginner

Static Website

Docs

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

DeFi+4

Website

Motoko

Rust

Intermediate

Basic Dex

Get Code

Build dapp to enable DeFi applications on the IC.

NFT+4

Gaming

Motoko

Rust

Intermediate

NFT Minting

Get code

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

Global+4

DeFi

Motoko

Rust

Intermediate

Basic DAO

Get Code

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

Website+3

Motoko

Rust

Advanced

Encrypted note-taking

Get Code

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

Global+3

Motoko

Rust

Advanced

Token transfer

Get Code

Create a dapp that can transfer tokens to its most active users.

Website+3

Motoko

Rust

Advanced

Actor reference

Get Code

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