# ICP Ledger Anonymous Principal Changes

**URL:** <https://forum.dfinity.org/t/icp-ledger-anonymous-principal-changes/53836>\
**Category:** Tokenization\
**Created:** [July 25, 2025, 2:25pm UTC](https://forum.dfinity.org/t/icp-ledger-anonymous-principal-changes/53836 "2025-07-25T14:25:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathiasb](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mathiasb](https://forum.dfinity.org/u/mathiasb)\
**Post date:** [July 25, 2025, 2:25pm UTC](https://forum.dfinity.org/t/icp-ledger-anonymous-principal-changes/53836/1 "2025-07-25T14:25:16Z")

</div>

## Overview

The ICP ledger currently [restricts](https://github.com/dfinity/ic/blob/fd9024f230b4477c8931a441e845cba206a2dfbc/rs/ledger_suite/icp/ledger/src/lib.rs#L526-L530) the anonymous principal from performing transactions. In the upcoming ICP ledger suite release, DFINITY proposes removing these restrictions to allow the anonymous principal to execute transactions. As the anonymous principal’s default account currently holds a small amount of funds, we also propose burning these funds in the `post_upgrade` method when installing the ledger upgrade.

## Rationale

Enabling anonymous principal transactions will significantly improve the development experience by facilitating testing workflows. For example, developers working in local development and testing environments will be able to set large initial balances for accounts belonging to the anonymous principal and subsequently transfer tokens to other accounts for testing purposes.

Additionally, removing these restrictions aligns the ICP ledger implementation more closely with the ICRC ledger implementation, promoting consistency across the ecosystem.

## Implementation Plan

The implementation involves merging two pull requests and creating a new ledger suite release:

- [PR 5473](https://github.com/dfinity/ic/pull/5473): Remove restrictions from the anonymous principal, enabling it to perform transfers and create allowances on the ICP ledger.
- [PR 5496](https://github.com/dfinity/ic/pull/5496): Burn the funds in the default subaccount of the anonymous principal during the ICP ledger post-upgrade process.

## Timeline

- Merge PRs and create GitHub ledger suite release: By Thursday, August 14th
- Create upgrade proposals: By Friday, August 15th
- Proposal approval and upgrade execution: Week of August 18th

## Community Feedback

We welcome community input on this proposed action plan. Please share your thoughts, questions, or concerns in the discussion below!

---

<div class="post-metadata">

**Author:** ![skilesare](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/skilesare/32/5609_2.png) [@skilesare](https://forum.dfinity.org/u/skilesare)\
**Post date:** [July 26, 2025, 3:02am UTC](https://forum.dfinity.org/t/icp-ledger-anonymous-principal-changes/53836/2 "2025-07-26T03:02:33Z")

</div>

> [@mathiasb](#):
>
> For example, developers working in local development and testing environments will be able to set large initial balances for accounts belonging to the anonymous principal and subsequently transfer tokens to other accounts for testing purposes.

![TV gif. Omar Gooding as Anthony on Family Time looks perplexed, furrowing his brow as his eyes shift left and right](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/9/a/9ac4b5d12542de46328b90baec8d7eb898b285bd.gif)

This seems like a maybe it will go poorly? Speaking as someone who accidentally minted _all the tokens_ of a poorly secured contract, I’m thinking that maybe we should be adding a block for anon on the ICRC ledger just so someone DOESN’T do this.

Note: I realize this is just for ICP and wouldn’t maybe be used for other tokens, but then again the OGY token was based on the ICP ledger for a couple years…I’d imagine most are using ICRC at this point, but maybe not? Anyway…it seems like an anti-pattern to enable it even for fun.

---

<div class="post-metadata">

**Author:** ![mathiasb](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mathiasb](https://forum.dfinity.org/u/mathiasb)\
**Post date:** [August 14, 2025, 4:27pm UTC](https://forum.dfinity.org/t/icp-ledger-anonymous-principal-changes/53836/3 "2025-08-14T16:27:34Z")

</div>

Thanks for the feedback, @skilesare! We did discuss this internally back and forth for a while before eventually settling on proposing this approach, which also got the blessing from product security. In an attempt to streamline development and maintenance, we’re in general trying to get rid of the various discrepancies between the ICP and ICRC ledger implementations, and this is a step in that direction. Since, as you mentioned, this change is just for ICP, and there’s just the single production instance, the reasoning was that this is low risk.
