AO contract created using create-ao-contract featuring Busted for testing and seamless deployment via ao-deploy.
-
Install arweave using LuaRocks for testing purposes.
luarocks install arweave
-
[Recommended] Install Lua Language Server to make development easier, safer, and faster!. On VSCode, install extension: sumneko.lua
- Install AO & Busted addon using Lua Addon Manager. On VSCode, goto
View > Command Palette > Lua: Open Addon Manager
- Install AO & Busted addon using Lua Addon Manager. On VSCode, goto
To install dependencies:
npm install
To run tests:
pnpm test
To deploy contract:
pnpm deploy