Skip to content

A curated list of awesome projects and resources relating to the Internet Computer Protocol

License

Notifications You must be signed in to change notification settings

dfinity/awesome-internet-computer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Internet Computer Awesome

The Internet Computer is a public blockchain that hosts smart contracts that run at web speed, can serve web from cyberspace, run efficiently, and can scale within an environment that has unbounded capacity. Smart contracts are a profoundly new and superior form of tamperproof and unstoppable software. They can imbue systems and services with new properties, enabling the reimagination of websites, systems, internet services and finance.


Contents

Courses, Tutorials, and Samples

Courses

Tutorials and Samples

Simple / Getting started

Advanced

Starters

  • create-ic - A simple command line tool to quickly create projects for the IC.
  • create-ic-app - Modern, unopinionated templates for React, Vue & Svelte powered by Vite.
  • ic-rust-starter - Starter for a Rust backend-only canister project.
  • vite-react-motoko - Full-Stack React/Motoko starter with live reload.
  • vite-sveltekit-motoko-ii – Full-Stack SvelteKit/Motoko start with Internet Identity Integration and live reload.
  • icp-dev-env – A Docker image for a canister smart contract developer environment for ICP.
  • nextjs-ic-starter - Next.js Internet Computer Starter Template.
  • IC in Dev Container - Run a local replica inside a Docker container with NNS in VS Code or GitHub Codespaces.
  • ic-eth-starter - An advanced starter project for interacting with Ethereum on the Internet Computer (Beta).
  • IC Rust NextJS Starter - A starter kit for building applications with Rust and Next.js on the Internet Computer.
  • Azle + NextJS Starter - Build Full-stack Dapp on IC with Typescript CDK and NextJS.
  • ic-alloy-basic-eth - A multiuser Ethereum wallet starter/template using the Alloy EVM support libraries.

Client Libraries (Agents)

Agents facilitate the interaction from clients with canisters on the Internet Computer. If you want to contribute an agent implementation check out this Grant RFP.

JavaScript/TypeScript

  • agent-js - Collection of libraries to interact with the IC using JavaScript.
  • ic-js - Collection of libraries for interfacing with core canisters on the Network Nervous System (NNS).
  • ic-use-actor - React hook to make interacting with Internet Computer canisters more fun!
  • ic-use-siwe-identity - React hook for easy frontend integration with SIWE (Sign in with Ethereum) enabled canisters.
  • ic-use-internet-identity - React hook that makes it easy to integrate IC Internet Identity into React applications.
  • ic-reactor/core - Streamline agent and actor management, ensuring type-safe communication with canisters, and simplifies the interaction through a user-friendly API. Ideal for building efficient, scalable decentralized applications (dApps) with minimized boilerplate code.
  • ic-reactor/react - Tailored specifically for React developers working on Internet Computer projects, this library integrates seamlessly with React's ecosystem to provide custom hooks and utilities for state management, authentication, and type-safe interactions with IC actors.
  • icblast - Communicate with IC directly using NodeJS. Automatic service discovery.
  • node-ic0 - The ic0 package is a simple, straightforward way to interact with canisters running on the IC.
  • ic-websocket-sdk - Library for interfacing with the IC via WebSocket using JavaScript.

Rust

  • agent-rs - Collection of libraries and tools for interfacing with the IC using Rust.
  • dfx - Commandline tool to interact with the IC written in Rust.

Python

  • ic-py - Library for interfacing with the IC using Python.

Dart/Flutter

  • agent_dart - Framework to build mobile applications.
  • ic_tools - IC Tools supporting Dart & Flutter on the Web and Linux.
  • ic_tools_web - Library with specific tools for Flutter on the Web.

Go

  • agent-go - Libraries for interfacing with the IC using Go.
  • ic-go - Libraries for interfacing with the IC using Go.

C

  • agent-unity - Wrapper of agent-rs to be used in unity projects.
  • ICP.NET - Native Implementation in C# (Unity compatible).

