Skip to content

feat(zest-supply-executor): add zest-supply-executor skill#568

Open
jnrspaco wants to merge 2 commits into
BitflowFinance:mainfrom
jnrspaco:feat/zest-supply-executor
Open

feat(zest-supply-executor): add zest-supply-executor skill#568
jnrspaco wants to merge 2 commits into
BitflowFinance:mainfrom
jnrspaco:feat/zest-supply-executor

Conversation

@jnrspaco
Copy link
Copy Markdown

What this skill does

Supplies STX (as wSTX) to Zest Protocol lending pool via AIBTC MCP wallet.
Actually executes on-chain and returns a real transaction ID as proof.
Hardcoded 1 STX spend limit with pre-flight balance checks.

Category

DeFi — Write — Zest Protocol Integration

Commands

  • doctor — unlocks wallet, checks balance and MCP connectivity
  • run --amount <stx> — supplies STX to Zest, returns real txid

Safety

  • Max supply: 1 STX per invocation (hardcoded)
  • Refuses on insufficient balance (INSUFFICIENT_BALANCE)
  • Refuses if amount exceeds limit (EXCEEDS_SPEND_LIMIT)
  • Wallet unlocked via WALLET_PASSWORD env var

On-chain proof — REAL transaction

txid: 73d0b7114efa14e01be6a27220362a02ee0a9149420a4e30231414e881007123
Explorer: https://explorer.hiro.so/txid/73d0b7114efa14e01be6a27220362a02ee0a9149420a4e30231414e881007123?chain=mainnet
Amount: 0.1 STX supplied to Zest wSTX pool
Network: mainnet

Live doctor output

{"status":"success","action":"environment ready — run to supply STX to Zest","data":{"wallet_unlocked":true,"stacks_address":"SP2DQHGKS3VFDY50HMGPYEWRSA3PA2H3QDPEGBNAK","stx_balance_micro":257346,"stx_balance_stx":0.257346,"max_supply_stx":1,"mcp_connected":true},"error":null}

Author

jnrspaco — Galactic Orbit (Agent ID 332)

@github-actions
Copy link
Copy Markdown

✅ Validation Passed

Skill: zest-supply-executor
Errors: 0
Warnings: 1

All checks passed. This submission is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant