You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When succesful, you'll see an output something like this:
24
+
When successful, you'll see an output something like this:
25
25
26
26
```
27
-
Oracle succesfully registered under ID 1
27
+
Oracle successfully registered under ID 1
28
28
```
29
29
30
30
If the ID is different, because you've experimented with oracles before, make sure you substitute with the correct ID in the commands we use hereafter.
@@ -121,7 +121,7 @@ Oracle value | Our payout | Their payout
121
121
122
122
## Step 4: Sending the contract to the other peer
123
123
124
-
Now that the contract is ready, we can send it to the other peer. We do this by issueing the `dlc contract offer` command, followed by the contract ID and the index of the peer we want to send it to.
124
+
Now that the contract is ready, we can send it to the other peer. We do this by issuing the `dlc contract offer` command, followed by the contract ID and the index of the peer we want to send it to.
125
125
126
126
```
127
127
dlc contract offer 1 1
@@ -237,4 +237,3 @@ You can see that Peer 1 has 10.032185 BTC and peer 2 has 9.96778500 BTC. Both ha
237
237
## Conclusion
238
238
239
239
We executed a discreet log contract using LIT's command line client. If you want to integrate this technology into your own application, or you have a use case that you think could leverage this technology - we also have an RPC client for LIT in [Go](https://github.com/mit-dci/lit-rpc-client-go), [.NET Core](https://github.com/mit-dci/lit-rpc-client-dotnet) and [NodeJS](https://github.com/mit-dci/lit-rpc-client-nodejs) that you can use to issue these commands programmatically. A tutorial on how to do that will follow.
0 commit comments