rpcpool / yellowstone-vixen

Solana program parsing toolkit
MIT License
55 stars 15 forks source link

Example Vixen.toml is Missing #33

Closed notwedtm closed 1 month ago

notwedtm commented 1 month ago

The documentation makes reference to an example configuration file but that file is a 404: image

808putnam commented 1 month ago

Went back in the commits to find a version to drop in. Here's what I found: Vixen.toml:

[yellowstone]
# endpoint of the dragonmouth stream
endpoint = "https://index.rpcpool.com"
# x-token of the dragonmouth stream
x-token = "d19dadc5-f7bf-4dc6-bf71-b28d052baee6"
# dragonmouth connect timeout in seconds
timeout = 60
# #Prometheus metrics config, uncomment this while using prometheus
[metrics]
# # endpoint of the metrics stream (metrics data is pushed to this endpoint and consumed by prometheus)
endpoint = "http://localhost:3030"
# # job name of the metrics stream
job = "example"
# # username of the metrics stream
username = "foo"
# # password of the metrics stream
password = "bar"
# # metrics export interval in seconds
export-interval = 60
kespinola commented 1 month ago

Opening a PR shortly to set an example Vixen.toml. You will need to copy that to Vixen.toml which will be gitignored to avoid leaking your dragon's mouth api token.