Attestation
The attestation subsystem of the Creditcoin Oracle achieves consensus about the confirmed state of a foreign chain and records that consensus on Creditcoin.
Introduction
Attestation is the process by which the Creditcoin Decentralized Oracle keeps track of the finalized state of external source chains. State transitions of each source chain are monitored by a decentralized network of attestors. Each eligible attestor creates an attestation, a cryptographic commitment showing its view of new blocks on the source chain and signs it with a BLS signature. Since no single attestor can be fully trusted, we require consensus among independent attestors, achieved through a P2P gossip network that aggregates votes and signatures offline before submitting them on Creditcoin.
Attestation Process
The attestation process is outlined below:
Attestors constantly monitor the external source chain for new finalized blocks.
Each attestor summarizes the progress of the source chain from the last finalized attestation on Creditcoin to the current height based on their view of both chains. All eligible attestors for that block height on the source chain, sign their respective attestation with a BLS signature and submit it to the P2P gossip network.
The off-chain P2P gossip network coordinates the attestation votes, validates them, and aggregates the BLS signatures.
Once a quorum is reached, a random set of attestors is selected using a VRF to submit the aggregated attestation to Creditcoin.
The Creditcoin validators then verify the aggregated attestation (including attestor eligibility and the aggregated BLS signature) before storing it on-chain.
This approach reduces on-chain traffic by consolidating multiple attestor votes into a single transaction with a single aggregated signature, enabling efficient scaling to larger attestor networks.
The follow diagram provides a visualization of this process:

Last updated