Skip to content

Commit

Permalink
Remove price service mentions and its page (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati authored Oct 18, 2023
1 parent 3b3085c commit 1c3006a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 37 deletions.
2 changes: 1 addition & 1 deletion pages/cosmwasm/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ this section will explain the differences between Pyth Network and other oracles
Users of the Pyth contract will typically need to perform two operations:

- Update the on-chain price -- In off-chain code, retrieve a verified price update from the
[price service](documentation/pythnet-price-feeds/price-service) and execute [UpdatePriceFeeds](cosmwasm/execute-update-price-feeds).
[Hermes](documentation/pythnet-price-feeds/hermes) and execute [UpdatePriceFeeds](cosmwasm/execute-update-price-feeds).
This operation makes the price available for on-chain use.
You will typically put this message at the beginning of a transaction, and subsequent messages in the transaction
can consume the new price.
Expand Down
1 change: 0 additions & 1 deletion pages/documentation/pythnet-price-feeds/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"sui": "Pyth on Sui",
"cosmwasm": "Pyth on CosmWasm",
"off-chain": "Pyth for Off-chain Apps",
"price-service": "Price Service",
"scheduler": "Scheduler",
"cross-chain-batches": "Price Feed Batches"
}
7 changes: 3 additions & 4 deletions pages/documentation/pythnet-price-feeds/hermes.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Hermes

[Hermes][hermes-repo] is a web service that listens to the Pythnet and the Wormhole Network for Pyth price updates, and
serves them via a convenient web API. It's a backward-compatible rewrite of the [Price Service](./price-service.mdx),
which, in addition to being more reliable, provides Pyth's latest price update data format that are more cost-effective
serves them via a convenient web API. It provides Pyth's latest price update data format that are more cost-effective
to verify and use on-chain.

Hermes allows users to easily query for recent price updates via a REST API, or subscribe to a websocket for streaming
updates. The Pyth Network's Javascript SDKs connect to an instance of the price service to fetch price updates.
updates. The Pyth Network's Javascript SDKs connect to an instance of the Hermes to fetch price updates.

[hermes-repo]: https://github.com/pyth-network/pyth-crosschain/tree/main/hermes

Expand All @@ -33,7 +32,7 @@ The following node providers offer Hermes:
## Usage

The [Hermes API Documentation](https://hermes.pyth.network/docs) provides a comprehensive explanation of Hermes API for
user interaction. As Hermes utilizes the price service API, you can use [the price service client library in
user interaction. You can use [the price service client library in
JS](https://github.com/pyth-network/pyth-crosschain/tree/main/price_service/client/js) to interact with Hermes.

Here's an example of retrieving the latest update of the ETH/USD price feed using `curl`.
Expand Down
31 changes: 0 additions & 31 deletions pages/documentation/pythnet-price-feeds/price-service.mdx

This file was deleted.

1 comment on commit 1c3006a

@vercel
Copy link

@vercel vercel bot commented on 1c3006a Oct 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.