modulepackage
1.0.2
Repository: https://github.com/calbera/go-pyth-client.git
Documentation: pkg.go.dev
# README
go-pyth-client
Go client library for interacting with Pyth Hermes and Benchmarks APIs in EVM based contracts. For more information on Pyth Hermes, please visit Pyth's documentation on price feeds. For more information on Pyth Benchmarks, please visit Pyth's documentation on benchmarks.
This project is still under development. For support on more endpoints and use cases, please open an issue or contribute!
Install
go-pyth-client
is a standard Go module which can be installed with:
go get github.com/calbera/go-pyth-client
Usage
Please read the Go documentation for this library for interface information.
Maintainers
Cal Bera: @calbera.
Contribute
Contributions welcome. Please check out the issues.
# Variables
NewBenchmarks creates a new Pyth Benchmarks client.
NewHermes creates a new Pyth Hermes client.
# Interfaces
Benchmarks is the interface of the Benchmarks client.
Hermes is the interface of the Hermes client.