hackquest logo

create-stylus-latest

One command to start an Arbitrum Stylus (Rust) project that deploys on the first try: 9 tested templates (tokens, NFTs, vault, escrow, payment streams, oracle, interop, faucet), USDG presets for Arbitrum One and Robinhood Chain, and an MCP server for AI agents.

Videos

Tech Stack

Rust
Solidity
Node
Arbitrum Stylus
TypeScript
viem
Docker
GitHub Actions

Description

create-stylus-latest: one command to start an Arbitrum Stylus (Rust) smart contract project that deploys on the first try. THE PROBLEM Stylus makes real computation up to 31x cheaper than Solidity, but starting is hard: the official starter is a single counter, stylus-sdk and alloy versions drift every week, and the deploy path is full of traps you only find on a live network. At least 14 public Stylus entries in this buildathon each built their setup from scratch. THE SOLUTION npm create stylus-latest my-app - Pins the newest stylus-sdk with the exact alloy version it needs, read from crates.io at scaffold time - 9 production-shaped templates: counter, ERC-20, ERC-721, vault, escrow, payment stream, Chainlink oracle, Rust-Solidity interop, faucet - Unit tests plus property tests against a reference model on 8 of the 9 templates - Deploy, verify (reproducible builds) and local dev-node scripts already run on a live network - Paxos USDG presets for Arbitrum One and Robinhood Chain - Every template ships a JSON tool interface and an MCP server, so AI agents can use the contract safely PROOF - On npm with signed provenance, published from CI - 17 CI jobs deploy every template to a real Arbitrum Nitro node on every change, plus 147 on-chain MCP checks - Contracts live on Arbitrum Sepolia and Robinhood Chain testnet - Live site with a playground (real streams, escrow, vault) and a live AI-agent demo - One-click Codespace: deploy and call a contract in about 105 seconds, no wallet needed Live site: https://npx-create-stylus-latest-web-mocha.vercel.app Write-up: https://github.com/ramadan904/npx-create-stylus-latest/blob/main/SUBMISSION.md

Progress During Hackathon

Built during the buildathon (Sep 14 - Oct 4): - The CLI and all 9 Stylus templates, each with unit tests, plus property tests on 8 of them - Deploy, verify and dev-node scripts, hardened against every pitfall hit on real deploys (Docker builds, RPC activation, gas caps, constructors) - Contracts deployed with the tool's own scripts on Arbitrum Sepolia and Robinhood Chain testnet - Published to npm (v0.5.0, 6 releases) from CI with signed provenance - 17-job CI pipeline, including 147 on-chain MCP checks and a weekly re-check against crates.io - An agent kit and MCP server for every template - A Stylus vs Solidity gas benchmark (about 31x cheaper on compute, about 2x dearer on plain storage) - Live site with playground and AI-agent demo, a one-click Codespace, SECURITY.md, and narrated demo and pitch videos Note: Arbitrum Sepolia paused new Stylus activations on Oct 3. Everything was deployed before the pause, and CI keeps deploying every template to a local Nitro node.

Fundraising Status

Not raising yet; built bootstrapped during the buildathon. Next step: apply to the Arbitrum DAO developer-tooling grants (the program that funded Scaffold-Stylus and SmartCache Stylus) to keep the templates current with every Stylus SDK release. Open to Founder House and to ecosystem partners.
Team Leader
RRamadan Olaiya
Project Link
Sector
DeFiInfraAI