tokenpocket钱包官方网址|polkadot js

作者: tokenpocket钱包官方网址
2024-03-17 06:29:16

polkadot{.js}

polkadot{.js}

Apps Wallet (hosted)

A wallet built on the polkadot-js stack. This version is updated alongside any changes to the code and always has the latest features.

polkadot.js.org/apps

Apps Wallet (IPFS)

An IPFS version of the polkadot-js wallet. This version is updated weekly but fits closer with the Web3 vision of decentralization.

dotapps.io

Extension

A browser-based vault for management of your account keys. It is meant to be used alongside wallets such as the apps UI.

polkadot.js.org/extension

Phishing

Community driven lists of urls and addresses of dishonest operators. Used ecosystem wide in wallets and extensions.

polkadot.js.org/phishing

Documentation

Developer documentation for all (most?) of the libraries under the polkadot-js umbrella. If you want to build, this is where to start.

polkadot.js.org/docs

code

The code for everything we do. API, utilities, crypto, tools, user-facing interfaces and documentation.

github.com/polkadot-js

polkadot{.js}

edit page on github

Polkadot-js extension, manage accounts for substrate based chains

Polkadot-js extension, manage accounts for substrate based chains

Polkadot{.js} extension

This browser extension does one thing: it manages accounts and allows the signing of transactions with those accounts. It does not inject providers for use by dapps at this early point, nor does it perform wallet functions,

e.g send funds.

Download for Chrome

Download for Firefox

More info

This extension is open source and the code is available on GitHub.

For developers wanting to use the accounts from the extension in a Dapp, head to the developer documentation.

Overview | polkadot{.js}

Overview | polkadot{.js}

Skip to main contentpolkadot{.js}Apps UI (Wallet)GitHubIntroductionOverviewAPIMetadataKeyringCrypto UtilitiesContracts (API)Identicon (UI)Keyring (UI)ExtensionRun, Bundle, TestIntroductionOverviewOn this pageOverviewGot here looking for the Apps UI (Wallet)? Just follow the preceding link. Looking for developer documentation? Then you are at the right place.This is an effort to provide a collection of tools, utilities and libraries for interacting with the Polkadot network from JavaScript. All code is made available on GitHub with a permissive Apache-2.0 license.While there is a slant towards developer tools, providing libraries to allow others to build tools on top of, a collection of applications are made available that allows for interaction with the network from a pure user perspective. The documentation contained here has a focus on the developer libraries.If you are a end-user looking to interact with the network, you can interact with Polkadot/Substrate (latest, project hosted) or IPFS (stable, weekly releases).Help us help others​If you spot gaps in the information provided, or are uncertain about any specific area, please do log an issue or if you are that way inclined, make a pull-request. We really want to have good documentation in these areas and allow people to be productive right from the start.Contributing​This is a community effort to trial tooling while the network is being developed. Contributions are welcome. Feel free to use the tools and libraries, log issues as you find them or create pull requests for your bug-bears or features.As a new collection of projects, we take quality seriously - library code should be comprehensively unit tested and interfaces should have full type definitions.Edit this pageNextOverviewHelp us help othersContributing

Polkadot: Web3 Interoperability | Decentralized Blockchain

