Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.88 KB

3_interface.md

File metadata and controls

19 lines (10 loc) · 1.88 KB

3. Interface

Parity provides a nice graphical interface to interact with your blockchain, which doesn’t require you to code your own interface immediately. It’s the Polkadot JS UI for Substrate, which only works in Chrome or on a Chromium-based browser.

With your blockchain running in the console, you can open the website. Make sure to select the settings tab. On this tab, choose Local Node (127.0.0.1:9944) as well as Substrate as your interface, as shown in the image below.

Once you have done this, you can click on Save and Reload and start exploring your blockchain. The explorer tab shows the recent blocks produced, and the accounts are listed in the accounts tab. If you want to make your first transfer, you can select the transfer tab. Make sure to select Alice as the sender and someone else as the receiver. Alice is a pre-funded account. The amount you transfer needs to be higher than the existential deposit (the minimum amount an account needs to hold to be part of the system). Additionally, a fixed fee is added to the transaction. Keep in mind that these are the default settings and that you can change them very easily in the src/chain_spec.rs file. If all is correct it should look similar to the following, and you can click on “Make Transfer”:

The most important tabs for the development process are the chain state and extrinsics tabs. For both, you can either select the predefined or your own runtime modules. The chain state tab lets you access the storage, and the extrinsics tab provides you access to the public methods of the modules.

Feel free to explore the different modules.

-> Next: 4. Runtime