@meshsdk/midnight-contracts-wizard
v1.9.0-beta.87
Published
Create a new Midnight contracts project with selected smart contracts
Downloads
110
Readme
Midnight Contracts Wizard
A CLI tool to create new Midnight contracts projects with selected smart contracts.
Installation
npm install @meshsdk/midnight-contracts-wizardUsage
npx @meshsdk/midnight-contracts-wizardFeatures
- Interactive CLI - Select which contracts to include
- Multiple Contract Types - Tokenization, Staking, Identity, Oracle, Lending & Borrowing
- Complete Setup - Generates package.json, tsconfig, and build scripts
- Ready to Use - All necessary files for compilation and build
- Self-Contained - All contract templates included, no external dependencies
Available Contracts
Tokenization Contract
- Complete project tokenization system with ZK privacy investment (7 ZK circuits)
Staking Contract
- Privacy-focused staking system with rewards and lock periods (8 ZK circuits)
Identity Contracts
- Complete identity management system with cryptographic libraries (1 ZK circuit)
Oracle Contract
- Decentralized oracle system with privacy-preserving data feeds (7 ZK circuits)
Lending & Borrowing Contract
- Privacy-preserving decentralized lending protocol (7 ZK circuits)
Generated Project Structure
my-project/
├── src/
│ ├── [selected-contracts]/
│ │ └── *.compact
│ └── managed/ # Compiled contracts
├── dist/ # Distribution
├── package.json
├── tsconfig.json
├── tsconfig.build.json
└── README.md