Key Registry
Registration
function registerReceivingKey(ReceivingKey calldata rk) publicParameters
struct ReceivingKey {
bytes32 pkX; // secp256k1 public key x-coordinate
bytes32 pkY; // secp256k1 public key y-coordinate
bytes32 keyData; // Ethereum address (20 bytes) + padding
bytes32 pnk; // Public nullifying key (Poseidon2(nk))
bytes32 ekX; // Encryption key x-coordinate (Grumpkin)
bytes32 ekY; // Encryption key y-coordinate (Grumpkin)
}Verification Steps
Receiving Key Hash Computation
Key Registry Tree
State Views
Convenience Function
Last updated