adot: Web3 Interoperability | Decentralized BlockchainSkip to main contentEcosystemFeaturesDevelopmentAboutUse PolkadotThe blockspace ecosystem for boundless innovationThe blockspace ecosystem for boundless innovationGet your Web3 ideas to market fast with economics that work for youLearn about blockspaceLearn about blockspaceTrue interoperabilityPolkadot enables cross-blockchain transfers of any type of data or asset, not just tokens. Connecting to Polkadot gives you the ability to interoperate with a wide variety of blockchains in the Polkadot network.Economic & transactional scalabilityPolkadot provides unprecedented economic scalability by enabling a common set of validators to secure multiple blockchains. Polkadot provides transactional scalability by spreading transactions across multiple parallel blockchains.Easy blockchain innovationCreate a custom blockchain in minutes using the Substrate↗ framework. Connect your chain to Polkadot and get interoperability and security from day one. This ease of development helps Polkadot’s network grow.High energy efficiencyPolkadot consumes a small fraction of the energy used by conventional blockchains thanks to its next-generation nominated proof-of-stake (NPoS) model. Using the equivalent of ~6.6 US households worth of energy per year, Polkadot has the lowest carbon footprint↗ among proof-of-stake protocols analyzed in recent research↗.Security for everyonePolkadot's novel data availability and validity scheme allows chains to interact with each other in a meaningful way. Chains remain independent in their governance, but united in their security.User-driven governancePolkadot has a sophisticated governance system where all stakeholders have a voice. Network upgrades are coordinated on-chain and enacted autonomously and without forking the network, ensuring that Polkadot’s development remains future-proof and community-driven.Learn more about Polkadot’s technologyDiscover PolkadotPowering the Polkadot networkThe DOT token serves three distinct purposes: governance over the network, staking and bonding.GovernancePolkadot token holders have complete control over the protocol. All privileges, which on other platforms are exclusive to miners will be given to the Relay Chain participants (DOT holders), including managing exceptional events such as protocol upgrades and fixes.StakingToken holders keep the network secure and collect rewards by staking DOT. Polkadot’s advanced staking system is designed for maximum decentralization and fair representation, rewarding good actors and punishing bad actors to ensure network security.BondingNew parachains are added by bonding tokens. Outdated or non-useful parachains are removed by removing bonded tokens. This is a form of proof of stake.Learn more about DOT and stakingDiscover DOTLearn stakingAn open-source protocol built for everyonePolkadot is an open-source project founded by the Web3 Foundation↗.Web3 Foundation has commissioned five teams and over 100 developers to build Polkadot, including:ChainSafeParity TechnologiesPolkadot JSSoramitsuFounded by some of the blockchain industry’s foremost buildersLearn moreFrom the blogDevelopersThe Polkadot Alpha Program: A New Era of Collaborative BuildingThe Polkadot Alpha Program is a new initiative the helps lower entry barriers for teams eager to build in the ecosystem. Polkadot Blockchain AcademyPolkadot Blockchain Academy: Targeted Education for Builders and FoundersPolkadot Blockchain Academy, which celebrates its second birthday later this year, is already meeting the needs of two distinct Web3 groups.EcosystemPolkadot Showcases Industry-Leading Scalability in Positive End to 2023Polkadot’s final quarter of 2023 featured sustained organic growth, with pronounced spikes in transactional data in late December.Want to get involved?Join the communityor learn about how to build on Polkadot.EcosystemCommunityJobsWalletsDappsBrand HubTelemetry↗TreasuryFeaturesTechnologyBlockspaceDOT tokenStakingParachainsSystem parachainsXCMAuctionsOpenGovDevelopmentDocumentationGrants↗Bounties↗Blockchain AcademyBuildSubstrate↗Developer Heroes ProgramAlpha ProgramAboutAbout PolkadotBlogNewsroomRoadmapWhitepaperWiki↗FAQSupport↗ContactNewsletterSubscribe to the newsletter to hear about Polkadot updates and events.Subscribe© 2024Web3 Foundation↗Legal DisclosuresDisclaimerPrivacyManage Cook

Polkadot-JS Tooling · Polkadot Wiki

Polkadot-JS Tooling · Polkadot Wiki

Skip to main contentThe Polkadot Blockchain Academy is coming to Asia! Find out more ExploreLearnBuildMaintain KusamaSearchContributeEnglishEnglishHelp us translateExploreLearnGeneralBasicsAdvancedPolkadot-JSPolkadot-JS ToolingPolkadot-JS UIPolkadot-JS GuidesArchitectureAccountsAdvanced Staking ConceptsNFT PalletsCryptographyNPoS Election AlgorithmsXCM DocsPolkadot ComparisonsVideosFuture ImplementationsArchiveBuildMaintainLearnAdvancedPolkadot-JSPolkadot-JS ToolingOn this pagePolkadot-JS ToolingPolkadot-JS is a collection of tools that interfaces with the

Polkadot blockchain in a granular way. Below

we describe the different components of Polkadot-JS. For more information about Polkadot-JS you can

consult the official documentation.Polkadot-JS UI​For Developers and Power Users OnlyPlease note that this wallet UI is oriented toward developers and power users. Explore Polkadot with

a secure and user-friendly wallets listed on the

Polkadot website. If you need help using the

Polkadot-JS UI you can contact the

Polkadot Support Team.The Polkadot-JS UI is an application that loads in your browser. There is a standard DNS

hosted version, which always has the latest features, and an

IPFS version that is less frequently updated but is more decentralized.

This is also often referred to as Polkadot-JS Apps, UI or the Apps UI. In the Wiki pages we will

always refer to Polkadot-JS UI.Polkadot-JS Apps has many capabilities that go beyond basic wallet functions such as account

creation and sending or receiving transactions. See the dedicated section

