diff --git a/docs/TapTrade_obs/.obsidian/workspace.json b/docs/TapTrade_obs/.obsidian/workspace.json
index feb8fc0..626b5e3 100644
--- a/docs/TapTrade_obs/.obsidian/workspace.json
+++ b/docs/TapTrade_obs/.obsidian/workspace.json
@@ -11,14 +11,11 @@
"id": "4cb88f1468c68f7e",
"type": "leaf",
"state": {
- "type": "canvas",
+ "type": "markdown",
"state": {
- "file": "Research/Trade Pipelines/current trade flow.canvas",
- "viewState": {
- "x": 525.2459763356514,
- "y": -31.37831648394331,
- "zoom": -1.4335164388020833
- }
+ "file": "Research/Implementation/Libraries.md",
+ "mode": "source",
+ "source": false
}
}
}
@@ -72,8 +69,7 @@
}
],
"direction": "horizontal",
- "width": 329.5,
- "collapsed": true
+ "width": 329.5
},
"right": {
"id": "5f13d93e126071cf",
@@ -89,7 +85,7 @@
"state": {
"type": "backlink",
"state": {
- "file": "Research/Trade Pipelines/current trade flow.canvas",
+ "file": "Research/Implementation/Libraries.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -106,7 +102,7 @@
"state": {
"type": "outgoing-link",
"state": {
- "file": "Research/Trade Pipelines/current trade flow.canvas",
+ "file": "Research/Implementation/Libraries.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
@@ -129,7 +125,7 @@
"state": {
"type": "outline",
"state": {
- "file": "Research/Trade Pipelines/current trade flow.canvas"
+ "file": "Research/Implementation/Libraries.md"
}
}
}
@@ -152,15 +148,15 @@
},
"active": "4cb88f1468c68f7e",
"lastOpenFiles": [
- "Research/Implementation/Libraries.md",
- "Research/Trade Pipelines/new concepts/random pipeline 1.canvas",
- "signet-instance.md",
+ "Research/Bitcoin fundamentals/Knowledge sources.md",
+ "Research/Trade Pipelines/Existing research.md",
"Research/Trade Pipelines/current trade flow.canvas",
+ "Research/Trade Pipelines/new concepts/random pipeline 1.canvas",
+ "Research/Implementation/Libraries.md",
+ "signet-instance.md",
"Research/Trade Pipelines/new concepts/Untitled.md",
"Research/Trade Pipelines/new concepts",
- "Research/Trade Pipelines/Existing research.md",
"Research/Bitcoin fundamentals/Taproot output structure.canvas",
- "Research/Bitcoin fundamentals/Knowledge sources.md",
"Research/Bitcoin fundamentals/Signature and Flags.canvas",
"assets/anyonecanpay.webp",
"Research/Bitcoin fundamentals/Spending Taproot UTXOs.md",
diff --git a/docs/TapTrade_obs/Research/Bitcoin fundamentals/Knowledge sources.md b/docs/TapTrade_obs/Research/Bitcoin fundamentals/Knowledge sources.md
index b2e1c57..165ed54 100644
--- a/docs/TapTrade_obs/Research/Bitcoin fundamentals/Knowledge sources.md
+++ b/docs/TapTrade_obs/Research/Bitcoin fundamentals/Knowledge sources.md
@@ -34,6 +34,8 @@ We can use Descriptors/Miniscript to precisely and human readable describe the T
#### Websites
* [Miniscript introduction/compiler/specification](https://bitcoin.sipa.be/miniscript/)
+* [https://bitcoinops.org/en/preparing-for-taproot/#taproot-descriptors](https://bitcoinops.org/en/preparing-for-taproot/#taproot-descriptors)
+
### Signature/Pubkey aggregation
@@ -58,3 +60,20 @@ It's possible to construct a transaction with multiple inputs/outputs from diffe
[Blog article on Sighashes - good examples - Raghav Sood](https://raghavsood.com/blog/2018/06/10/bitcoin-signature-types-sighash)
[Signature Hash Flags Medium Article - enigbe ochekliye](https://enigbe.medium.com/signature-hash-flags-f059d035ddd0)
+
+
+
+### How to make taproot transactions? (Example transactions)
+
+
+
+https://github.com/danielabrozzoni/multisigs_and_carrots (Best Example I could find)
+
+https://bitcoindevkit.org/blog/2021/11/first-bdk-taproot-tx-look-at-the-code-part-1/ (Interesting read)
+
+https://github.com/bitcoin-core/btcdeb/blob/master/doc/tapscript-example-with-tap.md (Good code for spending taproot transactions)
+
+https://dev.to/eunovo/a-guide-to-creating-taproot-scripts-with-bitcoinjs-lib-4oph (Can look at this, this uses bitcoinjs-lib to create taproot scripts)
+
+
+
diff --git a/docs/TapTrade_obs/Research/Implementation/Libraries.md b/docs/TapTrade_obs/Research/Implementation/Libraries.md
index 0b6a813..6d5fb77 100644
--- a/docs/TapTrade_obs/Research/Implementation/Libraries.md
+++ b/docs/TapTrade_obs/Research/Implementation/Libraries.md
@@ -18,4 +18,15 @@ MuSig2 allows groups of mutually distrusting parties to cooperatively sign data
## [frost crate](https://github.com/ZcashFoundation/frost)
This should work with bitcoin as it supports secp256k1.
-IIUC frost supports schnorr treshold signatures, unlike N-of-N in MuSig2, Frost can do M-of-N.
\ No newline at end of file
+IIUC frost supports schnorr treshold signatures, unlike N-of-N in MuSig2, Frost can do M-of-N.
+
+
+## [bitcoinjs-lib](https://github.com/bitcoinjs/bitcoinjs-lib?tab=readme-ov-file)
+
+
+
+A javascript Bitcoin library for node.js and browsers. Written in TypeScript, but committing the JS files to verify.
+
+
+
+Can look at this library. Example taproot spending using bitcoinjs-lib: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/test/integration/taproot.spec.ts
\ No newline at end of file