C++

Java

  • ic4j-agent - Libraries for interfacing with the IC using Java (Android compatible).
  • ic4j-websocket - Library for for interfacing with the IC via WebSocket using Java (Android compatible).

Ruby

  • ic_agent - Basic modules to interact with the IC using Ruby.

Swift

  • IcpKit - Native Swift library for interacting with IC on iOS/MacOS. Provides implementation for Ledger canister.

Canister Development Kits (CDKs)

  • CDK Framework - Framework to build CDKs which has been used for Azle and Kybra.

Motoko

  • Motoko - Simple high-level language for writing canisters.

Rust

  • canister-sdk - SDK for writing and testing canisters for the Internet Computer in Rust.
  • ic-cdk - Rust CDK maintained by DFINITY.
  • ic-websocket-cdk - IC WebSocket CDK for canisters written in Rust.
  • Rustic - Extension to ic-cdk, providing primitives familiar to Solidity developers.

JavaScript/TypeScript

  • Azle - TypeScript CDK.

Python

Solidity

  • bitfinity-evm - Provides the ability to create EVM-based smart contracts.

C/C++

AssemblyScript

  • cdk-as - AssemblyScript CDK.

Dapp Development Platforms and Frameworks

  • Ego - Framework to build wallet apps, i.e. user-controlled canisters.
  • Juno - Build Web3 at Lightning Speed.

Developer Tooling

  • Developer Tooling Landing page - Overview of tooling in the Internet Computer ecosystem.
  • dfxvm - The dfx version manager that lets you easily switch between dfx versions.
  • IC Inspector - Chrome extension to decode IC requests and responses.
  • ic-nix - Build IC projects with Nix.
  • Internet Base - VSCode extension to run Blast notebooks.
  • canister-tools - Take snapshots of the canister-data and download/upload snapshots. Simple upgrades. Common tools for Rust canisters.
  • wasi2ic - Convert WASI binaries into binaries runnable on the IC.
  • setup-dfx – GitHub Action to set up dfx

Testing

  • pocket-ic - A canister testing library that supports deterministic, programmatic canister testing in Rust.
  • pocketic-py - A canister testing library that supports deterministic, programmatic canister testing in Python.
  • pic-js - A TypeScript/JavaScript library for testing canisters with support for PocketIC.
  • canister-profiling - Code & scripts for collecting performance data for canisters.
  • ic-repl - A REPL environment to communicate with canisters. Allows to write E2E integration tests.
  • lightic - Write & Run tests for any canister in JS/TS. Canisters will be run inside nodejs environment, no DFX.

Benchmarking

  • canbench - A benchmarking framework for canisters, allowing you to analyze your code's use of instructions and memory.

CI/CD

  • ICPipeline - CI/CD framework to simply IC release management.
  • Launchtrail - Simple and Secure Release Management for Internet Computer Projects.

Monitoring

  • Canistergeek - Open-source tool to track your project canisters cycles and memory status.
  • Canister monitoring - Example of using Prometheus to collect metrics from a canister.
  • CycleOps - Proactive, automated, canister cycles management with email notifications and a no-code integration.
  • Cycle.Express - Buy cycles at a steep discount by paying fiat money (credit cards, etc).
  • Cycles Manager - A library for index canisters that want to manage the cycles of their child canisters.
  • Cycles.watch - Dashboard for canister cycles consumption overview with local notifications
  • ic-blackhole - Canister to publicly expose canister status information.
  • Metrics encoder - Library to encode metrics in Prometheus text exposition format.

Motoko

Motoko is a safe, simple, actor-based programming language for authoring Internet Computer (IC) canister smart contracts.

Package Managers

  • MOPS - Package manager for Motoko with fully on-chain package registry.
  • Vessel - Package manager for the Motoko programming language.

Libraries / Frameworks

  • IC Certification - Merkle Tree and support for certified variables and assets.
  • Server - An Express-style http framework for serving certified http responses from canisters.
  • ic-websocket-cdk - IC WebSocket CDK for canisters written in Motoko.