for more information about the UI.Polkadot-JS UI Desktop App​The Polkadot-JS UI also exists as a

desktop application for Windows, Mac and Linux.

The main advantage of using it is that by default it stores encrypted accounts on the filesystem

instead of browser's local storage. Local storage is susceptible to attacks using XSS (Cross-Site

Scripting). There's no such risk when with files stored on disk.The desktop app uses the Electron framework. It provides the same

features as web app, the only difference being different account storage.Ledger not supportedThe desktop application does not support Ledger accounts. If you need a cold storage solution you

can try Parity Signer (aka Polkadot Vault).Polkadot-JS Extension​The Polkadot-JS browser extension is not a wallet per se

but an account management tool. It allows you to create accounts and also import accounts from

Ledger devices or Parity Signer, allowing the signing of

extrinsics using these accounts. It also allows you export

existing accounts and restore accounts (given you have the required information to restore them).The extension is a robust key storage tool, i.e. even if you clear the cache of your browser your

accounts will be retained. The extension will recognize any websites that have been flagged for

malicious activity. For additional security, the extension will always ask if you want a specific

website to access the account information on it.The extension does not let users interact directly with on-chain functions as one would find on a

wallet app like Metamask, i.e. it does not allow you to transact or do anything else other than

adding and managing accounts. However, it provides a simple interface for interacting with

extension-compliant dApps such as the Polkadot-JS UI

and the Polkadot Staking Dashboard. Check

wallets and extensions page for wallets that are capable of

transacting on-chain directly.Metadata UpdatesThe browser extension is a tool that interacts with the Polkadot network, but it is disconnected

from it when it is not in use. It is important you

always check for metadata updates

before using the extension or other account management tools such as Parity Signer (aka Polkadot

Vault).Polkadot-JS Phishing List​The Polkadot-JS phishing list website is a community-driven

curation of malicious actors and operators. The Polkadot-JS extension uses this list to warn a user

about suspicious URLs and addresses that are part of the list, and automatically blocks the account

address.Polkadot-JS API​The Polkadot-JS API is a JavaScript API allowing for

programs to interface with the functionalities of

Polkadot.While interacting with the underlying

@polkadot/api, most interfaces are generated

automatically when connecting to an available node. This is quite a departure from many other API

designs where the interfaces are commonly static.When the API connects to a node, it initially retrieves the

metadata which is used to "decorate" the API based on

its contents. The metadata provides data in the form of api...

where type

fits into one of the following categories:consts - runtime constants (these are not functions so the values are returned directly as they

are defined by the endpoint)query - chain state valuestx - all extrinsicsThe metadata also provides information on

events, which can be queried using the

api.query.system.events() interface.None of the information contained within the api.{consts, query, tx}.. endpoints

are hard-coded in the API. These values are defined by the decoration applied from the initial

metadata response and are therefore completely dynamic. This suggests that when you connect to

different parachains, the metadata and API decoration will change and provide varying interfaces

based on the chain.A developer can use Polkadot-JS Apps to test code's functionality. Interacting with the Polkadot-JS

comes down to either querying on-chain data or

issuing an extrinsic.Querying On-chain Data​To populate the Apps UI, the web app queries the Polkadot-JS API. The API then queries a

Polkadot node and uses JavaScript to return

information that the UI will display on the screen. You can choose which node to connect to by

changing it in the upper-left-hand corner of the screen.Let's see how we can query on-chain data with Polkadot-JS UI on the Polkadot network with an

example. To find out the current value for existential deposit, navigate to Developer > Chain

state > Constants and query the balances pallet for existential deposit as shown in the snapshot

below. You need to click on the plus button to execute the query. The value displayed is in

plancksIssuing Extrinsics​Extrinsics are pieces of information that come from outside the chain and are included in a block.

Extrinsics can be one of three types: inherents, signed, and unsigned transactions.Most extrinsics displayed on Polkadot-JS Apps are signed transactions. Inherits are non-signed and

non-gossiped pieces of information included in blocks by the block author, such as timestamps, which

are “true” because a sufficient number of validators have agreed about validity.Unsigned transactions are information that does not require a signature but will require some sort

of spam prevention, whereas signed transactions are issued by the originator account of a

transaction which contains a signature of that account, which will be subject to a fee to include it

on the chain.Edit this pageLast updated on Jan 4, 2024 by FilippoPreviousPolkadot-JSNextPolkadot-JS UIPolkadot-JS UIPolkadot-JS UI Desktop AppPolkadot-JS ExtensionPolkadot-JS Phishing ListPolkadot-JS APIQuerying On-chain DataIssuing Extrinsics© 2024 Web3 FoundationLegal DisclosuresDisclaimerPrivacy

