|
| 1 | +# Milestone Delivery :mailbox: |
| 2 | + |
| 3 | +**The delivery is according to the official [milestone delivery guidelines](https://github.com/w3f/Grants-Program/blob/master/docs/Support%20Docs/milestone-deliverables-guidelines.md).** |
| 4 | + |
| 5 | +* **Application Document:** https://github.com/w3f/Grants-Program/blob/master/applications/BandersnatchVRF.md |
| 6 | +* **Milestone Number:** 2 |
| 7 | + |
| 8 | +**Context** (optional) |
| 9 | +1. @pbnj/bandersnatch: Foundational Elliptic Curve Package |
| 10 | +2. @pbnj/bandersnatch-vrf: Core VRF Implementation Suite |
| 11 | + |
| 12 | +**Deliverables** |
| 13 | + |
| 14 | +| Number | Deliverable | Link | Notes | |
| 15 | +|--------|-------------|------------------------| |
| 16 | +| **1.** | **Entropy VRF Implementation** | [Here](https://github.com/Esscrypt/bandersnatch-vrf/blob/main/src/utils/entropy-vrf.ts) | Complete implementation of Gray Paper 0.7.2 equation 6.17: `H_vrfsig ∈ bssignature{H_authorbskey}{Xentropy ∥ banderout{H_sealsig}}{[]}` for block entropy generation | |
| 17 | +| **2.** | **Audit VRF Implementation** | [Here](https://github.com/Esscrypt/bandersnatch-vrf/blob/main/src/utils/audit-signature.ts) |Full audit signature generation for both tranche 0 and tranche N according to Gray Paper 0.7.2 equations 17.3 and 17.14, including work report hashing | |
| 18 | +| **3.** | **Epoch Root Utilities** | [Here](https://github.com/Esscrypt/bandersnatch-vrf/blob/main/src/utils/entropy-vrf.ts) | Complete implementation of `getRingRoot` function for KZG polynomial commitments to validator sets, supporting ring VRF proofs | |
| 19 | +| **4.** | **Gamma Processing Functions** | [Here](https://github.com/Esscrypt/bandersnatch-vrf/blob/main/src/utils/gamma.ts)| VRF output processing utilities including `getCommitmentFromGamma`, `getBanderoutFromGamma`, and RFC 9381 compliant point-to-hash conversion | |
| 20 | +| **5.** | **JAM Integration Testing** | [Used in the fuzzer target](https://github.com/Esscrypt/pbnj-fuzzer-releases) | End-to-end test suites for all JAM protocol components, integration with PeanutButterAndJAM implementation, and real-world usage validation | |
| 21 | +| **6.** | **Advanced Documentation** | [Here](https://github.com/Esscrypt/bandersnatch-vrf) and [Here](https://esscrypt.github.io/bandersnatch-vrf/)| Comprehensive tutorials for JAM protocol integration, specialized component usage guides, and Gray Paper compliance documentation | |
| 22 | +| **7.** | **Performance Analysis** | [Here](https://github.com/Esscrypt/bandersnatch-vrf/tree/main/src/__tests__) | Specialized benchmarking for JAM protocol components, optimization analysis, and comparison with Rust reference implementations | |
| 23 | +| **8.** | **Production Readiness** | [Here](https://www.npmjs.com/package/@pbnjam/bandersnatch-vrf) and [Here](https://www.npmjs.com/package/@pbnjam/bandersnatch) | Final package distribution, security hardening, edge case handling, and production deployment guidelines | |
| 24 | +**Additional Information** |
| 25 | + |
| 26 | +**Usage instructions:** |
| 27 | +- [README bandersnatch](https://github.com/Esscrypt/bandersnatch/tree/main) |
| 28 | +- [README bandersnatch-vrf](https://github.com/Esscrypt/bandersnatch-vrf/tree/main) |
| 29 | +1 `bun install @pbnjam/[email protected]` |
| 30 | +2. `bun install @pbnjam/[email protected]` |
| 31 | + |
0 commit comments