Skip to content

gear-foundation/polkadot-staking-dashboard

 
 

Repository files navigation

Polkadot - App ci License

Polkadot Staking Dashboard

Screenshot 2023-08-29 at 18 54 33

Contributing Community Assets

The Polkadot Staking Dashboard is a community-driven project, and we welcome contributions to bolster the dashboard's functionality and features.

  • Web Extensions: Submit PR to the Polkadot Cloud repository to add a web extension. The extension will then be available in the @polkadot-cloud/assets NPM package. Full instructions can be found here.

  • Validator Operators: Submit PR to the Polkadot Cloud repository to add a validator operator. The operator will then be available in the @polkadot-cloud/assets NPM package. Full instructions can be found here.

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

A dashboard for staking, nomination pools, and everything around it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 99.4%
  • Other 0.6%