Skip to main content

Input Type Proxy Lock

Input Type Proxy Lock is a Lock Script that allows unlocking when a specific Type Script appears in transaction inputs.

It is part of the ckb-proxy-locks.

How It Works

  • Takes a 32-byte Type Script hash as an argument
args[0..32]: Hash of the required input Type Script
  • Passes validation if any input Cell in the transaction contains the specified Type Script. This enables more flexible authorization patterns based on Type Script presence.

Use Cases

  • Token-gated access
  • NFT-based permissions
  • Conditional unlocking based on asset ownership

Deployment

  • Mainnet
parametervalue
code_hash0x5123908965c711b0ffd8aec642f1ede329649bda1ebdca6bd24124d3796f768a
hash_typedata1
tx_hash0x10d63a996157d32c01078058000052674ca58d15f921bec7f1dcdac2160eb66b
index0x1
dep_typecode
  • Testnet
parametervalue
code_hash0x5123908965c711b0ffd8aec642f1ede329649bda1ebdca6bd24124d3796f768a
hash_typedata1
tx_hash0xb4f171c9c9caf7401f54a8e56225ae21d95032150a87a4678eac3f66a3137b93
index0x1
dep_typecode