Superteam Earn
Pyth Network

1

Abhishek

Developer | Create a Math Library for Combining Pyth Prices on Solidity

by Pyth Network

|
|
1,000PYTH

Total Prizes

1,000

PYTH

1st

8

SUBMISSIONS

Syncing...

REMAINING

About the Bounty

Your Mission:

As of today, only developers using Pyth in Rust language can easily combine 2 Pyth Prices into 1 (SOL:USD/ETH:USD=SOL/ETH).


The goal of this bounty is for you to create a Math Library to combine Pyth prices in Solidity.

For reference, you can start reviewing the Math Library used by Rust-based applications here.


Implementation Suggestion

Add your solidity library to the pyth solidity SDK here https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/sdk/solidity


About:

The Pyth Network is a first-party financial data oracle network that delivers on-demand, low-latency price data for over 500 assets on close to 50 EVM chains and another 10 non-EVM chains. As of today, there are about $5B in Total Value Secured by the Pyth Price Feeds and the latter has facilitated more than $400B in total trading volume across since inception.


Most oracles today are push oracles where the oracle operator is responsible for submitting price updates to the blockchain. Pyth is different: it is a pull oracle where anyone can permissionlessly update the on-chain price.


To learn more about Pyth, and Pull Oracles, please check the documentation here.


Submission Requirements:

  • A pull request containing the implementation of this new function on Superteam website.

Grading:

  • Douro Labs engineers (Pyth Network contributors) will review all codes submitted within 5 days of the submission deadline.

  • The winner of this bounty will be selected based on how elegant and secure is the code

Bounty Prizes:

  • The developer with the best/selected code will be rewarded with 1,000 PYTH

Resources


Terms & Disclaimer:

Pyth Data Association ("PDA") is a nonprofit Swiss association whose mission is to support the independent growth and development of the Pyth Network. PDA has established the Pyth Ecosystem Grant Program (this "Program") to encourage independent contributions from new participants on the Pyth Network. Nothing in this Program, nor any related documentation or webpage, should be construed as establishing an employment, contractor, partnership, joint venture, legal or agency relationship for any purpose between PDA and any grantee or any of his or her personnel, agent, assigns or other representatives of any kind, and no authority to bind PDA shall be granted to anyone at any time whatsoever. The grantee will report to all applicable government agencies as income all compensation received by them pursuant to this Program. Grantee shall assign all title and interest in the deliverables (including all Intellectual Property Rights) to PDA; provided that, PDA shall irrevocably and perpetually grant to the general public, including the Pyth token holder community, all rights and licenses in and to the deliverables pursuant to the terms and conditions of the Apache 2.0 open source license. Furthermore, PDA reserves the right to conduct any and all compliance screenings, including but not limited to, checks against sanctions lists, identity verification processes, and other Anti-Money Laundering (AML) and Know Your Customer (KYC) procedures as mandated by applicable law and within the relevant legal framework. Such compliance measures may impact or impede the disbursement of any awards under this Program.


By accessing and using this website, including but not limited to participating in Pyth Ecosystem Grant Program, you acknowledge and agree to the terms outlined in Pyth Data Association's Privacy Policy, which can be reviewed at https://pythdataassociation.com/privacy-policy.


SKILLS NEEDED

Blockchain

CONTACT

Reach outif you have any questions about this initialBounty