@0xflydev/labz 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,6 @@
1
- # {{projectName}}
1
+ # FHEVM Smart Contract
2
2
 
3
- {{difficultyBadge}} **{{category}}**
4
-
5
- {{description}}
6
-
7
- ## Overview
8
-
9
- {{longDescription}}
3
+ A privacy-preserving smart contract built with Fully Homomorphic Encryption (FHE).
10
4
 
11
5
  ## Quick Start
12
6
 
@@ -14,32 +8,37 @@
14
8
  # Install dependencies
15
9
  npm install
16
10
 
17
- # Run tests
18
- npx hardhat test
19
-
20
11
  # Compile contracts
21
12
  npx hardhat compile
22
- ```
23
13
 
24
- ## Contract
14
+ # Run tests
15
+ npx hardhat test
25
16
 
26
- See `contracts/` folder for the Solidity contract.
17
+ # Deploy (local)
18
+ npx hardhat run deploy/deploy.ts
19
+ ```
27
20
 
28
- ## Tests
21
+ ## Project Structure
29
22
 
30
- See `test/` folder for comprehensive tests demonstrating:
31
- - Correct usage patterns
32
- - Common pitfalls to avoid
33
- - Expected behaviors
23
+ ```
24
+ contracts/ - Solidity smart contracts
25
+ deploy/ - Deployment scripts
26
+ test/ - Test files
27
+ ```
34
28
 
35
- ## FHE Operations Used
29
+ ## FHE Operations
36
30
 
37
- {{fheOperations}}
31
+ This contract uses encrypted data types and operations from the FHEVM library:
32
+ - `euint64`, `euint32`, `ebool` - Encrypted integers and booleans
33
+ - `FHE.add`, `FHE.sub`, `FHE.mul` - Encrypted arithmetic
34
+ - `FHE.lt`, `FHE.gt`, `FHE.eq` - Encrypted comparisons
35
+ - `FHE.select` - Encrypted conditional selection
38
36
 
39
- ## Related Examples
37
+ ## Resources
40
38
 
41
- {{relatedTemplates}}
39
+ - [FHEVM Documentation](https://docs.zama.ai/fhevm)
40
+ - [Lab-Z CLI](https://github.com/Farukest/Lab-Z)
42
41
 
43
42
  ---
44
43
 
45
- Generated with [FHEVM Example Hub](https://github.com/zama-ai/fhevm-example-hub)
44
+ Generated with [Lab-Z](https://github.com/Farukest/Lab-Z)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xflydev/labz",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Lab-Z CLI - Generate composable FHEVM smart contracts",
5
5
  "author": "0xflydev",
6
6
  "license": "MIT",