Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
chore: fix docs after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
steph-rs committed Jul 22, 2024
1 parent 5224969 commit 8b9f993
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions core/lib/via_btc_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,18 @@ let inscription_messages : Vec<via_btc_client::InscriptionMessage> = indexer.get

## Inscription Transaction Flow
```
1. unlock all available UTXOs for the source address
2. create inscription output with using Taproot approach (stack data):
1. Unlock all available UTXOs for the source address
2. Create inscription output with using Taproot approach (stack data):
- **PUBKEY**
- OP_CHECKSIG
- OP_FALSE OP_IF
- **INSCRIPTION DATA**
- OP_ENDIF
3. create a P2WPKH change output to send the remaining funds back to the source address
4. create a transaction with the inputs and outputs
5. sign the transaction with the private key
6. broadcast the transaction to the network
3. Create a P2WPKH change output to send the remaining funds back to the source address
4. Create a transaction with the inputs and outputs
5. Sign the transaction with the private key
6. Broadcast the transaction to the network
ps. unlock all available UTXO and send the remaining funds back to the source address helps us
PS. Unlock all available UTXO and send the remaining funds back to the source address helps us
to avoid solving utxo selection problem and we call it the UTXO aggregation approach.
```

0 comments on commit 8b9f993

Please sign in to comment.