concordium-rust-smart-contracts
concordium-rust-smart-contracts copied to clipboard
Libraries and tools for writing and testing smart contracts on Concordium
## Purpose Changing the royalty payment method from tokens to ccd ## Changes The payment method needed to invoke the ccd transfer function instead of transferring tokens. Associated tests were...
**Task description** We have had an issue recently where the default behaviour of the rust toolchain started producing invalid smart contracts. We should get ahead of this by running a...
There are methods get, get_mut, entry which can all be used to check existence of a key. However they all use V::deserial_with_state as part, which is not necessary if we...
The concordium_contracts_common::Write has a `Default` constraint. This is not really essential, and I think the only reason it is there is simplicity. It is used in the `write_all` implementation, where...
**Bug Description** It is currently not possible to compile to the `wasm32-unknown-unknown` target on macOS when the `crypto-primitives` feature is enabled. The issue is that the library we use for...
**Task description** Add a section about smart contract execution const, reduction of the module size, etc. See: https://github.com/Concordium/concordium.github.io/issues/755
**Task description** Provide an example of using `invoke_contract_read_only` and demonstrate how it prevents the contract state from updating through reentrant calls. Also, pay attention to the contract balance: show that...
**Task description** Update developer documentation about upgrades in light of #199 . The example in the repository has been updated, and we need to reflect this in the documentation.
**Description** Currently the CIS2 library provides an CIS2Event type which owns all the values. However in practice in smart contracts these events are generally only constructed to be emitted by...
## Purpose closes https://github.com/Concordium/concordium-rust-smart-contracts/issues/127 ## Changes Adding a new example smart contract for a mini-tutorial ## Checklist - [x] My code follows the style of this project. - [x] The...