Example C++ Smart Contracts for icpp-pro.
Each sub folder of canisters
contains a standalone icpp-pro project.
canister | content |
---|---|
api_reference | The api-reference docs example code. |
counter | An Orthogonal Persistence demo for uint64_t |
counter4me | An Orthogonal Persistence demo for std::unordered_map<std::string, uint64_t> |
counters | An Orthogonal Persistence demo for std::vector |
files | A demo of the virtual file system: open/close/read/write, ascii & binary, upload/download |
memory | Orthogonal Persistence of C++ Data Structures on the Internet Computer: A Study |
- Follow the icpp-pro installation instructions
- Then check the README for each canister
- Basically just run the
demo.ps1
on Windows PowerShell, and thedemo.sh
on Linux/Mac
- Basically just run the
For support, kindly create a GitHub Issue as outlined in the Support documentation page.
The docs can be found here