This replaces #754. We now have crypto API's secp256k1_recover_pubkey and secp256k1_verify. This should be the only building blocks needed by the contract to verify Bitcoin thransaction. The rest is encoding and hashing, which is done in the contract.
In this ticket, we want a comple example of a Bitcoin transaction verification in the development contract https://github.com/CosmWasm/cosmwasm/tree/main/contracts/crypto-verify
Interesting material: