返回
项目实战

CosmWasm Primer

The CosmWasm smart contract syntax course covers the core concepts of contract definition, state management, message processing, and event handling, aiming to help developers build efficient and secure smart contracts on XION. At the same time, developers can use Rust's related tool libraries for state management, define and process different types of messages, and record and transmit contract state changes through event mechanisms.

语言rust
难度中等
总时长2小时

目标学习者

这门课是给谁上的

  • Developers who are interested in blockchain and smart contracts.
  • Developers who are interested in learning CosmWasm programming.

要求

  • Understand the basic concepts of blockchain.
  • It is recommended to complete the Rust basic course first. Being familiar with the basic Rust syntax will help beginners quickly understand the relevant concepts.

你会学到什么

  • Learning ComsWasm and Rust syntax.
  • Understanding how to Create a ComsWasm contract.
Message
State
Event
……

课程安排

  • Unit1 - CosmWasm Basics

    In this chapter, we will take a general look at the basic content and structure of the ComsWasm contract.


  • Unit2 - State Management

    In this chapter, we will learn the concepts of State, Event, and Message in ComsWasm contracts.


  • Unit3 - Option & Result

    In this chapter, we will take a closer look at the Option and Result types in CosmWasm, as well as the Query mechanism.


  • Unit4 - Math

    In this chapter, we will continue to learn about Math in ComsWasm.

practice

CosmWasm Primer

14 小节
移动端和桌面端均可访问