opnet-development

Build OPNet applications with AssemblyScript/WASM, TypeScript, and React.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/btc-vision/opnet-skills --skill opnet-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opnet-development
Source: https://github.com/btc-vision/opnet-skills/tree/main
Command: npx skills add https://github.com/btc-vision/opnet-skills --skill opnet-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to build on OPNet, Bitcoin's L1 consensus layer, using AssemblyScript/WASM, TypeScript libraries, React frontends, and Node plugins to deliver trustless smart contracts and end-to-end DApps.

Core Features & Use Cases

  • OPNet integration: Seamless development of WASM contracts, TS libraries, and frontend tooling for OPNet-based apps.
  • NFTs & Tokens: Supports OP20 tokens and OP721 NFTs, wallet interactions, and non-custodial patterns.
  • Frontend & Plugins: React frontends, TS libraries, and Node plugins that interact with OPNet.
  • Deterministic patterns: Enforces reorg handling, CSV pinning protections, epoch mining considerations, and verify-dont-custody patterns.

Quick Start

Create a new OPNet project, install dependencies, and run npm run lint and npm run typecheck to validate your setup.

Frequently Asked Questions about opnet-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build smart contracts on Bitcoin L1 using WASM?

You build smart contracts on Bitcoin L1 using WASM by writing AssemblyScript contracts, integrating TypeScript libraries, and deploying them through OPNet's consensus layer using verify-don't-custody patterns.

Can I create OP20 tokens and OP721 NFTs on Bitcoin L1?

Yes, you can create OP20 tokens and OP721 NFTs on Bitcoin L1 by writing AssemblyScript/WASM contracts and integrating them with OPNet's verification layer and non-custodial wallet interaction patterns.

What is the verify-don't-custody pattern in OPNet development?

The verify-don't-custody pattern in OPNet development ensures smart contracts validate transaction states on Bitcoin L1 without taking custody of assets, relying on WASM determinism and reorg resilience for security.

How do I handle reorgs and CSV pinning when building Bitcoin L1 DApps?

Handling reorgs and CSV pinning when building Bitcoin L1 DApps requires enforcing deterministic patterns in your AssemblyScript/WASM contracts to ensure transaction validity remains secure across chain reorganizations.

Does OPNet development require TypeScript for frontend integration?

Yes, OPNet development requires TypeScript for frontend integration, enforcing strict TypeScript rules alongside React to interact with WASM contracts, Node plugins, and OPNet's epoch mining workflows.

What are the limitations of using AssemblyScript for Bitcoin L1 smart contracts?

Using AssemblyScript for Bitcoin L1 smart contracts requires strict deterministic execution and mandatory documentation reading, limiting flexible logic flows to ensure WASM compatibility and OPNet consensus security.