Repository files navigation
ETL to update a pyth oracle with floor and avg price for a given NFT collection
Create NFT Collection Product Account in the modified version of the pyth oracle (https://github.com/ferric-sol/pyth-client )
Create two Price Accounts one with price_type 'floor_price' and one with price_type 'avg_price' for this new Product Account
Update product account id in solsearcher.js
Update the collection names in solsearcher.js
Run with node solsearcher.js and it should send the floor and average price for this NFT collection to the pythd running on localhost
Run through every collection on every exchange and automatically create a product account id in pythd
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
You can’t perform that action at this time.