PVM & Crypto Registry
PVM precompile status, crypto primitives, and gas comparison
SR25519
...
ED25519
...
XCM Dispatch
...
BLAKE2F
...
BN128
...
Precompile Registry
SR25519
Not FoundSchnorr signatures (Polkadot native)
Address: 0x0403
ED25519
Not FoundEdwards curve signatures
Address: 0x0402
XCM Dispatch
Not FoundCross-chain messaging
Address: 0x0816
BLAKE2F
Not FoundBLAKE2b-256 hashing (EIP-152)
Address: 0x0009
BN128
Not FoundAlt-BN128 pairing (EIP-196/197)
Address: 0x0006-0x0008
BLAKE2b-256 Hasher
Signature Verification
Stealth Address Derivation
BN128 Pedersen Commitment
TRACK 2 Feature: Pedersen commitments using BN128 precompiles (0x06, 0x07). Commitment C = v*G + r*H hides the amount while remaining verifiable.
Gas Cost Comparison
| Operation | Gas Cost | Comparison | Type |
|---|---|---|---|
| BLAKE2b-256 (precompile) | ~150 | Keccak256: ~30 | Precompile |
| SR25519 verify (precompile) | ~3,450 | ECDSA recover: ~3,000 | Precompile |
| ED25519 verify (precompile) | ~3,450 | Not native to EVM | Precompile |
| BN128 add (precompile) | ~150 | BN128 mul: ~6,000 | Precompile |
| Solidity BLAKE2 (emulated) | ~50,000+ | Precompile: ~150 | Emulated |
| Solidity SR25519 (N/A) | N/A | Only via precompile | Emulated |