create-labz
v1.0.6
Published
Create FHEVM smart contract projects with Lab-Z templates
Maintainers
Readme
create-labz
Create FHEVM smart contract projects instantly.
Usage
npx create-labzInteractive mode - select a template and name your project.
Or specify directly:
npx create-labz counter my-project
npx create-labz auction my-auction
npx create-labz token my-tokenAvailable Templates
| Template | Description |
|----------|-------------|
| counter | Simple encrypted counter with increment/decrement |
| add | Add two encrypted values |
| token | Confidential ERC20-style token |
| voting | Private voting system |
| auction | Sealed-bid auction with encrypted bids |
| dice-game | On-chain dice game with encrypted randomness |
| lottery | Private lottery with encrypted tickets |
| age-gate | Age verification without revealing birthdate |
What You Get
my-project/
├── contracts/ # Solidity contract with FHEVM
├── test/ # TypeScript test suite
├── scripts/ # Deployment scripts
├── hardhat.config.ts
└── package.jsonNext Steps
cd my-project
npm install
npx hardhat test