GetBlock.io is a blockchain node provider that allows developers to connect to various blockchain networks via API. This project provides a simple way to interact with GetBlock.io services using both a command-line interface (CLI) and a web API.
To use GetBlock.io, you need to configure an API key. This can be done by setting the $API_KEY variable in the makefile or assigning it to the environment variable GETBLOCK_KEY.
- Make sure you have
makeinstalled. - An active API key from GetBlock.io.
To run the CLI version, use the following commands:
make cli
make run-cliTo launch the web API service, run:
make service
make run-serviceOnce the service is running, you can access the API at:
For convenience, you can run the application using Docker:
make container-clior
make container-serviceContributions are welcome! Please submit a pull request or open an issue if you find any bugs or have feature requests.
This project is licensed under the MIT License.
For any issues, feel free to reach out or open an issue in the repository.