Contract Examples

Parallelized Smart Contracts

On what and how to write parallel smart contract please refer to the concurrent programming guide

Example

From Solidity's official document, a naturally parallelizable without needing modification.

Utilizes Arcology's concurrent library to handle parallel like calls to the same contract

Counts the number of visits to a contract, can handle concurrent calls.

Parallelized version of an Ethereum official example to demonstrate how a standard Ethereum contract can be parallelized using the Arcology Network's concurrent libraries.

A parallelized Ethereum example. Another example to demonstrate how to parallelize a standard Ethereum contract.

The original implementation is available here. It is a simple and sufficient ERC20 implementation. The new version allows concurrent mint and burn.

Last updated