@polkadot{.js} · GitHub

@polkadot{.js} · GitHub

Skip to content

Toggle navigation

Sign in

polkadot-js

Product

Actions

Automate any workflow

Packages

Host and manage packages

Security

Find and fix vulnerabilities

Codespaces

Instant dev environments

Copilot

Write better code with AI

Code review

Manage code changes

Issues

Plan and track work

Discussions

Collaborate outside of code

Explore

All features

Documentation

GitHub Skills

Blog

Solutions

For

Enterprise

Teams

Startups

Education

By Solution

CI/CD & Automation

DevOps

DevSecOps

Resources

Learning Pathways

White papers, Ebooks, Webinars

Customer Stories

Partners

Open Source

GitHub Sponsors

Fund open source developers

The ReadME Project

GitHub community articles

Repositories

Topics

Trending

Collections

Pricing

Search or jump to...

Search code, repositories, users, issues, pull requests...

Search

Clear

Search syntax tips

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

Sign up

You signed in with another tab or window. Reload to refresh your session.

You signed out in another tab or window. Reload to refresh your session.

You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

@polkadot{.js}

Polkadot does JavaScript

367

followers

https://polkadot.js.org

Overview

Repositories

Projects

Packages

People

More

Overview

Repositories

Projects

Packages

People

Pinned

dotapps.io

dotapps.io Public

IPNS with dnslink for the apps UI to interact with Polkadot and Substrate chains.

HTML

98

20

apps

apps Public

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.

TypeScript

1.7k

1.4k

extension

extension Public

Simple browser extension for managing Polkadot and Substrate network accounts in a browser. Allows the signing of extrinsics using these accounts. Also provides a simple interface for compliant ext…

TypeScript

938

350

api

api Public

Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.

TypeScript

1k

315

tools

tools Public

Various cli tools for Polkadot and Substrate chains, including basic node monitoring, making API queries via a cli app and other command-line tools

TypeScript

271

61

common

common Public

Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.

TypeScript

248

141

Repositories

Type

Select type

All

Public

Sources

Forks

Archived

Mirrors

Templates

Language

Select language

All

HTML

JavaScript

TypeScript

Sort

Select order

Last updated

Name

Stars

Showing 10 of 22 repositories

phishing

Public

A curated list of known less-than-honest operators on Polkadot and Substrate networks. Includes a simple JS utility function to check any host or address against this list.

TypeScript

189

Apache-2.0

139

4

2

Updated Mar 16, 2024

api

Public

Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.

TypeScript

1,039

Apache-2.0

315

46

9

Updated Mar 16, 2024

apps

Public

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.

TypeScript

1,700

Apache-2.0

1,390

188

32

Updated Mar 15, 2024

extension

Public

Simple browser extension for managing Polkadot and Substrate network accounts in a browser. Allows the signing of extrinsics using these accounts. Also provides a simple interface for compliant extensions for dapps.

TypeScript

938

Apache-2.0

350

44

8

Updated Mar 14, 2024

build-bundle

Public

Browser bundles that can be included as-is, without a build step

JavaScript

4

Apache-2.0

9

0

0

Updated Mar 14, 2024

tools

Public

Various cli tools for Polkadot and Substrate chains, including basic node monitoring, making API queries via a cli app and other command-line tools

TypeScript

271

Apache-2.0

61

10

0

Updated Mar 13, 2024

build-deno.land

Public

Package publishing for deno.land/x/polkadot

TypeScript

28

Apache-2.0

6

0

0

Updated Mar 13, 2024

ui

Public

Re-usable browser libraries and React UI components used inside the polkadot.{js} family of Polkadot and Substrate applications. Full documentation & examples available

TypeScript

114

Apache-2.0

74

2

1

Updated Feb 28, 2024

common

Public

Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.

TypeScript

248

Apache-2.0

141

9

1

Updated Feb 17, 2024

dev

Public

Development configuration, scripts and and CI setup for polkadot-js projects. It acts as templates for other projects to reduce boilerplate, making everything consistent.

JavaScript

42

Apache-2.0

22

0

1

Updated Feb 17, 2024

View all repositories

People

Top languages

TypeScript

JavaScript

HTML

Most used topics

Loading…

Footer

© 2024 GitHub, Inc.

Footer navigation

Terms

Privacy

Security

Status

Docs

Contact

Manage cookies

