Contract Examples
Parallelized Smart Contracts
Last updated
Parallelized Smart Contracts
Last updated
This section contains examples to help developers better understand how the concurrent tools provided can be used. The examples are specifically designed to work on the Arcology Network. To run them, you need to start a first.
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 | |
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 |