You are on page 1of 7

Substrate Basic

Explanation and
Installation
Tracy Salander @ Octopus Network
Outline
• What Is Substrate
• Why Substrate Is Scalable
• Why Substrate Is Modular
• Why We Should Learn Substrate
• Run Substrate Nodes
What is Substrate
• Framework
• Scalable
• Modular
• Open-source
• Functions:
• P2p Network
• Consensus Algorithm
• Data Storage
• Transaction Management
Why Substrate Is Scalable
• What Is the Scalability
• Number of Transactions
• How to Increase the Scalability
• Increase the Size of Each Block
• Change the Blockchain into a Blockgraph
• Put Transactions’ Results on the Chain and Leave Transactions off the Chain
• Use Sharding or Cross-chain Technology
Why Substrate Is Modular
• Save a Lot of Time and Effort
Why We Should Learn Substrate
• Run by Low-cost development
• Find Well-paying Jobs
• Participate in the Open-source Community
• Upgrade on the Chain without Forks
• Connect to Commonly Used Databases Directly
Run Substrate Nodes
• Install Rust: https://www.rust-lang.org/
• git clone https://github.com/paritytech/substrate.git
• cd substrate
• cargo build --release
• ./target/release/substrate --dev
• ./target/release/substrate purge-chain --dev
• ./target/release/substrate --alice --chain local --base-path /tmp/alice
• ./target/release/substrate --bob --chain local --base-path /tmp/bob
• rm -rf/tmp/alice rm -rf/tmp/bob

You might also like