Skip to content
arkade-osPublic

About

Agent skills for an Arkade contract: decide what it tracks, write it with arkadec, spend it with the sdk, show one next action, and prove it on Arkade regtest.

Topics

Resources

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

 

History

92 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arkade contract skills

Skills for an Arkade product: decide it, write the contract, draw the coins, spend the artifact, show one next action, and prove it on regtest.

Install them into a fresh project with the skills CLI, then follow them in this order.

npx skills add arkade-os/skills

What to do

  1. Product. Follow arkade-product. A coin is not a balance. A require is not authorization. Pin the outputs in the address that gets funded. A standing order completes later without the funder. A token burn is the right, in place of checkSig.

  2. Write the contract. Follow writing-arkade-contracts. It clones arkade-os/compiler and runs arkadec. Commit the .ark file and the artifact with the README from the next step. Leave compiler/ untracked.

  3. covenant-viz. Follow covenant-viz. Regenerate the README in that same commit: the coins, each contract, each function as a signature and a short list, and one mermaid transaction per action. Inputs, the action, then outputs. A dotted edge is a same-index check the script writes. A require is not authorization. A direct send to an address is a second coin.

  4. Spend. Follow arkade-contract. Mutinynet is the default session: https://mutinynet.arkade.sh, https://emulator.mutinynet.arkade.sh, https://mempool.mutinynet.arkade.sh/api. The page subscribes. ContractManager writes. The screen reads the repository after vtxo_received and vtxo_spent. Leave vendor/ untracked.

  5. Screen. Follow arkade-product-ui. The screen follows the transaction that README draws for the current coin and shows one next action. It does not invent a second protocol.

  6. Regtest. Follow arkade-regtest. It clones ArkLabsHQ/arkade-regtest and starts the stack:

    node regtest/regtest.mjs start --env .env.regtest --profile ark --profile emulator

    Inside that one end-to-end file, a direct send of sats must not count as the contract's position. Helpers go at the end of the file. Leave regtest/ untracked.

About

Agent skills for an Arkade contract: decide what it tracks, write it with arkadec, spend it with the sdk, show one next action, and prove it on Arkade regtest.

Topics

Resources

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors