Skip to content

planetarium/9c-board

Repository files navigation

9c-board

A web application to provide useful tools. You can access it in https://9c-board.nine-chronicles.dev/.

Devlopment

Configure Environment

  • Create .env file to project root directory.
# Set network config map e.g.,
NETWORK_CONF_MAP="<networkType-nodeType>=<graphql-endpoint>,odin-main=http://url/graphql,odin-internal=http://url/graphql"
MIMIR_GRAPHQL_URL_MAP="<nodeType>=<mimir-graphql-endpoint>,main=https://mimir-internal.nine-chronicles.dev/graphql/"

Run

yarn install
yarn codegen
yarn dev

Features

Planets & Networks

NineChronicle's blockchain network is divided into planets, which can be found below.

As you can see above, NineChronicle's planets are divided into main and internal networks for deployment purposes. Therefore, each of the features 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-main odin-internal
heimdall heimdall-main heimdall-internal

And since this information is tied to the NETWORK_CONF_MAP value you define in your .env file, you can change it.

Show tablesheet in web

https://planetarium-9c-board.netlify.app/[NETWORK]/tablesheet/[TABLESHEET_NAME]

For instance, you can see current StakeRegularRewardSheet of odin-main network in https://planetarium-9c-board.netlify.app/odin-main/tablesheet/StakeRegularRewardSheet.

image

Show avatar in web

https://planetarium-9c-board.netlify.app/[NETWORK]/avatar/[AVATAR_ADDRESS]?<index=[BLOCK_INDEX]>

You can see some avatar state in web.

image