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-staticand the tests of the affected canisters pass, with icpp-pro's nestedicpp-candid/checkout on your branch.
- a local CodeRabbit review of the branch against
- 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.0rc4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| icpp_candid-7.1.0rc4.tar.gz | 131.0 kB | With provenance | Details for icpp_candid-7.1.0rc4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| icpp_candid-7.1.0rc4-py3-none-any.whl | Python 3 | none | any | Details for icpp_candid-7.1.0rc4-py3-none-any.whl |
Total release size: 376.0 kB
Release files / icpp_candid-7.1.0rc4.tar.gz
| Download URL | icpp_candid-7.1.0rc4.tar.gz |
|---|---|
| Size | 131.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32635cef9c1db24cd6e26be65493eda62ac8c06fb591d0d09ded6e33c71b18b0
|
|
BLAKE2b-256 checksum How to use checksums |
20a558182ef742e03cc4487b30037b18403f40a5571a8d1f8b2549ea8c495f65
|
| 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 17, 2026.
Transparency logRelease files / icpp_candid-7.1.0rc4-py3-none-any.whl
| Download URL | icpp_candid-7.1.0rc4-py3-none-any.whl |
|---|---|
| Size | 245.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7bf07badbc5f77ab7d5422e10e6488459d07f1fbeae1935fcaed277b1d3d9fed
|
|
BLAKE2b-256 checksum How to use checksums |
a9bb969eccb3e8eb32f33c3e59ac5235d6dc3de5d85e98bd6323757171818bc6
|
| 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 17, 2026.
Transparency logSecurity for icpp-candid 7.1.0rc4
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.
Attestation for icpp_candid-7.1.0rc4.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 17, 2026.
Transparency logA 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.