3. We are building a permissionless global compute cloud that inherently supports data
privacy while remaining trustless.
New Generation
Web3 Cloud
Hiring - tinyurl.com/phalahiring
7. Smart Contract or Blockchain
A tiny piece of code on a blockchain
Pros
- Serverless: no need to maintain a full network
- Easy to write: Javascript-like Solidity language
Hiring - tinyurl.com/phalahiring
8. Smart Contract or Blockchain
A tiny piece of code on a blockchain
Pros
- Serverless: no need to maintain a full network
- Easy to write: Javascript-like Solidity language
Cons
- Slow Ethereum has an average TPS of ~15
Hiring - tinyurl.com/phalahiring
9. Smart Contract or Blockchain
A tiny piece of code on a blockchain
Pros
- Serverless: no need to maintain a full network
- Easy to write: Javascript-like Solidity language
Cons
- Slow
- Expensive
Hiring - tinyurl.com/phalahiring
10.
11. Smart Contract or Blockchain
A tiny piece of code on a blockchain
Pros
- Serverless: no need to maintain a full network
- Easy to write: Javascript-like Solidity language
Cons
- Slow
- Expensive
- Limited resources
Hiring - tinyurl.com/phalahiring
12. So you are going to build a blockchain...
Hiring - tinyurl.com/phalahiring
13. So you are going to build a blockchain...
P2P Network
Hiring - tinyurl.com/phalahiring
14. So you are going to build a blockchain...
P2P Network
Database
Hiring - tinyurl.com/phalahiring
15. So you are going to build a blockchain...
P2P Network
Database
Consensus
Hiring - tinyurl.com/phalahiring
16. So you are going to build a blockchain...
P2P Network
Database
Consensus
Sandbox
Hiring - tinyurl.com/phalahiring
17. So you are going to build a blockchain...
P2P Network
Database
Consensus
Sandbox
Contracts
Hiring - tinyurl.com/phalahiring
18. So you are going to build a blockchain...
P2P Network
Database
Consensus
Sandbox
Contracts
Staking
Governance
Frontend
Multisig
Hiring - tinyurl.com/phalahiring
23. How to build on Substrate
1. Be familiar with Rust
a. Statically compiled
b. Memory-safe
c. High performance
Hiring - tinyurl.com/phalahiring
24. How to build on Substrate
1. Be familiar with Rust
2. Start a template blockchain
25. How to build on Substrate
1. Be familiar with Rust
2. Start a template blockchain
3. Build the first Pallet
Hiring - tinyurl.com/phalahiring
26. How to build on Substrate
1. Be familiar with Rust
2. Start a template blockchain
3. Build the first Pallet
4. Launch it, and connect to the frontend (Polkadot.js UI)
27. Who are using Substrate?
Hiring - tinyurl.com/phalahiring
28. Ethereum
without sharding
Polkadot
with 100 parachains
Phala Network, linearly scales with the
number of Secure Enclave servers
From single blockchain to cloud
Hiring - tinyurl.com/phalahiring
30. Build a forum blockchain
Title
contents
author
Hiring - tinyurl.com/phalahiring
31. Build the First Blockchain
1. Install Rust on a Linux box
2. Clone substrate-node-template
3. Compile the Node Template
git clone --depth 1
https://github.com/substrate-developer-hub/substrate-node-template
cd substrate-node-template
cargo build --release
Hiring - tinyurl.com/phalahiring
32. Build the First Blockchain
4. Launch it!
- --dev start in dev mode
- --tmp delete the database after stopping
5. Attach a Polkadot.js UI:
https://polkadot.js.org/apps/
./target/release/node-template --dev --tmp
Hiring - tinyurl.com/phalahiring
33. Handle Forum Posts
Live Coding
Full Instructions at:
https://hackmd.io/lf9dq2b3R_SzCA7TscmdgQ?view
Hiring - tinyurl.com/phalahiring