# Where can I get the latest verison of icrc ledger

**URL:** https://forum.dfinity.org/t/where-can-i-get-the-latest-verison-of-icrc-ledger/39818
**Category:** Rust
**Tags:** Discussing, release
**Created:** [January 8, 2025, 7:05am UTC](https://forum.dfinity.org/t/where-can-i-get-the-latest-verison-of-icrc-ledger/39818 "2025-01-08T07:05:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Frankessa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/frankessa/32/26967_2.png) [@Frankessa](https://forum.dfinity.org/u/Frankessa)
#### Post date: [January 8, 2025, 7:05am UTC](https://forum.dfinity.org/t/where-can-i-get-the-latest-verison-of-icrc-ledger/39818/1 "2025-01-08T07:05:09Z")

</div>

## I had followed the tuitor to build icrc1 ledger canister locally then fetch did like this:

```
        "candid": "https://raw.githubusercontent.com/dfinity/ic/<REVISION>/rs/ledger_suite/icrc1/ledger/ledger.did"

```

But now I have tried numbers of past versions ,err as:

Caused by: Failed to build all canisters.  
Caused by: Failed while trying to build all canisters.  
Caused by: Failed to download [https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did](https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did) to /root/univoice/icp/AGC-DFX/.dfx/local/canisters/voice\_ledger\_canister/voice\_ledger\_canister.did.  
Caused by: Failed to download from url: [https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did](https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did).  
Caused by: Not found: [https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did](https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did)

### So I want to know how can I generate the correct link for Caused by: Failed to build all canisters.

Caused by: Failed while trying to build all canisters.  
Caused by: Failed to download [https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did](https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did) to /root/univoice/icp/AGC-DFX/.dfx/local/canisters/voice\_ledger\_canister/voice\_ledger\_canister.did.  
Caused by: Failed to download from url: [https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did](https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did).  
Caused by: Not found: [https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did](https://raw.githubusercontent.com/dfinity/ic/d9fe2076f677a08734bed90c67b1c3f4056ed621/rs/rosetta-api/icrc1/ledger/ledger.did)?

---

<div class="post-metadata">

### Author: ![C-B-Elite](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/c-b-elite/32/34356_2.png) [@C-B-Elite](https://forum.dfinity.org/u/C-B-Elite)
#### Post date: [January 8, 2025, 8:28am UTC](https://forum.dfinity.org/t/where-can-i-get-the-latest-verison-of-icrc-ledger/39818/2 "2025-01-08T08:28:38Z")

</div>

1. [GitHub - ICP-hub/icrc1-rust-implementation](https://github.com/ICP-hub/icrc1-rust-implementation)
2. [GitHub - zhangwei983/icrc1-ledger: This is an icrc1 ledger implementation decoupled from https://github.com/dfinity/ic.](https://github.com/zhangwei983/icrc1-ledger)  
Both of these can be used

---

<div class="post-metadata">

### Author: ![Frankessa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/frankessa/32/26967_2.png) [@Frankessa](https://forum.dfinity.org/u/Frankessa)
#### Post date: [January 8, 2025, 8:29am UTC](https://forum.dfinity.org/t/where-can-i-get-the-latest-verison-of-icrc-ledger/39818/4 "2025-01-08T08:29:43Z")

</div>

Thanks,I will try both.

---

<div class="post-metadata">

### Author: ![sea-snake](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/sea-snake/32/7243_2.png) [@sea-snake](https://forum.dfinity.org/u/sea-snake)
#### Post date: [January 8, 2025, 8:50am UTC](https://forum.dfinity.org/t/where-can-i-get-the-latest-verison-of-icrc-ledger/39818/5 "2025-01-08T08:50:32Z")

</div>

The latest ICRC-1 ledger release from DFINITY can be found here [Release ledger-suite-icrc-2024-11-28 · dfinity/ic · GitHub](https://github.com/dfinity/ic/releases/tag/ledger-suite-icrc-2024-11-28)

You can see commit `2190613` which works with the guide here [https://internetcomputer.org/docs/current/developer-docs/defi/tokens/ledger/setup/icp\_ledger\_setup](https://internetcomputer.org/docs/current/developer-docs/defi/tokens/ledger/setup/icp_ledger_setup)

I’ll update the guide to reflect the correct link to releases.

---

<div class="post-metadata">

### Author: ![Frankessa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/frankessa/32/26967_2.png) [@Frankessa](https://forum.dfinity.org/u/Frankessa)
#### Post date: [January 8, 2025, 9:47am UTC](https://forum.dfinity.org/t/where-can-i-get-the-latest-verison-of-icrc-ledger/39818/6 "2025-01-08T09:47:15Z")

</div>

[https://raw.githubusercontent.com/dfinity/ic/3e24396441e4c7380928d4e8b4ccff7de77d0e7e/rs/ledger\_suite/icp/ledger.did](https://raw.githubusercontent.com/dfinity/ic/3e24396441e4c7380928d4e8b4ccff7de77d0e7e/rs/ledger_suite/icp/ledger.did)

I user this pattern can fetch idl now. Replace ‘rosetta-api’.  
Aha
