Warp Contract Tutorials

Examples run on GitHub Codespaces.

SmartWeave contracts based on Warp Academy tutorials.

Also, Warp SDK scripts for deployment.

Prerequisites

Node.js

Setup

Install dependencies:

$ npm i

Scripts

start

$ npm start <CONTRACT_NAME>
  • creates 3 wallets (admin, user1, and user2)
  • deploys contract on Arweave Mainnet (with Testnet tags) with admin wallet
  • starts Vite on port 8080 to serve a web app that uses the contract