otx-sighash-lock is a smart contract (lock script) based on the CKB blockchain. It enables signatures to only commit to a portion of the data in a transaction.
Build contracts:
- init submodules
git submodule init && git submodule update -r --init
- build the shared binary secp256k1_blake2b_sighash_all_dual
cd ckb-miscellaneous-scripts && git submodule init && git submodule update -r --init && make install-tools &&make all-via-docker
- build contract
capsule build
Run tests:
capsule test