← 返回
未分类 中文

Cairo

Use when writing Cairo smart contracts for StarkNet, looking up syntax and types, defining storage and events, generating contract templates, or reviewing te...
用于编写StarkNet的Cairo智能合约,查询语法和类型,定义存储与事件,生成合约模板或审查代码。
bytesagain1 bytesagain-lab 来源
未分类 clawhub v2.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 461
下载
💾 2
安装
1
版本
#latest

概述

Cairo — StarkNet Smart Contract Reference

Quick reference for Cairo language syntax, types, storage patterns, events, contract templates, and testing guidance for StarkNet development.

Commands

syntax

Core Cairo syntax reference — variables, functions, control flow.

bash scripts/script.sh syntax

types

Cairo type system — felt252, integers, structs, enums, arrays.

bash scripts/script.sh types

storage

Storage variable patterns and access.

bash scripts/script.sh storage

events

Event declaration, emission, and indexing.

bash scripts/script.sh events

template

Generate a starter contract template.

bash scripts/script.sh template erc20
bash scripts/script.sh template ownable

help

Show all commands.

bash scripts/script.sh help

Output

  • Syntax examples with explanations
  • Contract boilerplate code
  • Storage and event patterns

Feedback

https://bytesagain.com/feedback/

Powered by BytesAgain | bytesagain.com

版本历史

共 1 个版本

  • v2.0.1 当前
    2026-03-31 01:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 79 📥 182,731
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 197 📥 68,085
design-media

Cad

bytesagain1
CAD参考工具
★ 0 📥 3,036