GithubHelp home page GithubHelp logo

p-xyz / polkadot-staking-dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from polkadot-cloud/polkadot-staking-dashboard

0.0 0.0 0.0 416.64 MB

Polkadot Staking Dashboard App.

Home Page: https://staking.polkadot.network

License: Apache License 2.0

Shell 0.01% JavaScript 0.39% TypeScript 99.40% HTML 0.17% Dockerfile 0.02% SCSS 0.01%

polkadot-staking-dashboard's Introduction

Polkadot - App ci License

Polkadot Staking Dashboard

Screenshot 2023-06-16 at 01 23 08

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

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:

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

Presentations

polkadot-staking-dashboard's People

Contributors

tingalin avatar dependabot[bot] avatar mergify[bot] avatar hamidra avatar wirednkod avatar rmnprkrl avatar stakeworld avatar nexus2k avatar sekoya-labs avatar tugytur avatar ddozen avatar bld75 avatar stepanlav avatar shawntabrizi avatar pmensik avatar josepot avatar derfredy avatar andreieres avatar chevdor avatar xanewok avatar miloskriz avatar muharem avatar niklasad1 avatar brettkolodny avatar kukabi avatar paulormart avatar roileo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.