For AI agents: Documentation index at /llms.txt

Skip to content

Guides

Practical how-to guides organized by development stage. Each guide solves a specific task with working code.

  • AI Coding Agents: Use ICP skills to give AI coding agents accurate canister IDs and tested code patterns.
  • Backends: Persist data, make HTTPS outcalls, schedule timers, and generate randomness.
  • Canister Calls: Define Candid interfaces, generate type-safe bindings, and call canisters from backends and frontends.
  • Frontends: Serve assets, integrate frontend frameworks, configure custom domains, and certify responses.
  • Authentication: Add passwordless login and verifiable user identity to your app.
  • Testing: Write unit tests, run integration tests with PocketIC, and set up end-to-end testing.
  • Canister Management: Deploy, upgrade, fund, optimize, and back up canisters.
  • Security: Implement access control, DoS prevention, and safe upgrade patterns.
  • Digital Assets: Create and integrate with ledgers and wallets using digital asset standards.
  • Chain Fusion: Connect canisters to Bitcoin, Ethereum, and Solana and sign cross-chain transactions.
  • Governance: Transfer control of your app to your community and govern it through proposals.