I’m trying to get price feeds for SUI.
I’m using Hermes (pyth-crosschain/apps/hermes/server at main · pyth-network/pyth-crosschain · GitHub) and Beacon (GitHub - pyth-network/beacon: A Wormhole message relay) for it.
Hermes requires to set --pythnet-http-addr and --pythnet-ws-addr.
What values should I use for these? It is possible to setup a local Pyth node or I should you a some public Pyth node?
I’m wondering why you are not using the public Hermes instances (or the ones from node providers). You can use https://api2.pythnet.pyth.network and wss://api2.pythnet.pyth.network as endpoints for it.
Thanks for you answer!
But, I want greater control over the infrastructure, and I hope the feeds will perform faster.
Would be good if you expand what exactly you need; you can’t go faster with your own Pythnet RPC because the latency path goes through Wormhole and the only way to optimize it by running beacon and hermes yourself (which you are doing). But if you want to try it yourself, here is the link to the guide on running Pythnet RPC. You’d run it at your own risk, there is a limited support bandwidth on it and you need to stay on top of the updates (by watching Github releases and validators versions) yourself.