@arkade-os/skills
v0.1.2
Published
Agent skills for an Arkade smart contract: compile with arkadec, spend with @arkade-os/sdk, and prove it on Arkade regtest.
Readme
Arkade contract skills
Skills for an Arkade smart contract: compile it with arkadec, spend it with @arkade-os/sdk, build the product UI, and prove it on Arkade regtest.
Install them into a fresh project with the skills CLI, then follow them in order.
npx skills add arkade-os/skillsWhat to do
Compile the contract. Clone arkade-os/compiler and run
arkadec. Commit the.arkfile and the artifact. Leave the compiler checkout untracked.Spend it. Follow
arkade-contract. It clonesarkade-os/ts-sdkintovendor/ts-sdkand installs@arkade-os/sdk. Load the artifact withprogramFromArtifactand spend the functions it declares.ContractManageris the only writer of contract and VTXO rows. Leavevendor/untracked.Build the screen. Follow
arkade-product-ui. It reads emilkowalski/skills and Impeccable. The screen offers the constructor, the funding step, and the spend functions the artifact has.Prove it. Follow
arkade-regtest. It clones ArkLabsHQ/arkade-regtest and starts the stack:node regtest/regtest.mjs start --env .env.regtest --profile ark --profile emulatorWrite one functional end-to-end test. Put helpers at the end of that file. Leave
regtest/untracked.
