Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nymtech/bdjuno
A fork of https://github.com/forbole/bdjuno for the Nyx blockchain
https://github.com/nymtech/bdjuno
Last synced: 3 days ago
JSON representation
A fork of https://github.com/forbole/bdjuno for the Nyx blockchain
- Host: GitHub
- URL: https://github.com/nymtech/bdjuno
- Owner: nymtech
- License: mit
- Created: 2022-10-19T11:15:55.000Z (about 2 years ago)
- Default Branch: chains/nyx/mainnet
- Last Pushed: 2024-07-03T17:16:29.000Z (6 months ago)
- Last Synced: 2024-12-17T17:05:19.128Z (10 days ago)
- Language: Go
- Size: 3.46 MB
- Stars: 77
- Watchers: 5
- Forks: 15
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# BDJuno
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/forbole/bdjuno/Tests)](https://github.com/forbole/bdjuno/actions?query=workflow%3ATests)
[![Go Report Card](https://goreportcard.com/badge/github.com/forbole/bdjuno)](https://goreportcard.com/report/github.com/forbole/bdjuno)
![Codecov branch](https://img.shields.io/codecov/c/github/forbole/bdjuno/cosmos/v0.40.x)BDJuno (shorthand for BigDipper Juno) is the [Juno](https://github.com/forbole/juno) implementation
for [BigDipper](https://github.com/forbole/big-dipper).It extends the custom Juno behavior by adding different handlers and custom operations to make it easier for BigDipper
showing the data inside the UI.All the chains' data that are queried from the RPC and gRPC endpoints are stored inside
a [PostgreSQL](https://www.postgresql.org/) database on top of which [GraphQL](https://graphql.org/) APIs can then be
created using [Hasura](https://hasura.io/).## Usage
To know how to setup and run BDJuno, please refer to
the [docs website](https://docs.bigdipper.live/cosmos-based/parser/overview/).## Testing
If you want to test the code, you can do so by running```shell
$ make test-unit
```**Note**: Requires [Docker](https://docker.com).
This will:
1. Create a Docker container running a PostgreSQL database.
2. Run all the tests using that database as support.## Setup
Remember to run this if you have an empty database:
```
cd hasura
hasura metadata apply --endpoint http://localhost:8080 --admin-secret myadminsecretkey
```