Pragma Oracle · Miden

Provable price feeds
for Polygon Miden

Real-time oracle data aggregated from multiple publishers, available natively on the Miden rollup.


Live Feeds

Real-time oracle prices

Updated every 10 seconds · On-chain Miden data

Fetching oracle data...

Publisher Integration

Become a price publisher

Push price data to the Miden oracle and contribute to decentralized aggregation.

01

Build the CLI tools

cargo build --release
02

Initialize your publisher account

./target/release/pm-publisher-cli init
03

Request registration

Send your publisher ID to the Oracle administrator

./target/release/pm-oracle-cli register-publisher YOUR_PUBLISHER_ID
04

Start publishing prices

./target/release/pm-publisher-cli publish 1:0 98179840000 6 1738593825

Where 1:0 = BTC/USD, price has 6 decimal places

Read full docs

Consumer Integration

Query oracle data

Single asset or batch queries with the CLI. 47% faster batch via single sync.

./target/release/pm-oracle-cli median 1:0 --network testnet
# Output: Median value: 76436215000

Returns: is_tracked · median_price (6 decimals) · amount (optional)

Read full docs

Deployments

Testnet contracts


Faucet IDs

1:0BTC/USD
2:0ETH/USD
3:0SOL/USD
4:0BNB/USD
5:0XRP/USD
6:0HYPE/USD
7:0POL/USD