Skip to content

Commit

Permalink
chore: update config (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati authored Aug 2, 2024
1 parent 3852195 commit 564441f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions config/config.sample.pythnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ listen_address = "127.0.0.1:8910"

[primary_network]

# HTTP(S) endpoint of the RPC node. Public RPC endpoints are usually rate-limited, so a private
# endpoint should be used in most cases.
# HTTP(S) endpoint of the RPC node. Public Pythnet RPC endpoints are usually
# rate-limited, so a private endpoint should be used in most cases.
rpc_url = "https://api2.pythnet.pyth.network"

# WS(S) endpoint of the RRC node. This is used to subscribe to account changes on the network.
Expand All @@ -21,7 +21,8 @@ key_store.program_key = "FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH"
key_store.mapping_key = "AHtgzX45WTKfkPG53L6WYhGEXwQkN1BVknET3sVsLL8J"

# Pythnet accumulator key
# The pythnet accumulator key settings are only valid for pythnet. Do not apply these settings for any other environment i.e. mainnet, pythtest-conformance
# The pythnet accumulator key settings are only valid for pythnet. Do not apply
# these settings for any other environment i.e. mainnet, pythtest-conformance
key_store.accumulator_key = "7Vbmv1jt4vyuqBZcpYPpnVhrqVe5e6ZPb6JxDcffRHUM"

# IMPORTANT: Exporter batch size must be decreased to 7 to support
Expand Down
8 changes: 4 additions & 4 deletions config/config.sample.pythtest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ listen_address = "127.0.0.1:8910"

[primary_network]

# HTTP(S) endpoint of the RPC node. Public RPC endpoints are usually rate-limited, so a private
# endpoint should be used in most cases.
# HTTP(S) endpoint of the RPC node.
rpc_url = "https://api.pythtest.pyth.network"

# WS(S) endpoint of the RRC node. This is used to subscribe to account changes on the network.
# This can be omitted when oracle.subscriber_enabled is set to false.
# WS(S) endpoint of the RRC node. This is used to subscribe to account changes
# on the network. This can be omitted when oracle.subscriber_enabled is set to
# false.
wss_url = "wss://api.pythtest.pyth.network"

# Path to your publishing keypair.
Expand Down
6 changes: 3 additions & 3 deletions config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ listen_address = "127.0.0.1:8910"
[primary_network]
### Required fields ###

# HTTP(S) endpoint of the RPC node. Public RPC endpoints are usually rate-limited, so a private endpoint should be used in most cases.
# Note that api.pythtest.pyth.network is a private endpoint: please contact us for access.
# HTTP(S) endpoint of the RPC node. Public RPC endpoints are usually
# rate-limited for Pythnet, and so a private endpoint should be used in most
# cases. For Pythtest, the public endpoint can be used.
rpc_url = "https://api.pythtest.pyth.network"

# WS(S) endpoint of the RRC node. This is used to subscribe to account changes on the network.
# This can be omitted when oracle.subscriber_enabled is set to false.
# Note that api.pythtest.pyth.network is a private endpoint: please contact us for access.
wss_url = "wss://api.pythtest.pyth.network"

# Path to the keypair used to publish price updates. If set to a
Expand Down

0 comments on commit 564441f

Please sign in to comment.