Skip to main content
Several organizations are partnering with Mezo to bring their dApps and services to the network. These integrations provide essential infrastructure and tooling for developers building on Mezo.

Oracle Providers

Pyth Network

The Pyth Network is one of the largest first-party Oracle networks and delivers real-time data across several chains including Mezo. Pyth introduces an innovative low-latency pull oracle design where users can pull price updates onchain when needed. This enables everyone in the onchain environment to access data points efficiently.
The Pyth network updates prices every 400ms, making Pyth one of the fastest onchain oracles.
Deployed Contracts:
NetworkContract AddressExplorer
Mezo Mainnet0x2880aB155794e7179c9eE2e38200202908C17B43View on Explorer
Mezo Testnet0x2880aB155794e7179c9eE2e38200202908C17B43View on Explorer

Pyth Documentation

Learn how to use Pyth in your dApp

Price Feeds

Browse available price feeds

Stork Oracle

Stork is an oracle protocol that enables ultra low latency connections between data providers and both on and off-chain applications. The most common use-case for Stork is pulling and consuming market data in the form of real time price feeds for DeFi. Stork is available on Mezo Testnet.

Stork Documentation

Complete Stork integration guide

Contract Addresses

Deployed contracts on Mezo Testnet

Supra Oracles

Supra is a cross-chain oracle network designed to power dApps across blockchain ecosystems with fast, secure, decentralized, and scalable data solutions. Supra’s Distributed Oracle Agreement (DORA) is available on Mezo Testnet.
See Supra’s Available Networks page to find the correct pull contract and storage contract addresses for Mezo.

Supra Documentation

Learn how to integrate Supra oracles

Indexing Services

Goldsky

Goldsky is an indexer for web3 builders that offers subgraph hosting and realtime data replication pipelines. Goldsky is available on Mezo Testnet using the slug mezo-testnet. Features:
  • Subgraph hosting and deployment
  • Real-time data replication
  • High-performance indexing
  • GraphQL API endpoints

Goldsky Documentation

Get started with Goldsky indexing

Wallet Infrastructure

Onchain Den

Den provides a self-custodial multi-signature wallet for onchain organizations, and is available on Mezo. Onchain Den also worked with Mezo to provide SAFE infrastructure at safe.mezo.org. Features:
  • Multi-signature wallet support
  • Organization treasury management
  • Transaction batching
  • Role-based access control

Den Documentation

Learn about Den multi-sig wallets

Mezo Safe

Access Safe infrastructure on Mezo

Integration Examples

Using Pyth Price Feeds

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@pythnetwork/pyth-sdk-solidity/IPyth.sol";
import "@pythnetwork/pyth-sdk-solidity/PythStructs.sol";

contract MyDeFiApp {
    IPyth pyth;
    
    constructor(address pythContract) {
        pyth = IPyth(pythContract);
    }
    
    function getBTCPrice(bytes[] calldata priceUpdate) public payable returns (uint256) {
        // Update the price feeds
        uint fee = pyth.getUpdateFee(priceUpdate);
        pyth.updatePriceFeeds{value: fee}(priceUpdate);
        
        // Read the current price
        bytes32 priceId = 0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43; // BTC/USD
        PythStructs.Price memory price = pyth.getPrice(priceId);
        
        return uint256(uint64(price.price));
    }
}

Querying Goldsky Subgraph

import { request, gql } from 'graphql-request';

const SUBGRAPH_URL = 'https://api.goldsky.com/api/public/project_<your-project-id>/subgraphs/mezo-testnet/<version>/gn';

const query = gql`
  query {
    tokens(first: 10) {
      id
      name
      symbol
      decimals
    }
  }
`;

const data = await request(SUBGRAPH_URL, query);
console.log(data);

Integrating Stork Oracle

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@stork-oracle/stork-external/IStorkPriceOracle.sol";

contract MyContract {
    IStorkPriceOracle public storkOracle;
    
    constructor(address _storkOracle) {
        storkOracle = IStorkPriceOracle(_storkOracle);
    }
    
    function getLatestPrice(bytes32 feedId) public view returns (uint256) {
        (uint256 price, uint256 timestamp) = storkOracle.getLatestPrice(feedId);
        return price;
    }
}

Become a Partner

Interested in integrating your service with Mezo? We welcome partnerships that bring value to the Mezo ecosystem.
1

Review Requirements

Ensure your service meets the dApp Requirements for ecosystem integration.
2

Test Integration

Deploy and test your integration on Mezo Testnet first.
3

Submit Proposal

Reach out through the Mezo Discord or contact the Supernormal Foundation.
4

Documentation

Provide comprehensive documentation for developers using your integration.

Additional Resources

Developer Environment

Set up your development environment

MUSD Integration

Integrate MUSD stablecoin

Mezo Passport

Add wallet connection support

Deploy Contracts

Requirements for Mezo Market
Have questions about integrations? Join the Mezo Discord for support from the developer community.

Build docs developers (and LLMs) love