https://github.com/planetarium/9c-board
web viewer of NineChronicles states
https://github.com/planetarium/9c-board
hacktoberfest hacktoberfest2024
Last synced: 5 months ago
JSON representation
web viewer of NineChronicles states
- Host: GitHub
- URL: https://github.com/planetarium/9c-board
- Owner: planetarium
- License: agpl-3.0
- Created: 2020-04-07T10:22:02.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T01:49:51.000Z (8 months ago)
- Last Synced: 2024-08-29T02:24:18.482Z (8 months ago)
- Topics: hacktoberfest, hacktoberfest2024
- Language: TypeScript
- Homepage: https://9c-board.nine-chronicles.dev/
- Size: 3.3 MB
- Stars: 3
- Watchers: 15
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 9c-board
A web application to provide useful tools. You can access it at https://9c-board.nine-chronicles.dev/.
## Development
### Configure Environment
- Create a `.env` file in the project's root directory.
```
# Set network config map e.g.,
NETWORK_CONF_MAP="=,odin-main=http://url/graphql,odin-internal=http://url/graphql"
MIMIR_GRAPHQL_URL_MAP="=,main=https://mimir-internal.nine-chronicles.dev/graphql/"
```### Run
```
yarn install
yarn codegen
yarn dev
```## Features
### Planets & Networks
NineChronicles' blockchain network is divided into planets, which can be found below.
- Main network: https://planets.nine-chronicles.com/planets
- Internal network: https://planets-internal.nine-chronicles.com/planetsAs shown above, NineChronicles' planets are divided into main and internal networks for deployment purposes.
Each feature provided here must be used separately for each planet and network.This is a common way to determine what goes into the '[NETWORK]' location in the URL of a feature, which we'll discuss below.
| | main | internal |
| :------: | :------: | :---------------: |
| odin | odin | odin-internal |
| heimdall | heimdall | heimdall-internal |Since this information is tied to the `NETWORK_CONF_MAP` and `MIMIR_GRAPHQL_URL_MAP` values defined in your `.env` file, you can change it as needed.
### Show Tablesheet in Web
`https://9c-board.nine-chronicles.dev/[NETWORK]/tablesheet/[TABLESHEET_NAME]`
For instance, you can see the current `StakeRegularRewardSheet` of the `odin` network at `https://9c-board.nine-chronicles.dev/odin/tablesheet/StakeRegularRewardSheet`.
### Show Avatar in Web
`https://9c-board.nine-chronicles.dev/[NETWORK]/avatar/[AVATAR_ADDRESS]?`
You can view some avatar states on the web.
![]()