Othentic Stack is AVS development framework.
For more details, check the Official Documentation here: - https://docs.othentic.xyz/main
Please check out the src/NetworkManagement folder to learn about the AVS contracts.
Each validator holds a private key linked to their restaked and delegated stake tokens, granting them voting power and also exposing them to slashing and penalties for malicious behavior. In the Othentic Stack, developers focus on the logic of Tasks execution and validation. Performers execute the tasks, while attesters vote on the quality of the work.
Network governance is managed by the AvsGovernance
contract, which handles the management of network members, deposits, and more. The network can control stake tokens based on task performance and vote against malicious actions. These votes are managed by the AttestationCenter
contract, which monitors task performance, operators, and their stakes.
To address cost and availability concerns, AvsGovernance
and AttestationCenter
are deployed on separate networks, Layer 1 and Layer 2, respectively. The Othentic Stack leverages LayerZero messaging protocol, along with L1MessageHandler
and L2MessageHandler
, to enable message-passing interactions across different layers.
The Othentic Stack enables developers to build an AVS by abstracting away common technical challenges and low-level infrastructure details. Developers focus solely on implementing the two key business actors of AVSs, "Performer" and "Attester" (collectively forming the validator), while their respective business logic is handled by off-chain services.
The Layer 1 part, consists of the following contract deployments:
- Othentic Registry is a singleton smart contract that facilitates the integration with shared security protocols and AVSs.
- AvsGovernance is governance contract of the AVS.
- l1MessageHandler is used to send messages from the AVS governance contract to L2.
The Layer 2 part, consists of the following contract deployments:
- AttestationCenter is a contract designed to ensure the integrity and efficiency of AVS operations by bridging off-chain execution with on-chain verification and maintaining a transparent history of all activities involved.
- OBLS is the contract that facilitates on-chain verification for AVS tasks, enabling AVS’s Operators to submit distinct task specifications
BN256G2
is cryptographic logical contract used by OBLS- l2MessageHandler is used to send messages from the Attestation center contract to L1.
Install using npm:
npm i -g @othentic/othentic-cli