đī¸Architecture
Last updated
Last updated
The PowerAgent dePIN network consists of on-chain and off-chain (physical nodes) components that work together. They are The Agent, The Job, and The Keeper(s).
PPAgentV2 contract and Job contracts are located on-chain.
Keeper software is run off-chain on dedicated users' machines, listens to the events from the blockchain via Websockets and interacts only with PPAgentV2 contract.
The Agent is the core contract of the network, storing information about all keepers and jobs. It also calculates rewards, processes slashing, and transaction execution initiated by a keeper.
The Job comprises binary information stored in the Agent in a specific custom layout, which describes what contract and when to execute, providing certain data regarding the job properties. The job can be configured in multiple ways, such as setting minimal CVP stake for keepers to be eligible for execution.
Keepers are agents executing Jobs in the network. A keeper is a bot running on a dedicated node and two corresponding blockchain addresses. This bot monitors the Job execution conditions and calls The Agent to execute the transaction when they are met.