|
1 | 1 | # How to make a transaction using the web IDE |
2 | 2 |
|
3 | | -The Simfony web IDE can only make a restricted form of transaction: There is 1 transaction input, 1 transaction output and 1 fee output _(Liquid has explicit fee outputs)_. Confidential transactions or assets other than Bitcoin are not supported. |
| 3 | +The SimplicityHL web IDE can only make a restricted form of transaction: There is 1 transaction input, 1 transaction output and 1 fee output _(Liquid has explicit fee outputs)_. Confidential transactions or assets other than Bitcoin are not supported. |
4 | 4 |
|
5 | | - |
| 5 | + |
6 | 6 |
|
7 | 7 | ## Write the main function |
8 | 8 |
|
9 | | -Open [the Simfony web IDE](https://simfony.dev/) and write the main function of your program. |
| 9 | +Open [the SimplicityHL web IDE](https://ide.simplicity-lang.org/) and write the main function of your program. |
10 | 10 |
|
11 | 11 | _You can leave the default main function as it is. Customize it if you want._ |
12 | 12 |
|
13 | | - |
| 13 | + |
14 | 14 |
|
15 | 15 | ## Generate an address |
16 | 16 |
|
17 | 17 | Click the "Address" button to copy the address of your program to the clipboard. |
18 | 18 |
|
19 | 19 | Leave the web IDE tab open. You will need it later. |
20 | 20 |
|
21 | | - |
| 21 | + |
22 | 22 |
|
23 | 23 | ## Fund the address |
24 | 24 |
|
25 | 25 | Paste the address into [the Liquid testnet faucet](https://liquidtestnet.com/faucet) and press the "Send assets" button. |
26 | 26 |
|
27 | | - |
| 27 | + |
28 | 28 |
|
29 | 29 | Copy the ID of the funding transaction to your clipboard. |
30 | 30 |
|
31 | | - |
| 31 | + |
32 | 32 |
|
33 | 33 | ## Look up the funding transaction |
34 | 34 |
|
35 | 35 | Paste the ID of the funding transaction into the [Blockstream Explorer for Liquid testnet](https://blockstream.info/liquidtestnet/). |
36 | 36 |
|
37 | | - |
| 37 | + |
38 | 38 |
|
39 | | -Scroll down and find the Simfony UTXO. The Liquid testnet faucet always sends 100000 tL-BTC. In our example, the Simfony UTXO is vout = 1. |
| 39 | +Scroll down and find the SimplicityHL UTXO. The Liquid testnet faucet always sends 100000 tL-BTC. In our example, the SimplicityHL UTXO is vout = 1. |
40 | 40 |
|
41 | | - |
| 41 | + |
42 | 42 |
|
43 | 43 | ## Enter UTXO data into the web IDE |
44 | 44 |
|
45 | 45 | Enter the ID of the funding transaction and the vout into the web IDE. |
46 | 46 |
|
47 | 47 | _You can leave the remaining fields as they are. Feel free to customize._ |
48 | 48 |
|
49 | | - |
| 49 | + |
50 | 50 |
|
51 | 51 | ## Sign the spending transaction |
52 | 52 |
|
53 | | -Click the "Sig 0" button to generate a signature for a transaction that spends the Simfony UTXO. |
| 53 | +Click the "Sig 0" button to generate a signature for a transaction that spends the SimplicityHL UTXO. |
54 | 54 |
|
55 | | - |
| 55 | + |
56 | 56 |
|
57 | 57 | Paste the signature into the `mod witness {...}` section. |
58 | 58 |
|
59 | | - |
| 59 | + |
60 | 60 |
|
61 | 61 | ## Generate the spending transaction |
62 | 62 |
|
63 | 63 | Click the "Transaction" button to copy the spending transaction to your clipboard. |
64 | 64 |
|
65 | | - |
| 65 | + |
66 | 66 |
|
67 | 67 | ## Broadcast the spending transaction |
68 | 68 |
|
69 | 69 | Paste the spending transaction into the [Blockstream Liquid testnet explorer](https://blockstream.info/liquidtestnet/tx/push) and click the "Broadcast transaction" button. |
70 | 70 |
|
71 | | - |
| 71 | + |
72 | 72 |
|
73 | | -If everything worked, the explorer will open the broadcast transaction. In this case, congratulations, you made a Simfony transaction on Liquid testnet!!! You can also look up your transaction on [mempool.space](https://liquid.network/testnet). |
| 73 | +If everything worked, the explorer will open the broadcast transaction. In this case, congratulations, you made a SimplicityHL transaction on Liquid testnet!!! You can also look up your transaction on [mempool.space](https://liquid.network/testnet). |
74 | 74 |
|
75 | 75 | If you see an error message, take a look at the following "Troubleshooting" section. |
76 | 76 |
|
@@ -126,7 +126,7 @@ The fee consumes the entire input value. Decrease the fee. |
126 | 126 |
|
127 | 127 | A Simplicity jet fails. |
128 | 128 |
|
129 | | -Double-check the conditions that your Simfony program enforces. Update the witness data or transaction parameters. |
| 129 | +Double-check the conditions that your SimplicityHL program enforces. Update the witness data or transaction parameters. |
130 | 130 |
|
131 | 131 | Every time you change the transaction parameters, the signature hash of the transaction changes. In this case, you need to **regenerate signatures** using the "Key Store" tab. |
132 | 132 |
|
|
0 commit comments