API Handler

Solidity, the programming language used to develop smart contracts on the Ethereum platform, wasn't initially designed for concurrent use. Arcology has the capability to guard all forms of concurrency challenges. However, to fully harness the advantages of its parallel execution design, developers need the assistance of tools and libraries that facilitate effective concurrent programming.

The purpose of the APIs is to provide additional functionality for efficient concurrent programming and resource management, while still operating within the framework of the EVM.

Concurrent Tools

Arcology offers a range of parallel Solidity APIs such as lock-free containers, multiprocessing utilities to eliminate data contentions. These APIs empower developers with the tools and capabilities needed to fully harness the potential of its parallel execution design.

By incorporating these APIs into their smart contracts, developers can enable efficient and contention-free concurrent programming. This design ensures seamless and efficient communication between the Solidity code and the concurrency control components.

Call Routing

Since the concurrent APIs aren't part of the original EVM, Arcology needs to be responsible for routing calls from these library APIs to the relevant components of Arcology's concurrency control system.

To do this, a call router is implanted within the EVM's execution flow where the concurrency control functionality can be detected. It serves as the entry points for the plugin to intercept and manage the transaction execution process.

Control Flow

After the Arcology-specific operations and resource management tasks are carried out using the APIs, control will be returned to the standard EVM processes for further execution. This integration ensures that the smart contract's behavior remains consistent with the EVM's design.

Last updated