โ† All skills
Tencent SkillHub ยท Developer Tools

Arbitrum Dapp Skill

Opinionated guide for building dApps on Arbitrum using Stylus (Rust) and/or Solidity. Covers local devnode setup, contract development, testing, deployment, and React frontend integration with viem. Use when starting a new Arbitrum project, writing Stylus or Solidity contracts, deploying to Arbitrum, or building a frontend that interacts with Arbitrum contracts.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Opinionated guide for building dApps on Arbitrum using Stylus (Rust) and/or Solidity. Covers local devnode setup, contract development, testing, deployment, and React frontend integration with viem. Use when starting a new Arbitrum project, writing Stylus or Solidity contracts, deploying to Arbitrum, or building a frontend that interacts with Arbitrum contracts.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, docs/assets/arbitrum-horizontal-white.svg, docs/assets/arbitrum-logomark.svg, docs/index.html, install.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

Stack

LayerToolNotesSmart contracts (Rust)stylus-sdk v0.10+Compiled to WASM, runs on Stylus VMSmart contracts (Solidity)Solidity 0.8.x + FoundryStandard EVM path on ArbitrumLocal nodenitro-devnodeDocker-based local Arbitrum chainContract CLIcargo-stylusCheck, deploy, export-abi for StylusContract toolchainFoundry (forge, cast, anvil)Build, test, deploy, interact for SolidityFrontendReact / Next.js + viem + wagmiviem for all chain interactionPackage managerpnpmWorkspace-friendly, fast

Decision Flow

When starting a new contract: Need max performance / lower gas? โ†’ Stylus Rust. See references/stylus-rust-contracts.md. Need broad tooling compatibility / rapid prototyping? โ†’ Solidity. See references/solidity-contracts.md. Hybrid? โ†’ Use both. Stylus and Solidity contracts are fully interoperable on Arbitrum.

Monorepo layout (recommended)

my-arbitrum-dapp/ โ”œโ”€โ”€ apps/ โ”‚ โ”œโ”€โ”€ frontend/ # React / Next.js app โ”‚ โ”œโ”€โ”€ contracts-stylus/ # Rust Stylus contracts โ”‚ โ”œโ”€โ”€ contracts-solidity/ # Foundry Solidity contracts โ”‚ โ””โ”€โ”€ nitro-devnode/ # Local dev chain (git submodule) โ”œโ”€โ”€ pnpm-workspace.yaml โ””โ”€โ”€ package.json

Bootstrap steps

# 1. Create workspace mkdir my-arbitrum-dapp && cd my-arbitrum-dapp pnpm init printf "packages:\n - 'apps/*'\n" > pnpm-workspace.yaml # 2. Local devnode git clone https://github.com/OffchainLabs/nitro-devnode.git apps/nitro-devnode cd apps/nitro-devnode && ./run-dev-node.sh && cd ../.. # 3a. Stylus contract cargo stylus new apps/contracts-stylus # 3b. Solidity contract cd apps && forge init contracts-solidity && cd .. # 4. Frontend pnpm create next-app apps/frontend --typescript cd apps/frontend pnpm add viem wagmi @tanstack/react-query

Stylus Rust

# Validate cargo stylus check --endpoint http://localhost:8547 # Deploy (uses the nitro-devnode pre-funded deployer account) cargo stylus deploy \ --endpoint http://localhost:8547 \ --private-key $PRIVATE_KEY # Export ABI for frontend consumption cargo stylus export-abi

Solidity (Foundry)

# Build forge build # Test forge test # Deploy locally (uses the nitro-devnode pre-funded deployer account) forge script script/Deploy.s.sol --rpc-url http://localhost:8547 --broadcast \ --private-key $PRIVATE_KEY Note: The nitro-devnode ships with a pre-funded deployer account. See references/local-devnode.md for the default private key and address. For testnet/mainnet, use your own key via environment variables โ€” never hardcode secrets.

Frontend (viem + wagmi)

import { createPublicClient, http } from "viem"; import { arbitrumSepolia } from "viem/chains"; const client = createPublicClient({ chain: arbitrumSepolia, transport: http(), }); // Read from contract const result = await client.readContract({ address: "0x...", abi: contractAbi, functionName: "myFunction", }); See references/frontend-integration.md for full patterns with wagmi hooks, wallet connection, and write transactions.

Principles

Always use viem for chain interaction. Test locally first against nitro-devnode before deploying to testnet. Export ABIs from both Stylus (cargo stylus export-abi) and Solidity (forge inspect) and keep them in a shared location the frontend can import. Use environment variables for RPC URLs, contract addresses, and private keys. Never hardcode secrets. Stylus contracts are EVM-compatible โ€” they share the same address space, storage model, and ABI encoding as Solidity contracts. Cross-contract calls work seamlessly.

References

Load these as needed for deeper guidance: references/stylus-rust-contracts.md โ€” Stylus SDK patterns, storage, macros, entrypoints references/solidity-contracts.md โ€” Solidity on Arbitrum specifics and Foundry workflow references/frontend-integration.md โ€” React + viem + wagmi patterns references/local-devnode.md โ€” Nitro devnode setup, accounts, and debugging references/deployment.md โ€” Deploying to testnet and mainnet references/testing.md โ€” Testing strategies for both Stylus and Solidity

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs2 Assets1 Scripts1 Files
  • SKILL.md Primary doc
  • README.md Docs
  • install.sh Scripts
  • docs/assets/arbitrum-horizontal-white.svg Assets
  • docs/assets/arbitrum-logomark.svg Assets
  • docs/index.html Files