https://github.com/renproject/lightnode
A simple node used for interacting with Darknodes
https://github.com/renproject/lightnode
Last synced: 11 months ago
JSON representation
A simple node used for interacting with Darknodes
- Host: GitHub
- URL: https://github.com/renproject/lightnode
- Owner: renproject
- License: mit
- Created: 2019-04-18T03:02:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T03:31:38.000Z (over 3 years ago)
- Last Synced: 2025-05-14T02:52:02.738Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 2.68 MB
- Stars: 20
- Watchers: 13
- Forks: 6
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# `🚀 lightnode`

[](https://coveralls.io/github/renproject/lightnode?branch=master)
A node used for querying Darknodes using JSON-RPC 2.0 interfaces. Featuring query caching (for performance) as well as retrying for failed requests (for reliability).
Built with ❤ by Ren.
# Building a Docker image
```sh
docker build . --build-arg GITHUB_TOKEN={your github token} --tag lightnode
```
# Running a Docker image
Ensure you have a working local `.env` file for neccesary env vars set, then
```sh
docker run --env-file=.env --env DATABASE_URL=/lightnode/cache.sql --network host -v `pwd`/cache.sql:/lightnode/cache.sql lightnode
```