Do not share my personal information

You can’t perform that action at this time.

Polkadot-JS · Polkadot Wiki

Polkadot-JS · Polkadot Wiki

Skip to main contentThe Polkadot Blockchain Academy is coming to Asia! Find out more ExploreLearnBuildMaintain KusamaSearchContributeEnglishEnglishHelp us translateExploreLearnGeneralBasicsAdvancedPolkadot-JSPolkadot-JS ToolingPolkadot-JS UIPolkadot-JS GuidesArchitectureAccountsAdvanced Staking ConceptsNFT PalletsCryptographyNPoS Election AlgorithmsXCM DocsPolkadot ComparisonsVideosFuture ImplementationsArchiveBuildMaintainLearnAdvancedPolkadot-JSPolkadot-JSOverview of Polkadot-JS.️ Polkadot-JS ToolingThe Polkadot-JS Tool Collection.️ Polkadot-JS UIA Wallet for Power-users and Developers.️ Polkadot-JS GuidesPolkadot-JS Guides about Staking, Asset Hub, Vault App, and more.PreviousAdvancedNextPolkadot-JS Tooling© 2024 Web3 FoundationLegal DisclosuresDisclaimerPrivacy

GitHub - polkadot-js/apps: Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.

GitHub - polkadot-js/apps: Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.

Skip to content

Toggle navigation

Sign in

Product

Actions

Automate any workflow

Packages

Host and manage packages

Security

Find and fix vulnerabilities

Codespaces

Instant dev environments

Copilot

Write better code with AI

Code review

Manage code changes

Issues

Plan and track work

Discussions

Collaborate outside of code

Explore

All features

Documentation

GitHub Skills

Blog

Solutions

For

Enterprise

Teams

Startups

Education

By Solution

CI/CD & Automation

DevOps

DevSecOps

Resources

Learning Pathways

White papers, Ebooks, Webinars

Customer Stories

Partners

Open Source

GitHub Sponsors

Fund open source developers

The ReadME Project

GitHub community articles

Repositories

Topics

Trending

Collections

Pricing

Search or jump to...

Search code, repositories, users, issues, pull requests...

Search

Clear

Search syntax tips

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

Sign up

You signed in with another tab or window. Reload to refresh your session.

You signed out in another tab or window. Reload to refresh your session.

You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

polkadot-js

/

apps

Public

Notifications

Fork

1.4k

Star

1.7k

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.

dotapps.io

License

Apache-2.0 license

1.7k

stars

1.4k

forks

Branches

Tags

Activity

Star

Notifications

Code

Issues

188

Pull requests

32

Actions

Projects

0

Security

Insights

Additional navigation options

Code

Issues

Pull requests

Actions

Projects

Security

Insights

polkadot-js/apps

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

 masterBranchesTagsGo to fileCodeFolders and filesNameNameLast commit messageLast commit dateLatest commit History12,683 Commits.github.github  .vscode.vscode  .yarn.yarn  dockerdocker  packagespackages  scriptsscripts  .dockerignore.dockerignore  .editorconfig.editorconfig  .env-example.env-example  .gitignore.gitignore  .mailmap.mailmap  .npmignore.npmignore  .nvmrc.nvmrc  .prettierignore.prettierignore  .prettierrc.cjs.prettierrc.cjs  .yarnrc.yml.yarnrc.yml  BOUNTIES.mdBOUNTIES.md  CHANGELOG.mdCHANGELOG.md  CONTRIBUTING.mdCONTRIBUTING.md  CONTRIBUTORSCONTRIBUTORS  I18N.mdI18N.md  LICENSELICENSE  README.mdREADME.md  eslint.config.jseslint.config.js  i18next-scanner.config.cjsi18next-scanner.config.cjs  package.jsonpackage.json  tsconfig.base.jsontsconfig.base.json  tsconfig.build.jsontsconfig.build.json  tsconfig.eslint.jsontsconfig.eslint.json  tsconfig.jsontsconfig.json  tsconfig.webpack.jsontsconfig.webpack.json  yarn.lockyarn.lock  View all filesRepository files navigationREADMEApache-2.0 license@polkadot/apps

A Portal into the Polkadot and Substrate networks. Provides a view and interaction layer from a browser.

This can be accessed as a hosted application via https://polkadot.js.org/apps/ or you can access the IPFS hosted version via https://polkadot.js.org/apps/ipfs (via hash) or https://dotapps.io (via ipns) to explore any of the supported Polkadot and Substrate chains.

If you run one or more IPFS node(s), pinning the UI (which only gets updated on releases) will make it faster for you and others. You can find details about that below in the IPFS chapter below.

Important If you are a chain developer and would like to add support for your chain to the UI, all the local configuration (API types, settings, logos) can be customized in the apps-config package, complete with instructions of what goes where.

Overview

The repo is split into a number of packages, each representing an application.

Development

Contributions are welcome!

To start off, this repo (along with others in the @polkadot family) uses yarn workspaces to organize the code. As such, after cloning dependencies should be installed via yarn, not via npm, the latter will result in broken dependencies.

To get started -

Clone the repo locally, via git clone https://github.com/polkadot-js/apps

Ensure that you have a recent LTS version of Node.js, for development purposes Node >= 16 is recommended.

Ensure that you have a recent version of Yarn, for development purposes Yarn >= 1.22 is required.

Install the dependencies by running yarn

Ready! Now you can launch the UI (assuming you have a local Polkadot Node running), via yarn run start

Access the UI via http://localhost:3000

Docker

You can run a docker container via -

docker run --rm -it --name polkadot-ui -e WS_URL=ws://someip:9944 -p 80:80 jacogr/polkadot-js-apps:latest

To build a docker container containing local changes -

docker build -t jacogr/polkadot-js-apps -f docker/Dockerfile .

When using these Docker commands, you can access the UI via http://localhost:80 (or just http://localhost)

IPFS

IPFS allows sharing files in a decentralized manner in a similar fashion the polkadot network exchanges blocks. IPFS works best when many nodes seed the same data. Nodes can seed specific data by pinning them.

You can pin with the following command:

curl -s https://polkadot.js.org/apps/ipfs/pin.json | jq -jr .IpfsHash | xargs -0 -I CID ipfs pin add --progress CID

Here is a script you can save as /usr/local/bin/polkadotjs-ipfs-pin.sh:

#!/usr/bin/env bash

IPFS='/usr/local/bin/ipfs'

curl -s https://polkadot.js.org/apps/ipfs/pin.json | jq -jr .IpfsHash | xargs -0 -I CID $IPFS pin add --progress CID

I suggest to run the script once. The output should be similar to (the CID/Hash will very likely be different though):

$ /usr/local/bin/polkadotjs-ipfs-pin.sh

pinned QmNYAbzaE8kRAf68YiN3ZuUxgdwroeav3JhicsHsG5b2oW recursively

Now that you know the CID (hash), you can check whether the data is already pinned or not:

$ ipfs pin ls | grep QmNYAbzaE8kRAf68YiN3ZuUxgdwroeav3JhicsHsG5b2oW

QmNYAbzaE8kRAf68YiN3ZuUxgdwroeav3JhicsHsG5b2oW recursive

Now that we know it works, we can automate that with a cron task. Run crontab -e.

If you see only comments, append the following to the file and save:

SHELL=/bin/bash

HOME=/

0 * * * * /usr/local/bin/polkadotjs-ipfs-pin.sh >/dev/null 2>&1

Now our script will run every hours at minute '0' (8:00, 9:00, etc...). To check, we can unpin temporarily:

$ ipfs pin rm QmNYAbzaE8kRAf68YiN3ZuUxgdwroeav3JhicsHsG5b2oW

unpinned QmNYAbzaE8kRAf68YiN3ZuUxgdwroeav3JhicsHsG5b2oW

Now asking for the CID confirms that is it not there.

$ ipfs pin ls QmNYAbzaE8kRAf68YiN3ZuUxgdwroeav3JhicsHsG5b2oW

Error: path 'QmNYAbzaE8kRAf68YiN3ZuUxgdwroeav3JhicsHsG5b2oW' is not pinned

Wait until the your cron task runs and try again:

$ ipfs pin ls QmNYAbzaE8kRAf68YiN3ZuUxgdwroeav3JhicsHsG5b2oW

QmNYAbzaE8kRAf68YiN3ZuUxgdwroeav3JhicsHsG5b2oW recursive

Tada! This is now automatic and you may forget it.

If you are curious and want to know how many people seed the UI on IPFS, here is the magic command (it may take a while to return the answer as ipfs will search for about 1 minute):

ipfs dht findprovs QmTejwB7mJPBHBoqubjzHSgSxfLMcjnZA3LFefqoQc87VJ | wc -l

If you are current about the content of what you just pinned, you may use the following command:

$ ipfs ls QmTejwB7mJPBHBoqubjzHSgSxfLMcjnZA3LFefqoQc87VJ