Candid

Candid is an interface description language (IDL) for interacting with canisters (also known as services or actors) running on the Internet Computer. It provides a language-independent description of canister interfaces and the data they exchange, with type safety and extensibility.

Candid implementations

AssemblyScript

C

C++

Dart

Elm

  • ic-elm - A template for using Elm to develop frontend user interface for the Internet Computer.

Haskell

Java

JavaScript/TypeScript

Kotlin

Motoko

  • motoko_candid - Library that enables encoding/decoding of bytes to candid values.

Storage and Databases

  • CanDB - Flexible, performant, and horizontally scalable non-relational multi-canister database built in Motoko.
  • ic-oxigraph - An RDF database for the IC, that enables on-chain knowledge graphs.
  • rusqlite – SQLite database implementation in Rust using wasi2ic
  • ic-sqlite - SQLite on the IC.
  • ic-stable-memory - Stable memory collections for Rust.
  • stable-structures - A collection of scalable and upgrade-safe data structures for Rust maintained by DFINITY.
  • Sudograph - A GraphQL database for the IC.
  • Certified Blockchain - Certified blockchain log on on the IC. This can be validated using only the NNS public key: Validation.
  • ic-oss - A decentralized Object Storage Service on the IC.

Infrastructure

  • IC WebSocket Gateway - Gateway that enables clients to open WebSocket connections with canisters. This is the HTTP Gateway counterpart for WebSockets.
  • Idempotent Proxy - Reverse proxy server with build-in idempotency support written in Rust.

Fungible and Non-fungible Tokens (NFTs)

Interface Standards

ICRC

  • ICRC-1 - Base fungible token standard.
  • ICRC-2 - Extension to support approve and transfer_from.
  • ICRC-7 - Base Non-Fungible Token (NFT) Standard.

Other Interface Standards

  • DIP20 - Fungible token standard inspired by the ERC20 standard.
  • DIP721 - NFT standard inspired the ERC721 standard.
  • EXT - The extendable token standard inspired by ERC1155.
  • Origyn NFT - Origyn NFT standard.

Implementations

Analytical Methodologies

  • OutRank-Rarity - implementation of mathematical code to calculate rarity within NFT collections in Python and Rust

Messaging

  • Messity - An open and nonproprietary decentralized messaging protocol.
  • OpenChat - An open chat app.
  • W3NS - An Internet Computer service for notifications.

Decentralized Finance (DeFi)

Exchanges

  • ICPEx Adapter - Used for quick access to the ICPEx, enabling fast execution of swap, create token, create pool, and other functions.
  • DeSwap Orderbook - An Order Matching Engine Module for Dex in Motoko.
  • Spinner - Private transactions using zkSNARKs.
  • Sonic LBP - Fair launch token sales and raise funds using Liquidity Bootstraping Pool.
  • BrownFi - Simple AMM with high Capital Effifiency
  • Fomowell - FomoWell is an innovative fair launch platform tailored for Web3 projects.

Frameworks and Tools

  • ICTC - Distributed transaction framework for DeFi applications.
  • ICSI - Simplify ICRC token tracking and management within sub-accounts using the ICP Sub-Account Indexer.
  • ICSpore DCA - Payment solution for automated DCA purchases

Oracles

Protocols

  • BeamFi - Autonomous Money Streaming Protocol for Micro Payments DeFi applications.
  • Elliptic - Bitcoin-backed Stablecoin inspired by Liquity protocol.

Social Applications

  • Formyfi - Decentralized & fully on-chain Q&A Forms.
  • Proton DApp - A social DApp totally based on the Actor model.
  • RatersApp - A blockchain-powered SocialFi platform for movie lovers enhanced with ICP for transparent and secure movie reviews. Developed with React.js, Next.js, TypeScript, PHP (Laravel), Node.js, and Azle for canister building.

DAO Frameworks

Game Development

