![Screenshot 2023-06-16 at 01 23 08](https://private-user-images.githubusercontent.com/13929023/246203320-ed4c11c2-38f5-41bd-a32e-46c27a4fb590.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMzE3MDQsIm5iZiI6MTcyNDAzMTQwNCwicGF0aCI6Ii8xMzkyOTAyMy8yNDYyMDMzMjAtZWQ0YzExYzItMzhmNS00MWJkLWEzMmUtNDZjMjdhNGZiNTkwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE5VDAxMzY0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzYWYyZDJmODhhMDY3MWZiMDA1ODIzNjFkNTkyZTUzZGYyMTEwNGE5ODA2MGFlOTM2ZDZhYTI5YzY0OTNjZjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._IE9t8JnGxr84e_B11eRicBMmbhRjz6L0AuFRDaUqIA)
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
@polkadotcloud/community
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
@polkadotcloud/community
NPM package. Full instructions can be found here.
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
andwestend
. - l: Controls the default to use upon visiting the dashboard. Supported values are
en
andcn
. - 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.
The following URL will load Kusama and use the Chinese localisation resource:
staking.polkadot.network/#/overview?n=kusama&l=cn
You may build a container using:
./scripts/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/.