Pyth Pro equity entitlement for the Solana Perps and Prediction Markets hackathon

Hi, I’m building for the Solana Foundation’s Perps and Prediction Markets hackathon, which closes on 5 December. My project settles contracts on tokenized stocks against the regular-session US equity price, verified inside a Solana program.

Could you enable US equity feeds on my Pyth Terminal account for the hackathon? I need NVDA, TSLA and SPY. My account email is iamsaiyedzayn@gmail.com.

Two questions while I’m here:

  1. Which program should a Solana contract use to verify a Pyth Pro equity update?
  2. Does the update include the market session, so my program can reject anything that isn’t a regular-session price?

Last month I filed pyth-crosschain issue 4055 about stale shards on the equity price accounts, which is why I want signed updates for settlement.

Hey,

Mind sharing more details on this hackathon please?

The demo account does provide access to those feeds normally.

  1. For a direct Pyth Pro equity update on Solana, use the Pyth Lazer verifier program, pytd2yyk641x7ak7mkaasSJVXh6YYZnC7wTmtgAyxPt, via pyth-lazer-solana-contract. The transaction also needs a separate built-in Ed25519 verification instruction. This is not the Pyth Core receiver/PriceUpdateV2 path. You can also use the upgraded Pyth Core instead of a direct Pro payload, if so, your Solana program should read a PriceUpdateV2 account from the Pyth Core receiver, using a Core/Hermes-format update and hex feed ID—not send the direct Pro solana payload to the Lazer verifier.
  2. Yes—request marketSession in properties and solana in formats. The session is included in the signed binary payload when requested, so your program can check it after verification.[3][4] To accept a fresh regular-session price, check the expected numeric feed ID, require marketSession == regular and feedUpdateTimestamp == timestampUs, and enforce an age limit. The session label alone is insufficient: a regular-session update can carry forward an older price.

Thanks, that answers both questions.

It’s the Solana Foundation’s Perps and Prediction Markets hackathon: Perps and Prediction Markets | Hackathons Solana. Submissions close on 5 December and judging runs after that.

My Terminal account is on a demo trial that expires around 9 November, before the build week. Could the equity access be extended to the end of December? NVDA is the main feed; TSLA and SPY are nice to have. Happy to share project details privately if that helps.

I have just extended the period.

Thanks for extending it. I tested the stream just now and the trial still doesn’t cover equities. Subscribing to Equity.US.NVDA/USD (feed 1314) returns:

“Not entitled: feed 1314 (no grant accepts this feed (asset type ‘equity’, instrument type ‘spot’, exchange 1))”

Crypto feeds work fine. Could you add equity spot access to the account (iamsaiyedzayn@gmail.com)? NVDA is the one I need.

Hi @KemarTiti , in case the solved mark hid my last reply, the trial still returns “Not entitled” for Equity.US.NVDA/USD (feed 1314). Could you add equity spot access?

Apologies now fixed - thanks for the patience