Agent Skill
2/7/2026midnight-test-runner
Run and debug Midnight contract tests using Vitest simulators. Use this skill when testing contracts, debugging test failures, or writing new tests. Triggers on "run tests", "test contract", "debug test", "test fails", or "vitest".
E
eddalabs
0GitHub Stars
1Views
npx skills add eddalabs/midnight-contracts
SKILL.md
| Name | midnight-test-runner |
| Description | Run and debug Midnight contract tests using Vitest simulators. Use this skill when testing contracts, debugging test failures, or writing new tests. Triggers on "run tests", "test contract", "debug test", "test fails", or "vitest". |
Midnight Contracts
This project provides a comprehensive testing framework for the Midnight blockchain platform. We include contracts, witnesses, Midnight SDKs, testing suites, and providers to thoroughly test Midnight's features, evaluate performance, and conduct real-world scenario testing
📦 Prerequisites
- Node.js (v23+) & npm (v11+)
- Docker
- Compact (Midnight developer tools)
Available Contracts
Counter
- Contract Folder - Compact, witness and testing.
- CLI Folder - CLI for interacting with the contract and providers.
Bulleting Board Contract
- Bboard Folder - Compact, witness and testing.
ZSwap Minting Contract
- Contract Folder - Compact, witness and testing.
Bucket-DeFi Contracts
- Contract Folder - Compact, witness and testing
Installation
- Install dependencies:
npm install
- Build the contracts:
npm run build
Contract List
- Counter Contract
- Bulleting Board Contract
- ZSwap Minting Contract
- Bucket-DeFi Contract
Skills Info
Original Name:midnight-test-runnerAuthor:eddalabs
Download