QmPJGyqVCcXm238noz7TZDByyGa35qqc8g6sfyXF3KDXZ3 38078 favicon.ico

QmdouVsVE9rMVB84Cy1ehVi1LAGW1fKcqqQxSEjgxJrv7H 668 index.html

QmWHcGf1JCFZCYjZsw52vM5RiJVbcNpX1fo2NyoBKBvtuf - ipfs/

QmT6NwDsJzMyBs6bMq845nMumeJWbixBfNXA9hdAhAMdSG - locales/

QmcgiZpwvpT1E1dkSS3zr5je89rZRVocNKPebgWhn3JVTC 2178582 main.ce05dfca.js

QmdnEtuhFDyw5Tjr82bFPzyveFrbkYjJAnUvBvzwT18YGG 337 manifest.json

QmW7gDKHbmtD7sRTqsvyo84bDpyYPZR3w1wQo8pme2q5HC - next/

Qmd8UnRQiBobm4qb6dhiC1HoQ7SvwZrWJenoN3JPEV3iiF 480594 polkadotjs.3af757ad.js

QmUfXPMfNys8Y8dekuankBx7BHiSAjALCpBDKH6F5DdcNm 628284 react.0cecb00d.css

QmSEgXdQbC1ek9Td1mHy3BRvJpfWHm9zQYegTgAUj1QC4g 924156 react.8f083b49.js

QmfGBgFe2aqf83Wv21m9k5DH2ew89CDj4tydoxJWdK6NNL 1552 runtime.3d77e510.js

QmYPa8jcHH7gfopMALr5XTW4i1QM2xgVBe3NeP11y3tErA - static/

QmeYBC5EgbccC8NEwXC2rvbd93YiHtTM5xYzqCDohXerDf 859984 vendor.8b793a81.js

Desktop App

The main advantage of using Desktop App is that it by default stores encrypted accounts on the filesystem instead of browser's local storage.

Local storage is susceptible to attacks using XSS (Cross-Site Scripting). There's no such risk when with files stored on disk.

The desktop app uses the Electron framework. It provides the same features as web app, the only difference

being different account storage.

The accounts are stored in the following directories:

Mac: ~/Library/Application Support/polkadot-apps/polkadot-accounts

Linux: ~/.config/polkadot-apps/polkadot-accounts (or $XDG_CONFIG_HOME/polkadot-apps/polkadot-accounts if $XDG_CONFIG_HOME is defined)

Windows: %APPDATA%\polkadot-apps\polkadot-accounts

For more details on the desktop app, head over to Electron package README.

About

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.

dotapps.io

Topics

ui

blockchain

wallet

substrate

polkadot

polkadot-js

Resources

Readme

License

Apache-2.0 license

Activity

Custom properties

Stars

1.7k

stars

Watchers

57

watching

Forks

1.4k

forks

Report repository

Releases

101

v0.134.1

Latest

Mar 14, 2024

+ 100 releases

Contributors

531

+ 517 contributors

Languages

TypeScript

99.9%

Other

0.1%

Footer

© 2024 GitHub, Inc.

Footer navigation

Terms

Privacy

Security

Status

Docs

Contact

Manage cookies

Do not share my personal information

You can’t perform that action at this time.

Polkadot-JS Guides · Polkadot Wiki

Polkadot-JS Guides · Polkadot Wiki

Skip to main contentThe Polkadot Blockchain Academy is coming to Asia! Find out more ExploreLearnBuildMaintain KusamaSearchContributeEnglishEnglishHelp us translateExploreLearnGeneralBasicsAdvancedPolkadot-JSPolkadot-JS ToolingPolkadot-JS UIPolkadot-JS GuidesAccount GuidesTransfer GuidesStaking GuidesOpenGov GuidesTreasury GuidesBounty GuidesIdentity GuidesLedger GuidesPolkadot Vault GuidesAsset Hub GuidesArchitectureAccountsAdvanced Staking ConceptsNFT PalletsCryptographyNPoS Election AlgorithmsXCM DocsPolkadot ComparisonsVideosFuture ImplementationsArchiveBuildMaintainLearnAdvancedPolkadot-JSPolkadot-JS GuidesPolkadot-JS GuidesinfoWe support only the use of the Polkadot-JS UI

together with the Polkadot-JS browser extension,

Ledger and

Polkadot Vault for signing transactions. We do not

