🏛️Architecture

pandoras-box consists of three major components: the distributor, the runtime, and the collector.

Distributor

The distributor is responsible for distributing funds from a single account to multiple subaccounts, which are used in the stress test. This helps to simulate real-world scenarios where multiple users are interacting with the network.

Runtime (also called Engine)

The runtime is the component that actually runs the stress test. It supports three different modes: ERC20, ERC721, and EOA. The mode selected will depend on the type of stress test being performed.

Collector

The collector gathers transaction data from the blockchain and calculates the transactions per second (TPS) and block utilization using standard JSON-RPC endpoints. This information is useful for understanding the performance of the network during the stress test.

Last updated