·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 导入约定和存储模式。

44安装·5热度·@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 导入约定和存储模式。 来源:openzeppelin/openzeppelin-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill setup-stylus-contracts
分类
!安全工具
认证
收录时间
2026-03-06
更新时间
2026-03-10

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 导入约定和存储模式。 来源: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