mirror of
https://github.com/luxfi/p3q-evm.git
synced 2026-10-30 15:22:42 +00:00
Splits the @luxfi/p3q-evm Solidity package out of the luxfi/p3q Rust workspace so the two language ecosystems can release on independent cadences. Rust workspace stays pure-Rust; this repo gets foundry CI + npm publish (audit-gated, off by default). Migrated from luxfi/p3q@746ac09 (contracts/): - src/IP3QVerifier.sol, src/P3QVerifierStub.sol, src/index.sol - src/README.md, README.md, foundry.toml, .gitignore, package.json Changes vs upstream subdir: - package.json bumped 0.0.1 → 0.1.0; repository.url and homepage point at luxfi/p3q-evm; removed repository.directory. - Added LICENSE (MIT OR Apache-2.0 dual), LICENSE-MIT, LICENSE-APACHE copied byte-for-byte from luxfi/p3q. - Added .github/workflows/ci.yml (forge build + forge fmt --check on push/PR via foundry-rs/foundry-toolchain@v1). - Added .github/workflows/release.yml (triggers on v* tag, builds, creates GitHub Release; npm publish commented out behind audit-gate note matching luxfi/p3q pattern). - Applied 'forge fmt' once to satisfy fmt --check baseline. forge build: clean (P3QVerifierStub runtime=362B initcode=391B). forge fmt --check: clean.
567 B
567 B
@luxfi/p3q-evm
EVM verifier surface (Solidity) for P3Q, the strict-PQ STARK/FRI/SHA-3 proof system for Lux Z-Chain.
See src/README.md for the detailed package surface and
audit-gating notes.
Install
npm install @luxfi/p3q-evm
# or
pnpm add @luxfi/p3q-evm
In Solidity:
import "@luxfi/p3q-evm/src/IP3QVerifier.sol";
import "@luxfi/p3q-evm/src/P3QVerifierStub.sol";
Build (standalone)
forge build
License
MIT OR Apache-2.0 (matches the parent Rust workspace).