·setup-stylus-contracts
!

setup-stylus-contracts

使用 OpenZeppelin Contracts for Stylus on Arbitrum 設定 Stylus 智慧合約專案。當使用者需要執行以下操作時使用:(1) 安裝 Stylus 的 Rust 工具鍊和 WASM 目標,(2) 建立新的 Cargo Stylus 項目,(3) 將 OpenZeppelin Stylus 依賴項新增至 Cargo.toml,或 (4) 了解 OpenZeppelin 的 Stylus 依賴項新增至 Cargo.toml,或 (4) 了解 OpenZeppelin 的 Stylus 匯入約定和儲存模式。

45安裝·6熱度·@openzeppelin

安裝

$npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill setup-stylus-contracts

如何安裝 setup-stylus-contracts

透過命令列快速安裝 setup-stylus-contracts AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill setup-stylus-contracts
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:openzeppelin/openzeppelin-skills。

SKILL.md

查看原文

A Rust nightly toolchain is required. The project should include a rust-toolchain.toml specifying the nightly channel, rust-src component, and wasm32-unknown-unknown target. Check the rust-contracts-stylus repo for the current recommended nightly date.

Look up the current version from crates.io/crates/openzeppelin-stylus before adding. Add to Cargo.toml:

The crate must be compiled as both a library and a cdylib:

使用 OpenZeppelin Contracts for Stylus on Arbitrum 設定 Stylus 智慧合約專案。當使用者需要執行以下操作時使用:(1) 安裝 Stylus 的 Rust 工具鍊和 WASM 目標,(2) 建立新的 Cargo Stylus 項目,(3) 將 OpenZeppelin Stylus 依賴項新增至 Cargo.toml,或 (4) 了解 OpenZeppelin 的 Stylus 依賴項新增至 Cargo.toml,或 (4) 了解 OpenZeppelin 的 Stylus 匯入約定和儲存模式。 來源:openzeppelin/openzeppelin-skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill setup-stylus-contracts
分類
!安全工具
認證
收錄時間
2026-03-06
更新時間
2026-03-11

Browse more skills from openzeppelin/openzeppelin-skills

快速解答

什麼是 setup-stylus-contracts?

使用 OpenZeppelin Contracts for Stylus on Arbitrum 設定 Stylus 智慧合約專案。當使用者需要執行以下操作時使用:(1) 安裝 Stylus 的 Rust 工具鍊和 WASM 目標,(2) 建立新的 Cargo Stylus 項目,(3) 將 OpenZeppelin Stylus 依賴項新增至 Cargo.toml,或 (4) 了解 OpenZeppelin 的 Stylus 依賴項新增至 Cargo.toml,或 (4) 了解 OpenZeppelin 的 Stylus 匯入約定和儲存模式。 來源:openzeppelin/openzeppelin-skills。

如何安裝 setup-stylus-contracts?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill setup-stylus-contracts 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/openzeppelin/openzeppelin-skills