Code Monkey home page Code Monkey logo

wtf-cairo's Introduction

WTF Cairo

我最近在学cairo-lang,巩固一下细节,也写一个WTF Cairo极简教程,供小白们使用。教程基于cairo 2.2.0版本。

推特: @0xAA_Science@WTFAcademy_

社群:DiscordWechatWebsite


入门

第1讲:Hello Cairo:【Code】|【教程

第2讲:Primitive Types 基础数据类型:【Code】|【教程

第3讲: Local and Storage Variables 局部和状态变量:【Code】|【教程

第4讲: Varible Mutability 变量可变性:【Code】|【教程

第5讲: Function 函数:【Code】|【教程

第6讲: Tuple 元组:【Code】|【教程

第7讲: Array 数组:【Code】|【教程

第8讲: Struct 结构体:【Code】|【教程

第9讲: Enum 枚举:【Code】|【教程

第10讲: Mapping 映射:【Code】|【教程

第11讲: Control Flow 控制流:【Code】|【教程

第12讲: Pattern Matching 模式匹配:【Code】|【教程

第13讲: Option:【Code】|【教程

第14讲: Type Conversion 类型转换:【Code】|【教程

第15讲: Constructor 构造函数:【Code】|【教程

第16讲: Events 事件:【Code】|【教程

第17讲: Error Handling 异常处理:【Code】|【教程

第18讲: Ownership I Scope 范围:【Code】|【教程

第19讲: Ownership II Move 移动:【Code】|【教程

第20讲: Ownership III Preserve 保留所有权:【Code】|【教程

第21讲: Ownership IV Reference 引用:【Code】|【教程

第22讲: Ownership V Snapshot 快照:【Code】|【教程

第23讲: Trait & Implementation 特质和实现:【Code】|【教程

第24讲: Generics 泛型:【Code】|【教程

第25讲: Interface/ABI 接口/ABI:【Code】|【教程

第26讲: Dispatcher 合约调度器:【Code】|【教程

第27讲: Library 库调度器:【Code】|【教程

WTF Cairo Contributors

Contributors are the Basis of WTF Academy

Reference

  1. Cairo Docs
  2. Starkling Cairo1
  3. Starknet Cairo 101
  4. Cairo tutorial by Starknet Africa Edu
  5. Rust Book
  6. Cairo Book

wtf-cairo's People

Contributors

amazingang avatar cjh20000613 avatar hasselalcala avatar zhiyuan2007 avatar enehizy avatar robertkodra avatar shramee avatar buttonwild avatar sugarforever avatar darlington02 avatar countrycousin avatar orangeryang avatar bowbowzai avatar 847850277 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.