- Git clone the project
- Install
golangif not already installed, i'm using thev1.21.4 - Run
go mod tidyto install the dependencies - Run
go run main.goto try it on your local machine - Run
go build main.goto build the binary based on your architecture
- Fetch price from Orca & Binance
- Cache the price for 3 seconds
You can add the ticker by adding the slice of tickers on tickers variables in main.go file
- Support for Binance
- Refactor the code to make it more easier to read
- Extract the tickers into the database or file