For Unity-compatible client libraries, see C# agents. For Unreal Engine-compatible client libraries, see C++ agents.

  • BoomDAO World Protocol - An on-chain game server protocol weaving together ICP games into one universally accessible database.
  • BoomDAO Unity template - Unity template with wallet integration and NFT fetching.
  • Internet Computer GameKit - Toolkit for building games on the IC.
  • ICPGameKit by Morgan Page - A drop-in solution for adding achievements, and game and user data saves on-chain using ICP.
  • Unity Play To Earn Sample - Example of how to deploy a Unity play to earn game on the IC.
  • WebGL Sample - Example of how to host a WebGL game on the IC.
  • Wheel of Fortune - Example of II authentication, self-controlling canister (waits for players and chooses winner randomly) and ICP coin transferring (sub-account creation for participants and withdrawal functionality)

Wallets and Authentication

  • AstroX Me - Canister-based mobile/web multi-chain wallet.
  • Bitfinity - Chrome extension.
  • ICRC-1 Wallet - Canister-based wallet for ICRC-1 compliant tokens.
  • Internet Identity - Pseudoymous authentication system for the Internet Computer.
  • NFID - Digital identity for signing in to applications privately and securely.
  • NNS Dapp - Stake ICP in neurons, participate in governance and decentralization sales.
  • Plug - Chrome extension and mobile wallet.
  • Stoic - Web wallet.

Libraries

  • artemis – Wallet adapter for connecting different wallets on the Internet Computer.
  • ic-siwe - Authentication library to enable SIWE (Sign in with Ethereum) functionality for ICP applications.
  • ic-siws – Authentication library to enable SIWS (Sign in with Solana) functionality for ICP applications.
  • connect2ic - A frontend auth library & toolkit for the Internet Computer.

Dashboards, Explorers and Registries

Chain Fusion

General

  • Alloy Toolkit - Examples of interacting with Ethereum from a Rust canister using the Alloy EVM support libraries
  • SIWE starter - Login in to ICP using Metamask and other Ethereum wallets.
  • Chain Fusion Starter – starter template leveraging chain fusion technology to build EVM coprocessors on the Internet Computer Protocol
  • ic-evm-utils – Utils for interacting with Ethereum from ICP canisters.
  • evm-rpc-canister-types – Types for interacting with the EVM RPC canister.
  • Chain-key ECDSA - Tech that allows creating transactions targeting various chains from canisters on the Internet Computer.
  • B3Wallet - A decentralized wallet supporting multiple blockchains, including Ethereum, Bitcoin, and ICP.

Bitcoin

Ethereum

  • Bitfinity EVM - An Ethereum Virtual Machine (EVM) on ICP.
  • CCAMP - General-purpose, modular, and custom data-driven Cross-chain Asset Management Protocol.
  • ChainSight - Composable cross-chain data oracles built on HTTPS Outcalls and Chain-key ECDSA.
  • ckETH - Canister-controlled ETH twin on ICP with 1:1 backing.
  • ckNFT - A PoC to bridge ICRC-7 NFTs to ERC-1155 NFTs on EVMs.
  • ERC20-ICP - Contracts and canisters enabling ICP tokens as ERC20 on Ethereum.
  • EVM RPC Canister - Interact with EVM blockchains from the Internet Computer.
  • Ethereum Canister - Ethereum Light Client (Helios) running inside a canister.
  • EVM Utility Canister - Utility canister to create and parse EVM-compliant transactions.
  • ic-alloy-basic-eth - A multiuser Ethereum wallet starter/template using the Alloy EVM support libraries.
  • ic-alloy-toolkit - Example code for using Alloy with the Internet Computer.
  • ic-solidity-bindgen - Generate Rust bindings for Solidity contracts from ABIs to use with the Internet Computer.
  • ic-eth-starter - An advanced starter project for interacting with Ethereum on the Internet Computer (Beta).
  • ic-web3-rs - Utility library to interact with EVM networks.
  • Oisy - A novel Ethereum wallet that is hosted on the Internet Computer, is browser-based, fully on-chain, and secured by Chain-key cryptography and Internet Identity.
  • Omnic - Cross-chain messaging protocol to connect EVM-compatible chains via the Internet Computer.
  • Orally - Cross-chain oracle factory built on HTTPS Outcalls and Chain-key ECDSA.
  • Gitcoin Passport Client - a sample app for securely retrieving Gitcoin Passport scores and store them into a DB.
  • Evm Rust Bridge - A seamless Rust-based starter template for integrating ICP canisters with EVM-based smart contracts.

