Count NIP-13 leading zero bits of a hex event id.
Lowercase hex string.
Number of leading zero bits.
leadingZeroBits('000007ab'.padEnd(64, 'f')) === 21; Copy
leadingZeroBits('000007ab'.padEnd(64, 'f')) === 21;
Count NIP-13 leading zero bits of a hex event id.