Encode x Polkadot ink! Bootcamp: Intro to ink!

Опубликовано: 28 Сентябрь 2024
на канале: Encode Club
1,117
3

Join us for an introductory workshop on the ink! programming language, kicking off the ink! Bootcamp. This session covers the basics of smart contracts, the Polkadot ecosystem, and the Substrate framework. Watch this workshop to understand how smart contracts are deployed on Substrate-based blockchains and for a detailed walkthrough of the ink! smart contract structure (storage, constructors, messages, and events). Features a live demo of compiling, deploying, and testing ink! contracts using both a local blockchain and a testnet.

Useful links:
ink! documentation - https://use.ink/
cargo-contract Github - https://github.com/use-ink/cargo-cont...
ink-examples Github - https://github.com/use-ink/ink-exampl...
Polkadot faucet - https://faucet.polkadot.io/rococo

Follow Luca here:   / 0xlucca  

Want a technical deep-dive into the ink! programming language?
Join the Polkadot ink! Bootcamp for invites to live workshops: https://www.encode.club/encode-polkad...

___________________________________________

Here's what was covered

1. Introduction to Smart Contracts and Polkadot Ecosystem
What is a smart contract?
What is Substrate in the context of blockchain development?

2. ink! Language and Contract Development
What is ink!, and how does it relate to Rust?
What are the key components of an ink! smart contract?
What is the difference between off-chain and end-to-end testing in Ink?

3. Practical Demonstration and Homework
How to deploy an ink! smart contract?
How to interact with a deployed ink! contract?

00:00 Introduction
01:47 Graduation Requirements and Homework
03:23 Introduction to Smart Contracts
05:37 Understanding Substrate and Pallet Contracts
10:37 Deep Dive into Ink! Smart Contracts
21:30 Constructors and Messages
30:06 Testing Smart Contracts: Off-Chain and End-to-End
35:18 Setting Up the Development Environment
35:59 Creating Contract
37:37 Compiling and Testing
43:01 Deploying Contracts
57:21 Questions and Homework Instructions
___________________________________________

About Polkadot
Polkadot unites and secures a growing ecosystem of specialised blockchains called parachains. Apps and services on Polkadot can securely communicate across chains, forming the basis for a truly interoperable decentralized web. Read more here: https://polkadot.network/.

About Encode Club
Encode Club is a global community of top developers, professionals and talented students in Emerging Tech. Through leading educational programmes (educates, hackathons, bootcamps and accelerators) we help you advance your career and work with transformative companies. Read more here: https://www.encode.club/

Join the Community
🐥 Encode Twitter:   / encodeclub  
🗣 Encode Discord:   / discord