Solana

  • Galactic Bridge - Canister-controlled SOL bridge using Chain Fusion tech.

Internet of Things

  • Omnia Network - A platform that enables canisters to access any IoT device through a uniform HTTP interface.
  • Staex VTS - Staex Vehicle Tracking System (VTS) - infrastructure to track and invoice vehicles.

Decentralized AI

  • ArcMind AI - LLM-powered autonomous agent that uses Chain of thoughts for reasoning, taking actions, and completing goals. Try the app here
  • ArcMind Vector DB - A Vector DB with similarity search supporting text, image, and audio embeddings, based on k-d tree, useful for AI applications like recommendation and Retrieval-Augmented Generation.
  • Cipher AI Vault - Azle-based PoC with in-memory VectorDB & LLM, secure asset & data storage, cycles topup, and multi-wallet authentication, showcasing fully-sandboxed AI on the Internet Computer. Try it here
  • DataPond.ai integration with ICP - ICP-enabled Retrieval Augmented Generation (RAG) tool for transparent AI data feeding and data tracing on the ICP network Try it here.
  • DeAI Technical Working Group - Repo of the ICP DeAI WG with weekly call summaries and additional resources.
  • DeVinci - AI chatbot running in user's browser based on open-source LLM and served from the Internet Computer. Try it here.
  • ICGPT - dApp with React front-end & C/C++ back-ends running LLMs fully on chain. Try it here.
  • llama_cpp_canister - llama.cpp for the Internet Computer. (Note: used as a backend for ICGPT)
  • ic-mnist - MNIST (considered to be hello world of machine learning) running on IC using burn crate. Try it here.
  • ELNA AI - Fully on-chain Al agent creation platform & marketplace, supporting on- and off-chain LLMs, vector DB and tools. Try it here
  • Tensorflow on ICP - An example that loads and uses a pre-trained model for predictions within a canister running on ICP using Azle.
  • MotokoLearn - A Motoko package meant to facilitate on-chain training and inference of machine learning models where having a large GPU is not a requirement.
  • Tract-IC-AI - An ICP version of Tract, a tiny, no-nonsense, self-contained, Tensorflow and ONNX inference toolkit.
  • Rust-Connect-Py-AI-to-IC - A streamlined open-source tool for deploying Python AI models on ICP.
  • Vectune - A lightweight vector database with incremental indexing based on FreshVamana for retrieval-augmented generation (RAG).
  • yllama - An on-chain Llama 3 inference engine optimized for real-world workloads using non-quantized 8b parameters Llama models.
  • ICSoccerWorld Trainer - Flashlight multilayer perceptron deep learning used for training soccer agents on ICP.

ZK

  • icp-zk-maze - ZK Maze is a ZK coprocessor developed by zCloak. ZK coprocessor offloads intensive Zero-Knowledge (ZK) computations from traditional blockchains, enabling the creation and verification of Zero-Knowledge Proofs (ZKPs) without revealing private information.
  • Jolt Verifier Canister - A Canister which can verify the proof generated by Jolt zkVM.
  • Pado zkAttestations - A The main functionalities provided by zkAttestations are creating attestations from the PADO extension, and recording attestations on the IC network. In addition, the basic attestation framework created in this project supports developers in creating their attestation-based dApps.

How it works / Deep dives

Blogs

Communities and Communication

Bounties and Grants