Skip to content

Commit

Permalink
Merge pull request #3 from EthnTuttle/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
rot13maxi authored Apr 26, 2024
2 parents ee7ee57 + af9ab74 commit eab5916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This repo contains a demo of an onchain Bitcoin Vault using OP_CAT to create a covenant that allows for a multi-step withdrawal process to be validated onchain.

Basically, you will have a special addressed called the vault. Coins from his address can **only** be spent in the following way:
Basically, you will have a special address called the vault. Coins from his address can **only** be spent in the following way:

- You can initiate a withdrawal from the vault by creating a transaction with 2 inputs (the vault as the first input, and a fee-paying second input), and two outputs (the vault with the amount to be withdrawn, and the target address with a dust amount).
- Once the vault is in the Triggered state, you can either:
Expand Down Expand Up @@ -160,4 +160,4 @@ They'd get a little bigger with a signature check, but not much.
Yep! There is quite a bit of script optimization that could be done. I have a generic function for getting the SigMsg components and I just use that everywhere.

### Can I contribute?
Yes! PR's welcome. I'm happy to review and help you get your PR merged. I'm also happy to help you get set up with the project if you're having trouble. Just ask!
Yes! PR's welcome. I'm happy to review and help you get your PR merged. I'm also happy to help you get set up with the project if you're having trouble. Just ask!

0 comments on commit eab5916

Please sign in to comment.