Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 2.12 KB

README.md

File metadata and controls

60 lines (37 loc) · 2.12 KB

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="<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

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

As 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.

image

Show Avatar in Web

https://9c-board.nine-chronicles.dev/[NETWORK]/avatar/[AVATAR_ADDRESS]?<index=[BLOCK_INDEX]>

You can view some avatar states on the web.

image