clarity-bitcoin icon indicating copy to clipboard operation
clarity-bitcoin copied to clipboard

Clarity library for parsing Bitcoin transactions and verifying Merkle proofs

Results 4 clarity-bitcoin issues
Sort by recently updated
recently updated
newest added

Using function secp256k1-verify, we can define if a claimant is the real owner of that Bitcoin wallet... Arguments needed: 1) public address (33 byte) compact-form 2) message in sha256 3)...

To verify bitcoin txs the burnchain header hash is verified using: `(get-block-info? burnchain-header-hash block-height)` For btc transactions in flash blocks, i.e. btc blocks that don't have corresponding stx blocks there...

The function `verify-merkle-proof` expects the reverse merkle root. However, `tx-was-mined?` passes in the normal merkle root.

Calling read-only function `parse-tx` fails with ``` Error: Unchecked(CostBalanceExceeded(ExecutionCost { write_length: 0, write_count: 0, read_length: 42572, read_count: 3, runtime: 1001249000 }, ExecutionCost { write_length: 0, write_count: 0, read_length: 100000, read_count:...