Basilisk

Python on the Internet Computer.

Write full-stack decentralized applications in Python, compiled to WebAssembly and running inside canisters on the Internet Computer. No servers, no cloud, no DNS hacks — the frontend, backend, and data all live on-chain.

What is Basilisk?

Basilisk is a Canister Development Kit (CDK) and application framework for writing IC canisters in Python.

# Install and scaffold a new project
pip install ic-basilisk
basilisk new my-canister && cd my-canister
dfx start --background
dfx deploy

What is the Toolkit?

ic-basilisk-toolkit is a set of ready-made tools built on top of Basilisk — drop-in modules you can compose into your canister instead of writing them from scratch.

TasksSchedule and run background jobs
WalletICRC-1 token registry, transfers, balances
CryptovetKeys encryption, per-principal envelopes, groups
FXExchange rates via the on-chain XRC canister
HTTPHTTP outcalls with a simple client API
AuthRole-based access control and guards

Templates

Live, open-source demos running entirely on-chain. Each is a full-stack canister you can fork and deploy.

Links