mirror of
https://github.com/RoboSats/taptrade-core.git
synced 2025-09-12 20:56:28 +00:00
add taproot workshop
This commit is contained in:
19
docs/TapTrade_obs/.obsidian/workspace.json
vendored
19
docs/TapTrade_obs/.obsidian/workspace.json
vendored
@ -11,14 +11,11 @@
|
||||
"id": "bdb9fd88a01a8909",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "canvas",
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
||||
"viewState": {
|
||||
"x": 464.8039744526603,
|
||||
"y": 155.81787780078812,
|
||||
"zoom": -0.45332428088833887
|
||||
}
|
||||
"file": "Research/Bitcoin fundamentals/Knowledge sources.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -88,7 +85,7 @@
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
||||
"file": "Research/Bitcoin fundamentals/Knowledge sources.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
@ -105,7 +102,7 @@
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
||||
"file": "Research/Bitcoin fundamentals/Knowledge sources.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
@ -128,7 +125,7 @@
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas"
|
||||
"file": "Research/Bitcoin fundamentals/Knowledge sources.md"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -151,11 +148,11 @@
|
||||
},
|
||||
"active": "bdb9fd88a01a8909",
|
||||
"lastOpenFiles": [
|
||||
"Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
||||
"Research/Trade Pipelines/new concepts/concept locking script 1.canvas",
|
||||
"Research/Implementation/UI ideas.canvas",
|
||||
"Research/Implementation/Libraries.md",
|
||||
"Research/Implementation/CLI demonstrator architecture/demonstrator architecture.canvas",
|
||||
"Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
||||
"Research/Trade Pipelines/Existing research.md",
|
||||
"Research/Trade Pipelines/current trade flow.canvas",
|
||||
"Research/Implementation/CLI demonstrator architecture",
|
||||
|
@ -24,6 +24,9 @@ Understanding the following BIPs is relevant for the project.
|
||||
* [Introduction to Taproot - Nicolas Dorier - short video](https://www.youtube.com/watch?v=I7HsXKgtD2I)
|
||||
* [Very good, practical introduction to coding taproot Transactions - Bitdevs LA](https://www.youtube.com/watch?v=E-HxgNkPB-8)
|
||||
|
||||
#### Workshop
|
||||
[Bitcoin Optech Schnorr Taproot Workshop](https://bitcoinops.org/en/schorr-taproot-workshop/)
|
||||
|
||||
### <u>Descriptors/Miniscript</u>
|
||||
|
||||
We can use Descriptors/Miniscript to precisely and human readable describe the Transaction outputs of the escrow transaction pipeline. This improves readability and portability of the pipeline.
|
||||
|
16
docs/TapTrade_obs/Research/Implementation/BDK.md
Normal file
16
docs/TapTrade_obs/Research/Implementation/BDK.md
Normal file
@ -0,0 +1,16 @@
|
||||
Loading from .env or environment:
|
||||
|
||||
```
|
||||
use std::env;
|
||||
|
||||
dotenv::from_filename(".env")?;
|
||||
let descriptor = env::var("DESCRIPTOR")?;
|
||||
```
|
||||
|
||||
Creating/loading new Wallet:
|
||||
|
||||
```
|
||||
use bdk::{Wallet, bitcoin::Network};
|
||||
|
||||
|
||||
```
|
Reference in New Issue
Block a user