Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICRC-107: a standard for fee collection in ICRC ledgers #111

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bogwar
Copy link

@bogwar bogwar commented Jan 14, 2025

Many ICRC-based ledgers (such as ckBTC) already implement partial fee collection, often charging fees for transfer transactions but not for approve transactions. However, there is currently no standardized way to:

  1. Indicate and configure who should collect fees (or if fees are burned).
  2. Record fee collection information on existing ledgers.
  3. Provide clear semantics for wallets, explorers, and other integrations to interpret fee information.

ICRC-107 aims to address this gap by defining:

  • A set of metadata entries that indicate how fees are collected.
  • A minimal interface for setting and enabling fee collection.
  • A backward-compatible standard for populating and understanding fee-collection fields in ICRC-3 blocks corresponding to ICRC-1 and ICRC-2 transactions.
  • Guidance on how to interpret fee collection fields, as recorded in blocks, in a consistent way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant