Skip to content

Find Solana NFT floor and avg prices and publish them to a pyth oracle

Notifications You must be signed in to change notification settings

ferric-sol/solsearcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solsearcher

ETL to update a pyth oracle with floor and avg price for a given NFT collection

Running

  1. Create NFT Collection Product Account in the modified version of the pyth oracle (https://github.com/ferric-sol/pyth-client)
  2. Create two Price Accounts one with price_type 'floor_price' and one with price_type 'avg_price' for this new Product Account
  3. Update product account id in solsearcher.js
  4. Update the collection names in solsearcher.js
  5. Run with node solsearcher.js and it should send the floor and average price for this NFT collection to the pythd running on localhost

TODO

  1. Run through every collection on every exchange and automatically create a product account id in pythd
  2. Create a mapping from marketplace collection name -> pyth product account id (different marketplaces name collections differently) -> solana address

About

Find Solana NFT floor and avg prices and publish them to a pyth oracle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published