provide support for third party applications.️ Account GuidesPolkadot-JS Guides about Accounts.️ Transfer GuidesPolkadot-JS Guides about Balances Transfers.️ Staking GuidesPolkadot-JS Guides about Staking.️ OpenGov GuidesPolkadot-JS Guides about Polkadot OpenGov.️ Treasury GuidesPolkadot-JS Guides about the Polkadot Treasury.️ Bounty GuidesPolkadot-JS Guides for Bounties️ Identity GuidesPolkadot-JS Guides about Identity.️ Ledger GuidesPolkadot-JS Guides for Ledger Devices.️ Polkadot Vault GuidesPolkadot-JS Guides about Polkadot Vault.️ Asset Hub GuidesPolkadot-JS Guides about the Asset Hub.Edit this pageLast updated on Jan 4, 2024 by FilippoPreviousPolkadot-JS UINextAccount Guides© 2024 Web3 FoundationLegal DisclosuresDisclaimerPrivacy

Polkadot Study - Developer Tutorials for navigating the Polkadot / Kusama Ecosystem

Polkadot Study - Developer Tutorials for navigating the Polkadot / Kusama Ecosystem

Skip to main contentWe are looking for payed authors to write Polkadot developer tutorials Learn MorePolkadot StudyTutorialsSubstrate TutorialsSubstrate in BitsInteractive Substrate TutorialsFor AuthorsBlogAboutPolkadotStudyEducational hub for developers by developersTutorialsLearn how to navigate the polkadot ecosystem as a developer in our step-by-step tutorials. All tutorials are written by developers from the polkadot community. Start your polkadot developer journey here.How to implement decentralized exchange in ink! smart contract languageHow to implement decentralized exchange in ink! smart contract languageintermediate ink! rust automated market maker4-8hHow to build the Substrate Kitties ChainFrom the substrate node template to a fully functional blockchain that handles kitties NFTs.intermediate palletpolkadot{.js}4-8hTokengated Website with polkadot.js and next-authHow to write a tokengated website with polkadot.js API and next.jsintermediatepolkadot{.js} next.js tokengate authentication3hBasic Wallet with Polkadot.js API and React with TypeScript.Write a simple wallet with polkadot js that can display balances and transferbeginnerpolkadot{.js} wallet react2hSubstrate in BitsSubstrate in Bits is a technical content series/reference aimed at solving the pain points of developers building with Substrate and Rust.intermediatediffers per tutorialInteractive Substrate TutorialsA collection of exercises that will teach you the basics of Substrate development by interactive code examples from github.intermediatediffers per tutorialView All TutorialsAboutTutorials by the community for the communityPolkadot.study is an open educational platform for developers by developers and is aiming to provide good educational content in the form of tutorials / videos with interactive learning exercises.It provides the infrastructure for submitting tutorials in a well organized, accessible way as well as fund the creation of professional tutorials. It allows readers to learn about concepts relevant to the Dotsama ecosystem by providing an entry point for tutorials, documentation and repositories for studying.New content can easily be submitted by anyone with knowledge of git in the form of Pull Requests that can be authored by the repository team. The platform aims to be open to anyone: with a different skill level of the readers as well as a multitude of authors. It was first funded by the Kusama treasury in March 2023 after a a successful referendum.Study PathsPolkadot does JavaScript. Learn about anything Polkadot and frontend related. APIs, browser extension, typespolkadot.jssubstrateHow to build the Substrate Kitties ChainFrom the substrate node template to a fully functional blockchain that handles kitties NFTs.intermediate palletpolkadot{.js}4-8hTokengated Website with polkadot.js and next-authHow to write a tokengated website with polkadot.js API and next.jsintermediatepolkadot{.js} next.js tokengate authentication3hBasic Wallet with Polkadot.js API and React with TypeScript.Write a simple wallet with polkadot js that can display balances and transferbeginnerpolkadot{.js} wallet react2hView All TagsParticipateAre you a developer? Have you learned something new while working with Polkadot? Why not share it with the community?All the code of this platform, as well as the tutorials and documentation is open sourced on github. New content can easily be submitted by anyone with knowledge of git in the form of Pull Requests that can be authored by the repository team. The platform aims to be open to anyone: with a different skill level of the readers as well as a multitude of authors.You can also receive funding for your work by submitting a referendum to Kusama or Polkadot treasury.It is very easy to participate. Just fork the repository, add your tutorial and wait until it is merged.Learn how to contributePolkadot Developer TutorialsAboutFor Authors© 2024 Polkadot Study. All rights reservedFunded By the Kusama Treasury. This is a community site and in no way incorporated with Parity or PolkadotBuilt with Docusaurus