Skip to content

Commit bc65d3d

Browse files
committed
final task
1 parent c7a8cc1 commit bc65d3d

3 files changed

Lines changed: 40 additions & 39 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can also check out [Bitcoin Core RPC API Reference docs](https://developer.b
3434
<img src="https://github.com/btrust-builders/lbcli-final-capstone-project/blob/main/enable-github-actions.png" width="500" />
3535

3636
3. Clone your fork to your local computer.
37-
4. Add your bitcoin cli commands to the script files: `01.sh to 09.sh` in the `submission` folder. Example:
37+
4. Add your bitcoin cli commands to the script files: `01.sh to 08.sh` in the `submission` folder. Example:
3838
```sh
3939
$ bitcoin-cli -signet getblockcount
4040
```
@@ -44,7 +44,7 @@ You can also check out [Bitcoin Core RPC API Reference docs](https://developer.b
4444

4545
<img src="https://github.com/btrust-builders/lbcli-final-capstone-project/blob/main/success.png" width="1000" />
4646

47-
7. For the final exercise, follow instructions in `FINAL-TASK.TXT` file and update all other `xxx.txt` files.
47+
7. For the final exercise, follow instructions in `FINAL-TASK.MD` file and update all other `xxx.txt` files.
4848

4949
8. Submit your solution to this form: [Google form](https://forms.gle/eDRGAJXpLqRxEExR6).
5050

submission/FINAL-TASK.MD

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## USE SIGNET NETWORK FOR THIS FINAL TASK
2+
See `README.md` file on how to send bitcoin cli commands to the Signet network
3+
4+
For the final task you will first create a bitcoin wallet using your github username as wallet name
5+
After successful creation, add your wallet name to the `wallet.txt` file
6+
7+
Hence, you should add your wallet name to subsquent commands, for example
8+
`bitcoin-cli -signet -rpcwallet=github-username getblockcount`
9+
10+
You dont need to add your bitcoin-cli commands in this file.
11+
The goal is to update the `xxx.txt` files with the address, transaction and block hashes.
12+
13+
### Complete the tasks below
14+
15+
1. Create a bitcoin wallet using your github username as wallet name
16+
- Add your wallet name to the `wallet.txt` file
17+
18+
2. Create a native SegWit address
19+
- Add your address to the `address.txt` file
20+
21+
3. Fund the address using this faucet (`alt.signetfaucet.com`) and save to files:
22+
- `transaction-1.txt` (txid)
23+
- `block-1.txt` (blockhash for the transaction)
24+
- `coinbase-1.txt` (coinbase transaction in the block)
25+
26+
4. Spend from funded address by creating a transaction with details below:
27+
- Send exactly 10,000 sats to `tb1qddpcyus3u603n63lk7m5epjllgexc24vj5ltp7`
28+
- Use transaction Fee: 700 sats
29+
- Make sure transaction fee can be later updated to a higher fee
30+
- Broadcast transaction
31+
- Save txid to `transaction-2.txt`
32+
- Save transaction block hash to `block-2.txt` and coinbase transaction to `coinbase-2.txt`
33+
34+
5. Create 2-of-3 multisig address:
35+
- Save to `multisig-address.txt`
36+
- Save redeemScript to `multisig-redeem.txt`
37+
- Fund using this faucet(`alt.signetfaucet.com`), and save txid to `multisig-transaction.txt`
38+
- Save transaction block hash to `multisig-block.txt` and coinbase transaction to `multisig-coinbase.txt`

submission/final-task.txt

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)