icrc-ledger

Deploy and interact with ICRC-1 and ICRC-2 token ledgers on the Internet Computer.

28|11|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/dfinity/icskills --skill icrc-ledger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: icrc-ledger
Source: https://github.com/dfinity/icskills/tree/main/skills/icrc-ledger
Command: npx skills add https://github.com/dfinity/icskills --skill icrc-ledger

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of deploying and interacting with ICRC-1 and ICRC-2 token ledgers on the Internet Computer, enabling seamless token transfers, balance checks, and allowance management.

Core Features & Use Cases

  • Token Transfers: Send and receive ICP, ckBTC, ckETH, and other ICRC-1 compliant tokens.
  • Allowance Management: Approve third parties to spend tokens on your behalf using ICRC-2.
  • Balance & Metadata: Query token balances, decimals, and symbols.
  • Local Testing: Deploy a local ICRC-1 ledger for development and testing.
  • Use Case: You need to send 100 ICP tokens to a friend's address, or you want to allow a decentralized exchange to withdraw tokens from your account.

Quick Start

Use the icrc-ledger skill to check the ICP balance for your principal.

Frequently Asked Questions about icrc-ledger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transfer ICRC-1 tokens like ICP or ckBTC on the Internet Computer?

You can transfer ICRC-1 tokens like ICP or ckBTC by interacting with the ledger canister using specific canister IDs to execute token transfers between accounts on the Internet Computer.

What is ICRC-2 allowance management and when do I need it?

ICRC-2 allowance management is the process of approving third parties to spend tokens on your behalf. You need it when allowing a decentralized exchange or other smart contract to withdraw tokens from your account.

Can I deploy a local ICRC-1 ledger for development and testing?

Yes, you can deploy a local ICRC-1 ledger for development and testing. This allows you to simulate token transfers, balance inquiries, and allowance approvals in a local environment before mainnet deployment.

How do I check my ICP token balance using a principal ID?

You can check your ICP token balance using a principal ID by querying the ICRC-1 ledger, which retrieves current token balances, decimals, and symbols associated with that specific account.

Do I need specific canister IDs to interact with ckETH ledgers?

Yes, specific canister IDs are required to interact with ckETH ledgers. Adhering to token standard interfaces and providing the correct canister IDs are necessary prerequisites for executing any ledger operations.

What token metadata can I query from an ICRC-1 compliant ledger?

You can query token metadata including account balances, token decimals, and token symbols from an ICRC-1 compliant ledger supporting assets like ICP, ckBTC, and ckETH on the Internet Computer.