# \#candid

**URL:** https://forum.dfinity.org/tag/candid/11.md

[Latest](https://forum.dfinity.org/latest.md) · [Categories](https://forum.dfinity.org/categories.md) · [Tags](https://forum.dfinity.org/tags.md)

---

## [🚀 IC Reactor v4: A New Way to Generate Typed Canister Calls From Your .did](https://forum.dfinity.org/t/ic-reactor-v4-a-new-way-to-generate-typed-canister-calls-from-your-did/76311)

<div class="topic-metadata">

**Author:** [@b3hr4d](https://forum.dfinity.org/u/b3hr4d)\
**Replies:** 1\
**Last updated:** [November 11, 2026, 10:38am UTC](https://forum.dfinity.org/t/ic-reactor-v4-a-new-way-to-generate-typed-canister-calls-from-your-did/76311 "2026-11-11T10:38:10Z")

</div>

ic-reactor 4 is out: typed calls to Internet Computer canisters from TypeScript and React, built on TanStack Query. Generate a module from a canister’s .did file, then call it: import { createClient } from "@ic-reactor/…

---

## [B3Forge v2: Shareable Canister Interactions, New Playground & The Future of AI App Building!](https://forum.dfinity.org/t/b3forge-v2-shareable-canister-interactions-new-playground-the-future-of-ai-app-building/64030)

<div class="topic-metadata">

**Author:** [@b3hr4d](https://forum.dfinity.org/u/b3hr4d)\
**Replies:** 7\
**Last updated:** [May 2, 2026, 12:12pm UTC](https://forum.dfinity.org/t/b3forge-v2-shareable-canister-interactions-new-playground-the-future-of-ai-app-building/64030 "2026-05-02T12:12:05Z")

</div>

Hey everyone! :waving\_hand: I’m excited to announce a major update to B3Forge! We’ve been listening closely to your feedback since our initial launch, and today we’re rolling out a new version packed with features desig…

---

## [Agent JS problems with Recursion and Blobs](https://forum.dfinity.org/t/agent-js-problems-with-recursion-and-blobs/25737)

<div class="topic-metadata">

**Author:** [@bdemann](https://forum.dfinity.org/u/bdemann)\
**Replies:** 8\
**Last updated:** [September 25, 2025, 8:23pm UTC](https://forum.dfinity.org/t/agent-js-problems-with-recursion-and-blobs/25737 "2025-09-25T20:23:08Z")

</div>

I have found a couple of weird cases with encoding and decoding candid that has both recursive elements and blobs. I get the following error: throw new Error('type index out of range'); ^ Error: type …

---

## [Can we please get threshold ECDSA signing support for secp256r1 (P-256) on ICP?](https://forum.dfinity.org/t/can-we-please-get-threshold-ecdsa-signing-support-for-secp256r1-p-256-on-icp/57862)

<div class="topic-metadata">

**Author:** [@yinks002](https://forum.dfinity.org/u/yinks002)\
**Replies:** 1\
**Last updated:** [September 22, 2025, 6:05pm UTC](https://forum.dfinity.org/t/can-we-please-get-threshold-ecdsa-signing-support-for-secp256r1-p-256-on-icp/57862 "2025-09-22T18:05:21Z")

</div>

Following up on the icert post ICert , Decentralized Cetificate Authority ICP really needs threshold ECDSA support for secp256r1 (P-256). secp256k1 works for Bitcoin/Ethereum, but P-256 is the universal standard for X.…

---

## [Urgent: SNS Governance Canisters Are Garbage Collecting Old Proposals – Immediate Fix Required](https://forum.dfinity.org/t/urgent-sns-governance-canisters-are-garbage-collecting-old-proposals-immediate-fix-required/56439)

<div class="topic-metadata">

**Author:** [@bitel911](https://forum.dfinity.org/u/bitel911)\
**Replies:** 25\
**Last updated:** [September 1, 2025, 5:31pm UTC](https://forum.dfinity.org/t/urgent-sns-governance-canisters-are-garbage-collecting-old-proposals-immediate-fix-required/56439 "2025-09-01T17:31:01Z")

</div>

Hello DFINITY community and team, @Leadership @lara I’m posting this as the recently elected SNS Canister Management Voting Grant Neuron holder, and I’m deeply concerned about a critical issue I’ve uncovered while au…

---

## [Candid - vec of enums only decodes the first element](https://forum.dfinity.org/t/candid-vec-of-enums-only-decodes-the-first-element/55788)

<div class="topic-metadata">

**Author:** [@VictoriaGrasshopper](https://forum.dfinity.org/u/VictoriaGrasshopper)\
**Replies:** 5\
**Last updated:** [August 21, 2025, 10:16pm UTC](https://forum.dfinity.org/t/candid-vec-of-enums-only-decodes-the-first-element/55788 "2025-08-21T22:16:54Z")

</div>

Hello ICP community and DFINITY developers, I’m working with a Rust canister and using Candid to encode/decode a vector of enums in the Init Args for the canister. My type definitions are: #\[derive(Deserialize, Seriali…

---

## [ICRC-16 - CandyShared - Standardizing Unstructured Data Interoperability](https://forum.dfinity.org/t/icrc-16-candyshared-standardizing-unstructured-data-interoperability/18893)

<div class="topic-metadata">

**Author:** [@skilesare](https://forum.dfinity.org/u/skilesare)\
**Replies:** 23\
**Last updated:** [June 28, 2025, 8:34am UTC](https://forum.dfinity.org/t/icrc-16-candyshared-standardizing-unstructured-data-interoperability/18893 "2025-06-28T08:34:52Z")

</div>

ICRC-16 CandyShared Context The proposed ICRC16 CandyShared standard defines a Candid interface for unstructured data that canisters can use to exchange document-style data in a standardized way. This standard aims to …

---

## [{ code: -32003, message: "insufficient funds for gas \* price + value: have 0 want 53901949584960" }](https://forum.dfinity.org/t/code-32003-message-insufficient-funds-for-gas-price-value-have-0-want-53901949584960/50253)

<div class="topic-metadata">

**Author:** [@anish\_rawat](https://forum.dfinity.org/u/anish_rawat)\
**Replies:** 5\
**Last updated:** [June 14, 2025, 11:15am UTC](https://forum.dfinity.org/t/code-32003-message-insufficient-funds-for-gas-price-value-have-0-want-53901949584960/50253 "2025-06-14T11:15:04Z")

</div>

{ code: -32003, message: “insufficient funds for gas \* price + value: have 0 want 53901949584960” } Hello developers! I’m getting this error while trying to transfer an ERC-20 token through the ICP chain fusion concept.…

---

## [StableBTreeMap Key Deserialization Fails with UTF-8 Panic](https://forum.dfinity.org/t/stablebtreemap-key-deserialization-fails-with-utf-8-panic/49334)

<div class="topic-metadata">

**Author:** [@VictoriaGrasshopper](https://forum.dfinity.org/u/VictoriaGrasshopper)\
**Replies:** 5\
**Last updated:** [June 3, 2025, 5:54am UTC](https://forum.dfinity.org/t/stablebtreemap-key-deserialization-fails-with-utf-8-panic/49334 "2025-06-03T05:54:59Z")

</div>

Hey everyone :waving\_hand: I’m currently investigating a deserialization error that occurs when using a StableBTreeMap. The serialization/deserialization is handled using the candid crate, and the issue arises after a l…

---

## [Failed Anonymous check, even though logged in with II](https://forum.dfinity.org/t/failed-anonymous-check-even-though-logged-in-with-ii/43774)

<div class="topic-metadata">

**Author:** [@JohnNixon6972](https://forum.dfinity.org/u/JohnNixon6972)\
**Replies:** 2\
**Last updated:** [April 14, 2025, 9:44am UTC](https://forum.dfinity.org/t/failed-anonymous-check-even-though-logged-in-with-ii/43774 "2025-04-14T09:44:44Z")

</div>

Hey all, We just deployed a canister on IC and there is a update method (createProject) which checks and fails anonymous callers. I tried to call the function after logging in with my II on the Candid UI. But it reject…

---

## [Convert IDL classes (RecClass VariantClass RecordClass etc) into candid](https://forum.dfinity.org/t/convert-idl-classes-recclass-variantclass-recordclass-etc-into-candid/23006)

<div class="topic-metadata">

**Author:** [@bdemann](https://forum.dfinity.org/u/bdemann)\
**Replies:** 11\
**Last updated:** [March 31, 2025, 11:40pm UTC](https://forum.dfinity.org/t/convert-idl-classes-recclass-variantclass-recordclass-etc-into-candid/23006 "2025-03-31T23:40:42Z")

</div>

What type of topic is this? Support I have been using the @dfinity/candid npm package to encode and decode javascript values into candid values for Azle. It’s going great! From here I want to be able to convert those c…

---

## [Issue: Candid Interface Compatibility Warning When Using dfx install](https://forum.dfinity.org/t/issue-candid-interface-compatibility-warning-when-using-dfx-install/32218)

<div class="topic-metadata">

**Author:** [@modclub](https://forum.dfinity.org/u/modclub)\
**Replies:** 6\
**Last updated:** [June 27, 2024, 6:09pm UTC](https://forum.dfinity.org/t/issue-candid-interface-compatibility-warning-when-using-dfx-install/32218 "2024-06-27T18:09:52Z")

</div>

We are running into a Candid compatibility error when we use “dfx install”. The issue does not occur when we run “dfx deploy”. Run the following command to upgrade the canister: dfx canister install --network=ic --was…

---

## [Introducing B3Forge - Candid UI: Seamlessly Integrate and Customize Your dApp Interfaces](https://forum.dfinity.org/t/introducing-b3forge-candid-ui-seamlessly-integrate-and-customize-your-dapp-interfaces/30821)

<div class="topic-metadata">

**Author:** [@b3hr4d](https://forum.dfinity.org/u/b3hr4d)\
**Replies:** 34\
**Last updated:** [June 27, 2024, 12:18am UTC](https://forum.dfinity.org/t/introducing-b3forge-candid-ui-seamlessly-integrate-and-customize-your-dapp-interfaces/30821 "2024-06-27T00:18:00Z")

</div>

Project Highlights B3Forge is designed to centralize principles and standardize the interfaces for the essential parts of decentralized applications (dApps) that interact with digital assets and need to be trusted by use…

---

## [Problem with Blob vs. \[Nat8\] from candid interface in Motoko](https://forum.dfinity.org/t/problem-with-blob-vs-nat8-from-candid-interface-in-motoko/32037)

<div class="topic-metadata">

**Author:** [@f0i](https://forum.dfinity.org/u/f0i)\
**Replies:** 7\
**Last updated:** [June 19, 2024, 7:35am UTC](https://forum.dfinity.org/t/problem-with-blob-vs-nat8-from-candid-interface-in-motoko/32037 "2024-06-19T07:35:07Z")

</div>

I’ve been trying to setup a local ledger canister for testing following the docs “ICP ledger local setup”. However I ran into the problem that candid doesn’t have a dedicated type for Blobs and just uses \[Nat8\] instead.…

---

## [Invalid Record: Plug wallet requestTransferToken call](https://forum.dfinity.org/t/invalid-record-plug-wallet-requesttransfertoken-call/30319)

<div class="topic-metadata">

**Author:** [@amliperson](https://forum.dfinity.org/u/amliperson)\
**Replies:** 10\
**Last updated:** [May 16, 2024, 5:50pm UTC](https://forum.dfinity.org/t/invalid-record-plug-wallet-requesttransfertoken-call/30319 "2024-05-16T17:50:48Z")

</div>

Hi, I am currently trying to invoke Plug Wallet to transfer tokens from code. I am following the code examples available in plug documentation. But i am having trouble figuring out, what exact argument types should be. …

---

## [Facing promise error when uploading wasm file to the internet computer](https://forum.dfinity.org/t/facing-promise-error-when-uploading-wasm-file-to-the-internet-computer/30532)

<div class="topic-metadata">

**Author:** [@fariraimasocha](https://forum.dfinity.org/u/fariraimasocha)\
**Replies:** 4\
**Last updated:** [May 11, 2024, 10:56pm UTC](https://forum.dfinity.org/t/facing-promise-error-when-uploading-wasm-file-to-the-internet-computer/30532 "2024-05-11T22:56:37Z")

</div>

in my app have rust backend and react frontend so want to be able to upload a wasm file upload the chunks and hash them to get wasm hash and upload wasm\_chunks and hash dont know what i am doing wrong but in frontend ge…

---

## [What do js/ts devs use to handle token amounts?](https://forum.dfinity.org/t/what-do-js-ts-devs-use-to-handle-token-amounts/30321)

<div class="topic-metadata">

**Author:** [@let4be](https://forum.dfinity.org/u/let4be)\
**Replies:** 4\
**Last updated:** [May 5, 2024, 8:40am UTC](https://forum.dfinity.org/t/what-do-js-ts-devs-use-to-handle-token-amounts/30321 "2024-05-05T08:40:15Z")

</div>

So I’m doing some pondering with ICP tokens and their amounts are returned from candid as BigInt with an arbitrary precision defined as number of Decimals I’m wondering what is the most common practice to handle this in…

---

## [Deploy failed NPM Error](https://forum.dfinity.org/t/deploy-failed-npm-error/29045)

<div class="topic-metadata">

**Author:** [@rahulaauji-30](https://forum.dfinity.org/u/rahulaauji-30)\
**Replies:** 6\
**Last updated:** [April 10, 2024, 12:19pm UTC](https://forum.dfinity.org/t/deploy-failed-npm-error/29045 "2024-04-10T12:19:06Z")

</div>

deudaexpress@Deudas-Mac-mini dblogs % dfx deploy Deploying all canisters. All canisters have already been created. Building canisters… WARN: /Users/deudaexpress/Desktop/udemy/Web 3/dblogs/src/dblogs\_backend/main.mo:4…

---

## [Convert Candid to JSON](https://forum.dfinity.org/t/convert-candid-to-json/23847)

<div class="topic-metadata">

**Author:** [@Dev](https://forum.dfinity.org/u/Dev)\
**Replies:** 27\
**Last updated:** [March 13, 2024, 9:22am UTC](https://forum.dfinity.org/t/convert-candid-to-json/23847 "2024-03-13T09:22:49Z")

</div>

I am using call\_raw for an Intercanister Call which return a Vec\<u8\>. This vec I am passing through the IDLArgs::from\_bytes function that return a valid Candid response. let encoded: \<Vec\<u8\>\> = call\_raw(data.canister, &…

---

## [Candid file(s) structure - can I have multiple services or import other .did files](https://forum.dfinity.org/t/candid-file-s-structure-can-i-have-multiple-services-or-import-other-did-files/10268)

<div class="topic-metadata">

**Author:** [@ArjaanBuijk](https://forum.dfinity.org/u/ArjaanBuijk)\
**Replies:** 9\
**Last updated:** [January 11, 2024, 8:37pm UTC](https://forum.dfinity.org/t/candid-file-s-structure-can-i-have-multiple-services-or-import-other-did-files/10268 "2024-01-11T20:37:02Z")

</div>

I am trying to handcraft a .did file for a custom canister with multiple services from multiple C functions. Is it possible to import .did files into another .did file? Or alternatively, can you have multiple services …

---

## [How to use candid-extractor?](https://forum.dfinity.org/t/how-to-use-candid-extractor/24771)

<div class="topic-metadata">

**Author:** [@AliSci](https://forum.dfinity.org/u/AliSci)\
**Replies:** 2\
**Last updated:** [January 3, 2024, 9:27pm UTC](https://forum.dfinity.org/t/how-to-use-candid-extractor/24771 "2024-01-03T21:27:53Z")

</div>

I was following this Automatic Candid Generation in Rust: Exploring the ic\_cdk v0.10.0 Update So, I ran cargo install candid-extractor in my main terminal ? then I cd to my canister then I ran cargo build then sh scrip…

---

## [NodeJs compatibility with didc?](https://forum.dfinity.org/t/nodejs-compatibility-with-didc/26145)

<div class="topic-metadata">

**Author:** [@harshbaz](https://forum.dfinity.org/u/harshbaz)\
**Replies:** 0\
**Last updated:** [January 3, 2024, 9:33am UTC](https://forum.dfinity.org/t/nodejs-compatibility-with-didc/26145 "2024-01-03T09:33:51Z")

</div>

I’m trying to generate js & ts declarations from candid files using didc. While using dfx generate, dfx.json allows a node\_compatibility flag to be enabled but I can’t find that option while using didc. File generated u…

---

## [Generating files using the type custom is not the same as when type is rust](https://forum.dfinity.org/t/generating-files-using-the-type-custom-is-not-the-same-as-when-type-is-rust/26146)

<div class="topic-metadata">

**Author:** [@harshbaz](https://forum.dfinity.org/u/harshbaz)\
**Replies:** 0\
**Last updated:** [January 3, 2024, 10:02am UTC](https://forum.dfinity.org/t/generating-files-using-the-type-custom-is-not-the-same-as-when-type-is-rust/26146 "2024-01-03T10:02:53Z")

</div>

I’m trying to generate declaration files from candid files but the output is different from where dfx generate is being run. For the repo: GitHub - go-bazzinga/hot-or-not-backend-canister, Running dfx generate (after r…

---

## [Security Advisory - Candid Upgrade Required](https://forum.dfinity.org/t/security-advisory-candid-upgrade-required/25341)

<div class="topic-metadata">

**Author:** [@rsundar01](https://forum.dfinity.org/u/rsundar01)\
**Replies:** 0\
**Last updated:** [December 8, 2023, 1:58am UTC](https://forum.dfinity.org/t/security-advisory-candid-upgrade-required/25341 "2023-12-08T01:58:03Z")

</div>

Dear All, Recently, the DFINITY security team uncovered a denial of service (DoS) vulnerability in the Candid library, which when exploited can degrade canister’s performance. We urge everyone who is currently on versio…

---

## [Composite\_query declarations generation from candid fails](https://forum.dfinity.org/t/composite-query-declarations-generation-from-candid-fails/23678)

<div class="topic-metadata">

**Author:** [@rem.codes](https://forum.dfinity.org/u/rem.codes)\
**Replies:** 16\
**Last updated:** [November 22, 2023, 12:15pm UTC](https://forum.dfinity.org/t/composite-query-declarations-generation-from-candid-fails/23678 "2023-11-22T12:15:28Z")

</div>

It seems that there is something not right when using composite\_query for generating bindings from candid. You can check it here → Internet Computer Loading To confirm, on https://dashboard.internetcomputer.org/caniste…

---

## [Question about record & variant with opt fields in light of forward compatibility](https://forum.dfinity.org/t/question-about-record-variant-with-opt-fields-in-light-of-forward-compatibility/24567)

<div class="topic-metadata">

**Author:** [@icpp](https://forum.dfinity.org/u/icpp)\
**Replies:** 4\
**Last updated:** [November 10, 2023, 3:07pm UTC](https://forum.dfinity.org/t/question-about-record-variant-with-opt-fields-in-light-of-forward-compatibility/24567 "2023-11-10T15:07:05Z")

</div>

I have a question how CDKs should handle deserialization of record & variant with opt fields if the label of an opt field is not known by the interface definition. I asked the AI on the docs, but the AI says it is not e…

---

## [Candid decode error: "type mismatch: type on the wire rec\_4, expect type record ..."](https://forum.dfinity.org/t/candid-decode-error-type-mismatch-type-on-the-wire-rec-4-expect-type-record/24046)

<div class="topic-metadata">

**Author:** [@ilbert](https://forum.dfinity.org/u/ilbert)\
**Replies:** 10\
**Last updated:** [November 2, 2023, 10:56am UTC](https://forum.dfinity.org/t/candid-decode-error-type-mismatch-type-on-the-wire-rec-4-expect-type-record/24046 "2023-11-02T10:56:49Z")

</div>

In our IC WebSocket JS SDK, we’re trying to make it possible for developers to not care about serialization and deserialization of application messages manually, while at the same enforcing them to implement a strong typ…

---

## [How to fetch transactions of DIP20 tokens?](https://forum.dfinity.org/t/how-to-fetch-transactions-of-dip20-tokens/24287)

<div class="topic-metadata">

**Author:** [@jaesharma](https://forum.dfinity.org/u/jaesharma)\
**Replies:** 4\
**Last updated:** [October 31, 2023, 6:01pm UTC](https://forum.dfinity.org/t/how-to-fetch-transactions-of-dip20-tokens/24287 "2023-10-31T18:01:25Z")

</div>

I’m using this DIP20 token as example: 72uqs-pqaaa-aaaak-aes7a-cai (Tendy) here we can see this canister’s methods: Tendy Canister but i couldn’t find methods like getTransactions or getBlocks.

---

## [Trouble Decoding Block 80543 in ckBTC: Seeking Resolution](https://forum.dfinity.org/t/trouble-decoding-block-80543-in-ckbtc-seeking-resolution/23715)

<div class="topic-metadata">

**Author:** [@jaesharma](https://forum.dfinity.org/u/jaesharma)\
**Replies:** 21\
**Last updated:** [October 25, 2023, 8:38am UTC](https://forum.dfinity.org/t/trouble-decoding-block-80543-in-ckbtc-seeking-resolution/23715 "2023-10-25T08:38:58Z")

</div>

I’ve encountered an issue with a specific block, number 80543, within the ckBTC canister (nbsys-saaaa-aaaar-qaaga-cai). This block does not seem to align with the current IDL definition of icrc1. I’ve attached a screensh…

---

## [Matrix implementation in MOTOKO](https://forum.dfinity.org/t/matrix-implementation-in-motoko/23842)

<div class="topic-metadata">

**Author:** [@eliascardona](https://forum.dfinity.org/u/eliascardona)\
**Replies:** 0\
**Last updated:** [October 17, 2023, 7:15pm UTC](https://forum.dfinity.org/t/matrix-implementation-in-motoko/23842 "2023-10-17T19:15:55Z")

</div>

Best practices for matrix and N dimension array in MOTOKO For motoko developers… Hi, I’m Elias Cardona, from ICP Hub Latin America. I’m looking for develop and implement a nDimension matrix (array, vector, etc.) in Mot…

[Next page](https://forum.dfinity.org/tag/candid/11.md?match_all_tags=true&page=1&tags%5B%5D=candid)
