跳至主要内容
小龙虾小龙虾AI
🤖

Noir Developer

Develop Noir (.nr) codebases. Use when creating a project or writing code with Noir.

下载1.8k
星标0
版本0.1.0
写作创作
安全通过

技能说明


name: noir-developer description: Develop Noir (.nr) codebases. Use when creating a project or writing code with Noir.

Noir Developer

Workflow

  1. Compile (nargo compile) Noir program into ACIR.
  2. Generate witness (nargo execute or NoirJS execute) based on ACIR and user inputs.
  3. Prove using ACIR and witness with the selected proving backend.
  4. Verify proof with the selected proving backend.

Task Patterns

Environment

If the environment is unsupported by nargo (e.g. native Windows), guide the user to using GitHub Codespaces (https://noir-lang.org/docs/tooling/devcontainer#using-github-codespaces) or a supported setup (WSL, Docker, or VM).

Plan

Define private inputs, public inputs (if any), and public outputs (if any) for each Noir program.

Project Creation

When creating a Noir project, use nargo new or nargo init to scaffold it.

Compilation

Use nargo (not noir_wasm) for compilation; it is the maintained path.

Validation

Run nargo test to validate Noir implementations.

Proving Backend

Confirm the proving backend choice before implementation details. If the user selects Barretenberg, read references/barretenberg.md.

References

  • Run nargo --help for the full list of commands.
  • Read https://noir-lang.org/docs/ for language syntax, dependencies, and tooling.
  • Proving backends:
    • For Barretenberg specifics, read references/barretenberg.md.

如何使用「Noir Developer」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Noir Developer技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能