concordium-contracts-common

Crates.ioconcordium-contracts-common
lib.rsconcordium-contracts-common
version9.2.0
sourcesrc
created_at2020-11-30 17:00:34.337557
updated_at2024-09-09 09:33:45.526169
descriptionCommon functionality used by smart contracts and the host environment on the Concordium blockchain.
homepagehttps://github.com/Concordium/concordium-base
repositoryhttps://github.com/Concordium/concordium-base
max_upload_size
id318279
size377,190
Emil Holm Gjørup (limemloh)

documentation

README

Concordium Contracts Common library

Contributor Covenant

This library provides the core API that can be used to write smart contracts for the Concordium blockchain in the Rust programming language. It aims to provide safe wrappers around the core primitives exposed by the chain and accessible to smart contracts.

The functionality in this library is re-exported via the concordium-std and the concordium-rust-sdk crate.

  • The concordium-std crate is intended as the entry-point for development of smart contracts in Rust. It adds a number of helper macros and traits on top of the basic functionality available here.

  • The concordium-rust-sdk crate is for off-chain development and interaction with smart contracts.

Features

  • std (enabled by default): Enables functionality that depends on the standard library.
  • derive-serde: Enable serialization and deserialization via serde. Enables std as well.
  • fuzz: Enable fuzzing via arbitrary. Enables derive-serde as well.
  • smart-contract: Enable functionality for smart contract development with concordium-std.

MSRV

The minimum supported rust version is specified in Cargo.toml manifest.

Links

Commit count: 6456

cargo fmt