Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

C++ Candid Library

The C++ Candid Library of icpp-pro

  • API Reference
  • It is 100% compliant with the Candid Interface Specification (spec 0.1.8, dfinity/candid@572c80a), within its limits: it decodes every message of the spec, and encodes every value, recursive types included, to the bytes of the reference implementation. All 472 asserts of the official suite pass, and all 1190 with the Candid tests of the Rust and Motoko CDKs. See Candid compliance.
  • The C++ Candid Library is extensively tested in our QA Canister.
  • Want to contribute? See Contributing.

How to use

C++ Smart Contracts

To write a C++ smart contract that runs in a Canister, you do not use icpp-candid directly, but you install icpp-pro, which is a full-blown C++ Canister Development Kit.

Simply install & Get Started !

C++ Rich Clients

If you want to use the C++ Candid Library in your Rich Client, you need to include it in your application and then compile it to a native executable.

We already do this ourselves as part of icpp-pro to enable interactive debugging with VS Code, as described in debugging with VS Code.

The command we use is:

icpp build-native

Which uses the Clang++ compiler to create a native debug executable named mockic.exe

Contributing

icpp-candid is developed and released together with icpp-pro, cloned inside it as icpp-pro/icpp-candid/. Set up with icpp-pro's Contributors Guide; the tests and fuzzers of this library live in icpp-pro.

  • Work on a branch and open a pull request into main. Every pull request needs a manual approval from the maintainer before it merges.
  • Before each push to a pull request:
    • a local CodeRabbit review of the branch against main (coderabbit review --base main --agent);
    • a code review and a security review of the branch. This library decodes untrusted messages, so the security review matters for every change;
    • icpp-pro's make all-static and the tests of the affected canisters pass, with icpp-pro's nested icpp-candid/ checkout on your branch.
  • CodeRabbit on GitHub also reviews every push to a pull request. Each of its findings gets a fix, or a reply saying why not.
  • The pull request lists each review's findings and what was done about them.
  • A release gets two deeper reviews on top, as described in icpp-pro's release guide.

Support

For support, kindly create a GitHub Issue as outlined in the Support documentation page.

Metadata

Release files for icpp-candid 7.1.0rc5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for icpp-candid 7.1.0rc5
File Size Uploaded Provenance Actions
icpp_candid-7.1.0rc5.tar.gz 131.0 kB With provenance Details for icpp_candid-7.1.0rc5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for icpp-candid 7.1.0rc5
File Interpreter ABI Platform Actions
icpp_candid-7.1.0rc5-py3-none-any.whl Python 3 none any Details for icpp_candid-7.1.0rc5-py3-none-any.whl

Total release size: 376.0 kB

Release files / icpp_candid-7.1.0rc5.tar.gz

Download URL icpp_candid-7.1.0rc5.tar.gz
Size 131.0 kB
Tags Source
SHA-256 checksum
How to use checksums
90ea9b9d9bc17ef45fd0039a257ce205dd32494a6ecf56c18f252dc275934087
BLAKE2b-256 checksum
How to use checksums
ce366b887155eefb0239f5086cc457cbfd3ab3831273957f36c5bf372aa048bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / icpp_candid-7.1.0rc5-py3-none-any.whl

Download URL icpp_candid-7.1.0rc5-py3-none-any.whl
Size 245.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b8aff3cd73f9bf08c3d4613193f1995efded72ab4bc0fede45e91c9cf442eee
BLAKE2b-256 checksum
How to use checksums
c152ce1686c93dce2a9e778495602f5cf9b3948c393022f27ec6d2c9fcab0105
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for icpp-candid 7.1.0rc5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for icpp_candid-7.1.0rc5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page