Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laurci/mx-delegation-service
Fork of multiversx/mx-delegation-service
https://github.com/laurci/mx-delegation-service
Last synced: 30 days ago
JSON representation
Fork of multiversx/mx-delegation-service
- Host: GitHub
- URL: https://github.com/laurci/mx-delegation-service
- Owner: laurci
- Created: 2023-09-26T17:55:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-28T08:18:05.000Z (over 1 year ago)
- Last Synced: 2024-10-30T06:27:16.995Z (3 months ago)
- Language: TypeScript
- Homepage: https://github.com/multiversx/mx-delegation-service
- Size: 579 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
Delegation API for the Elrond network
## Installation
```bash
$ yarn install
$ yarn init-plugins
```## Running the app
```bash
# development
$ yarn start# watch mode
$ yarn start:dev# production mode
$ yarn start:prod
```## Dependencies
1. Redis Server is required to be installed [docs](https://redis.io/).You can use `docker-compose up -d` in a terminal to use a local docker container for all these dependencies.
After running the sample, you can stop the Docker container with `docker-compose down`
It depends on the following external systems:
- gateway:
- provides access to node information, such as network settings, delegation contract configs, staking providers settings, etc
- docs: https://docs.elrond.com/sdk-and-tools/proxy/
- index:
- a database that indexes data that can be queries, such as transactions, blocks, delegators, etc.
- docs: https://docs.elrond.com/sdk-and-tools/elastic-search/It uses on the following internal systems:
- redis: used to cache various data, for performance purposes
An API instance can be started with the following behavior:
- public API: provides REST API for the consumers
- private API: used to report prometheus metrics & health checks