Substrate开发者中心

Substrate开发者中心

  • 教程
  • 知识库
  • 菜谱
  • 接口手册

›集成

开始

  • 概述
  • 安装
  • Getting Started on Windows
  • Glossary

学习 Substrate

  • 外部调用
  • Transaction Pool
  • Account Abstractions
  • Session Keys
  • Transaction Weight
  • Off-Chain Workers

Runtime

  • Runtime Overview
  • Runtime Primitives
  • FRAME
  • Pallets
  • Runtime Macros
  • Runtime Metadata
  • Runtime Storage
  • Runtime Origin
  • Runtime Execution
  • Runtime Events
  • Runtime Errors
  • Transaction Fees
  • Off-Chain Workers
  • Debugging
  • Runtime Tests
  • On-Chain Randomness
  • Runtime Upgrades

智能合约

  • Overview
  • ink! Smart Contracts
  • ink! Concepts
  • ink! Development
  • EVM Pallet
  • ink! F.A.Q.

集成

  • Polkadot-JS
  • Client Libraries
  • Chain Specification
  • The Subkey Tool
  • Memory Profiling

高级

  • SCALE编解码器
  • 共识
  • The Block Import Pipeline
  • Executor
  • Cryptography
  • Storage
  • SS58 Address Format

Contribute

  • Help Translate
Edit

Polkadot-JS

The Polkadot-JS project is a collection of tools, interfaces, and libraries around Polkadot and Substrate.

Note: While the project is named after "Polkadot", know that these tools, interfaces, and libraries are fully compatible with any Substrate based chain.

Polkadot-JS API

The Polkadot-JS API is a library of interfaces for communicating with Polkadot and Substrate nodes.

The API provides application developers the ability to query a node and interact with the Polkadot or Substrate chains using Javascript.

Documentation GitHub

Getting Started

Developer documentation for the Polkadot-JS API can be found on their site. Follow the Getting Started guide to learn how to install and start using the Polkadot-JS API right away.

Polkadot-JS Apps

The Polkadot-JS Apps is a flexible UI for interacting with a Polkadot or Substrate based node.

This is pre-built user-facing application, allowing access to all features available on Substrate chains.

Open Apps GitHub

TODO: Image

Connecting to Local Node

To connect the Polkadot-JS Apps to your local node, you must go into Settings and change the "endpoint to connect to" to Local Node (127.0.0.1:9944).

Note: If you are connected to the Polkadot-JS Apps over a secure HTTPS connection, you will need to use a browser which also supports bridging to an insecure WebSocket endpoint. For example, Google Chrome supports this, but Mozilla Firefox does not.

Polkadot-JS Extension

The Polkadot-JS Extension is a simple proof-of-concept for managing accounts in a browser extension and allowing the signing of extrinsics using these accounts. It also provides simple interface for interacting with extension-compliant dApps.

Install for Chrome Install for Firefox GitHub

Next Steps

Examples

  • Clone the Substrate Front End Template to start building a custom ReactJS app for your blockchain using Polkadot-JS API.

References

  • Visit the reference docs for the Polkadot-JS API

  • Visit the reference docs for the Polkadot-JS Common Utilities

Last updated on 2020-6-4 by Ricardo Rius
← ink! F.A.Q.Client Libraries →
  • Polkadot-JS API
    • Getting Started
  • Polkadot-JS Apps
    • Connecting to Local Node
  • Polkadot-JS Extension
  • Next Steps
    • Learn More
    • Examples
    • References
Substrate开发者中心
开发者中心
教程知识库菜谱API 手册
社区
Community HomeStack OverflowTwitterEvents
更多
Substrate Builders ProgramBlogSubstrate GitHubDeveloper Hub GitHubPrivacy PolicyTerms of UseCookie Settings
本Substrate中文文档由登链社区翻译