Partner ChainsSubstrate NodesOverview

Substrate Nodes (Partner Chain)

The charli3-substrate-chain repository is Charli3’s extension of IOG’s Base Partnerchain, with oracle-specific customizations. It utilizes the charli3-oracle-core pallet to add price feed aggregation and related functionality.

Architecture

Unlike general-purpose blockchains where oracle operations are just another smart contract, the Partner Chain embeds oracle logic directly into the node’s runtime.

Key Features

  • High Frequency Updates: Because the chain is dedicated to this purpose, it can support rapid block times and high throughput for data updates.
  • Zero-Fee Data Submission: Nodes submit price data via specialized transactions that do not incur standard gas fees, optimizing the cost of operations.
  • Consensus & Aggregation: Nodes take turns producing blocks. At the end of each block, the network calculates an aggregated price (e.g., median) from all valid submissions in that block.

Capabilities and Components

Block Production Rewards

The Partner Chains node provides a mechanism for exposing the mapping of block beneficiaries. The chain builder uses this input to distribute rewards on the partner chain ledger.

ComponentDescription
RegistrationValidators register their Cardano cold secret key with their Partner Chain keys.
Block loggingPartner Chain nodes log block production data, including beneficiaries.
Reward calculationDetermined by the Partner Chain instance (e.g., N tokens per block).

Substrate Oracle Core

The charli3-substrate-oracle-core library provides shared functionality:

  • Aggregation Algorithms: Statistical utilities for calculating medians.
  • Data Types: Shared structures for Price, OracleMessage.
  • CBOR Encoding: Utilities for Cardano verification compatibility.