Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

w3f-webops/polkadot-staking-dashboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This repository is deprecated in favour of @polkadot-cloud/polkadot-staking-dashboard


License

Polkadot Staking Dashboard

Screenshot 2023-08-29 at 18 54 33

Contributing Community Assets

Validator Operators

To showcase a validator operator on staking dashboard, submit a PR to @w3ux/w3ux-library. The operator will then be available in the @w3ux/validator-assets NPM package. Full instructions.

URL Variable Support

Polkadot Staking Dashboard supports URL variables that can be used to direct users to specific configurations of the app, such as landing on a specific language or on a specific network. Variables are added at the end of the hash portion of URL.

The currently supported URL variables are as follows:

  • n: Controls the default network to connect to upon visiting the dashboard. Supported values are polkadot, kusama and westend.
  • l: Controls the default to use upon visiting the dashboard. Supported values are en and cn.
  • a: Controls the account to connect to upon visiting the dashboard. Ignored if the account is not present in the initial imported accounts.

URL variables take precedence over saved values in local storage, and will overwrite current configurations. URL variables will update (if present) as a user switches configurations in-app, such as changing the network or language.

Example URL:

The following URL will load Kusama and use the Chinese localisation resource:

staking.polkadot.network/#/overview?n=kusama&l=cn

Using Containers

You may build a container using:

./shell/build-container.sh

Then run your container with:

podman run --d -p 8080:80 localhost/polkadot-staking-dashboard

And access the Staking Dashboard at http://localhost:8080/.

Presentations

About

[WIP] A redefining Polkadot staking dashboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.6%
  • SCSS 1.7%
  • JavaScript 0.4%
  • HTML 0.2%
  • CSS 0.1%
  • Dockerfile 0.0%