Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kilnfi/go-utils
Golang utilities
https://github.com/kilnfi/go-utils
Last synced: 7 days ago
JSON representation
Golang utilities
- Host: GitHub
- URL: https://github.com/kilnfi/go-utils
- Owner: kilnfi
- License: mit
- Created: 2022-02-04T02:08:58.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T11:09:36.000Z (about 1 year ago)
- Last Synced: 2024-04-15T10:12:26.707Z (10 months ago)
- Language: Go
- Size: 540 KB
- Stars: 1
- Watchers: 5
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Go-Utils
Go-Utils is a library containing a collection of Golang utilities
## Features
- JSON-RPC client allowing to connect to any JSON-RPC server over HTTP. It is built using [go-autorest](https://github.com/Azure/go-autorest) library, it allows to easily adapt the client to specific server's configuration without having to modify the primary implementation. For example it allows to add authorization, circuit breakers, request limiters, custom request headers, etc.
- Ethereum 1.0 client allowing to connect to any Ethereum node
| Features | Available |
|----------------------------------------------------------|-----------|
| Connect to node over HTTP | Yes |
| Connect to node over WebSocket | Not yet |
| Use go context for timeout and cancellation | Yes |
| Use core go-ethereum types | Yes |
| Compatible with abigen generated Smart-Contract bindings | Yes |
| Provides tracing for requests | Not Yet |- Ethereum 2.0 client allowing to connect to any Ethereum 2.0 beacon chain node (compatible with Prysm, Teku, Lighthouse)
| Features | Available |
|--------------------------------------------------------------------------|-----------|
| Connect to beacon node over HTTP | Yes |
| Use go context for timeout and cancellation | Yes |
| Use core [protolambda/zrnt](https://github.com/protolambda/zrnt) types | Yes |
| Provides tracing for requests | Not Yet |- A collection of Ethereum 1.0 & 2.0 flags compatible with [Cobra](https://github.com/spf13/cobra) library to build CLI applications that need to interact with blockchain nodes
- Helpers to manipulate data into CSV files