concordium-rust-smart-contracts
concordium-rust-smart-contracts copied to clipboard
Libraries and tools for writing and testing smart contracts on Concordium
**Description** `StateBox` and `StateSet` documentation is missing the details about how to construct them using the `StateBuilder`. (`StateMap` has an example that could easily be copied and altered).
**Task description** Add a CI step to check for regressions in contract sizes for the examples.
**Task description** The Deletable trait/abstraction was added to ensure that nested maps/sets would clean up after themselves when elements were removed. However it is not very clean. In particular we...
**Description** Adding a remuneration smart contract example. This smart contract will be used for a mini-tutorial on CIS-2/wCCD tokens. This mini-tutorial will be applied to the final version wCCD token....
The current implementation of LEB128 for CIS2 token amounts uses checked addition to prevent overflowing when parsing each byte. Depending on the integer byte size, the overflow will not be...
It would be nice to have a step-by-step tutorial covering everything from installing the tools, to compiling, deploying on chain, and invoking a contract. Maybe even something simpler than the...
**Task description** Currently if the user does not use the `mutable` attribute on a receive entrypoint, but has `&mut impl HasHost` as the type of the host the error message...
**Task description** The new contract state provides high and low-level API (as the old state did). We have many examples using the high-level state, but few using the low-level state....
**Task description** Add more tracing/introspection capabilities to TestHost. Currently you can observe which transfers occurred and in what order. At least the following should be added **Sub-tasks** - [ ]...
Currently concordium-std sets a global allocator and itself depends on the alloc crate. For advanced uses this is not ideal, and we should support building without alloc, as well as...