कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

arbitrum-dapp-skill

hummusonrails द्वारा

Web & Frontend Development
1.5kclawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Opinionated guide for building dApps on Arbitrum using Stylus (Rust) and/or Solidity.

विवरण

यह स्किल क्या करती है

Opinionated guide for building dApps on Arbitrum using Stylus (Rust) and/or Solidity. Covers the full development cycle from local devnode setup through contract deployment and React frontend integration with viem and wagmi. Supports hybrid projects where Stylus and Solidity contracts coexist.

Combines Stylus (Rust/WASM) and Solidity workflows in one guide, so you don't need separate resources when mixing both contract types in the same project.

इसे कब इस्तेमाल करें

  • Setting up a local Arbitrum devnode with Docker
  • Writing and deploying a Rust Stylus contract to Arbitrum
  • Building a React frontend that reads and writes to Arbitrum contracts
  • Running Foundry tests against a local Arbitrum chain
  • Scaffolding a monorepo with contracts and frontend workspaces

उदाहरण वर्कफ़्लो

इनपुट

User asks: deploy a Stylus Rust contract and connect it to a Next.js frontend

एजेंट
  1. 1

    Clone nitro-devnode and start the local Arbitrum chain

  2. 2

    Scaffold a Stylus contract with cargo stylus new and validate with cargo stylus check

  3. 3

    Deploy the contract using cargo stylus deploy with the devnode private key

  4. 4

    Export the ABI with cargo stylus export-abi and place it in a shared location

  5. 5

    Wire the ABI into the Next.js frontend using viem createPublicClient and readContract

आउटपुट

A running local dApp with a deployed Stylus contract and a Next.js frontend reading contract state via viem

आवश्यकताएँ

  • PRIVATE_KEY environment variable (wallet private key for deployment)
  • Arbitrum RPC URL for testnet or mainnet deployments
  • Docker (to run nitro-devnode local chain)
  • Rust toolchain with cargo-stylus installed
  • Foundry toolchain (forge, cast) for Solidity contracts

इंस्टॉलेशन

clawhub install hummusonrails/arbitrum-dapp-skill

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक