File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 run : |
5050 chmod +x submission/01.sh
5151 WALLET=$(submission/01.sh)
52- if [[ "$WALLET" == *"btrustwallet "* ]]; then
52+ if [[ "$WALLET" == *"builderswallet "* ]]; then
5353 echo "✅ Success: Wallet creation passed!"
5454 else
5555 echo "❌ Error: Wallet creation failed!"
@@ -114,10 +114,22 @@ jobs:
114114 exit 1
115115 fi
116116
117- - name : 07.sh - Verify Receivers Address Partially Signed Bitcoin Transaction
117+ - name : 07.sh - Verify Total Transaction Output Amount In Satoshis
118118 run : |
119119 chmod +x submission/07.sh
120- ADD=$(submission/07.sh)
120+ ACTUAL_OUTPUT=$(submission/07.sh)
121+ EXPECTED_OUTPUT=650
122+ if [[ "$ACTUAL_OUTPUT" == "$EXPECTED_OUTPUT" ]]; then
123+ echo "✅ Success: Total Transaction Output Amount In Satoshis Check passed!"
124+ else
125+ echo "❌ Error: Total Transaction Output Amount In Satoshis Check failed!"
126+ exit 1
127+ fi
128+
129+ - name : 08.sh - Verify Receivers Address Partially Signed Bitcoin Transaction
130+ run : |
131+ chmod +x submission/08.sh
132+ ADD=$(submission/08.sh)
121133 if [[ "$ADD" == "bcrt1qcaedd724gts3aug73m78c7nfsv9d8zs9znw8py" ]]; then
122134 echo "✅ Success: Address Verification for Partially Signed Bitcoin Transaction passed!"
123135 else
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Exercise should be done using Regtest network.
1818
19196 . Confirm your forked repository has a green check mark.
2020
21- <img src =" https://github.com/btrust-builders/lbcli-week-3-exercises/blob/main/success.png " width =" 500 " />
21+ <img src =" https://github.com/btrust-builders/lbcli-week-3-exercises/blob/main/success.png " width =" 300 " />
2222
23237 . Submit your solution to this form: [ Google form] ( https://forms.gle/MHXcSUFStn5vr5dXA ) .
2424
Original file line number Diff line number Diff line change 1- # Create a wallet with the name "btrustwallet ".
1+ # Create a wallet with the name "builderswallet ".
Original file line number Diff line number Diff line change 1- # What is the receiver's address in this partially signed transaction?
1+ # What is the total output value of this partially signed transaction in satoshis
22# transaction=cHNidP8BAHsCAAAAAhuVpgVRdOxkuC7wW2rvw4800OVxl+QCgezYKHtCYN7GAQAAAAD/////HPTH9wFgyf4iQ2xw4DIDP8t9IjCePWDjhqgs8fXvSIcAAAAAAP////8BigIAAAAAAAAWABTHctb5VULhHvEejvx8emmDCtOKBQAAAAAAAAAA
Original file line number Diff line number Diff line change 1+ # What is the receiver's address in this partially signed transaction?
2+ # transaction=cHNidP8BAHsCAAAAAhuVpgVRdOxkuC7wW2rvw4800OVxl+QCgezYKHtCYN7GAQAAAAD/////HPTH9wFgyf4iQ2xw4DIDP8t9IjCePWDjhqgs8fXvSIcAAAAAAP////8BigIAAAAAAAAWABTHctb5VULhHvEejvx8emmDCtOKBQAAAAAAAAAA
You can’t perform that action at this time.
0 commit comments