merge conflict

This commit is contained in:
fbock
2024-05-13 17:51:45 +02:00
3 changed files with 60 additions and 55 deletions

View File

@ -1,18 +1,22 @@
{ {
"main": { "main": {
"id": "80a386d23cb49933", "id": "76683aed2c650663",
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "c01e7ef9b6783479", "id": "beaad7e2dbdb6c54",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "117cb3f7c46e67c9", "id": "1982ff791d557542",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "empty", "type": "markdown",
"state": {} "state": {
"file": "Research/Implementation/Libraries.md",
"mode": "source",
"source": false
}
} }
} }
] ]
@ -21,15 +25,15 @@
"direction": "vertical" "direction": "vertical"
}, },
"left": { "left": {
"id": "e6a26e5c5b019a1e", "id": "1f18a06ed3171922",
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "3f3159116396a08c", "id": "11e472dd0e54a674",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "35cfcb845e434840", "id": "6f7c037acc5d6b50",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "file-explorer", "type": "file-explorer",
@ -39,7 +43,7 @@
} }
}, },
{ {
"id": "0e07985fb8283f1e", "id": "5dec62ac9c33787e",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "search", "type": "search",
@ -54,7 +58,7 @@
} }
}, },
{ {
"id": "738df028c16ab1b9", "id": "573dc2630a59cc16",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "bookmarks", "type": "bookmarks",
@ -65,22 +69,23 @@
} }
], ],
"direction": "horizontal", "direction": "horizontal",
"width": 329.5 "width": 300
}, },
"right": { "right": {
"id": "5f13d93e126071cf", "id": "218b4a302bff5924",
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "985598abe7b3b823", "id": "a083e155ae31f912",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "dc77dc1e126c6c92", "id": "16a07ffa6259c80e",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Research/Implementation/Libraries.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -92,18 +97,19 @@
} }
}, },
{ {
"id": "1cfcab3d82b07a15", "id": "10c5e5ed647927e5",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "Research/Implementation/Libraries.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} }
} }
}, },
{ {
"id": "d24ff84f08dd4825", "id": "51b24aa8f245d50e",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "tag", "type": "tag",
@ -114,11 +120,13 @@
} }
}, },
{ {
"id": "623d6cb84168c727", "id": "839ebdb69d764b83",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "outline", "type": "outline",
"state": {} "state": {
"file": "Research/Implementation/Libraries.md"
}
} }
} }
] ]
@ -132,45 +140,12 @@
"hiddenItems": { "hiddenItems": {
"switcher:Open quick switcher": false, "switcher:Open quick switcher": false,
"graph:Open graph view": false, "graph:Open graph view": false,
"daily-notes:Open today's daily note": false,
"canvas:Create new canvas": false, "canvas:Create new canvas": false,
"daily-notes:Open today's daily note": false,
"templates:Insert template": false, "templates:Insert template": false,
"command-palette:Open command palette": false "command-palette:Open command palette": false
} }
}, },
"active": "117cb3f7c46e67c9", "active": "1982ff791d557542",
"lastOpenFiles": [ "lastOpenFiles": []
"Research/Trade Pipelines/new concepts/random pipeline 1 tbd.canvas",
"Research/Trade Pipelines/current trade flow.canvas",
"Research/Bitcoin fundamentals/Knowledge sources.md",
"Research/Bitcoin fundamentals/Signature and Flags.canvas",
"Research/Implementation/Libraries.md",
"Research/Trade Pipelines/Existing research.md",
"signet-instance.md",
"Research/Trade Pipelines/new concepts/Untitled.md",
"Research/Trade Pipelines/new concepts",
"Research/Bitcoin fundamentals/Taproot output structure.canvas",
"assets/anyonecanpay.webp",
"Research/Bitcoin fundamentals/Spending Taproot UTXOs.md",
"Research/Implementation/UI ideas.canvas",
"assets/sighash_flags.webp",
"assets/DER_encoded_signature.webp",
"assets",
"assets/onchain_lightning_switch_screenshot.png",
"assets/advanced_trade_mode_switch.png",
"Research/Implementation/Untitled.md",
"Project Timeline.md",
"2024-05-08.md",
"Obsidian How-To.md",
"Research/Bitcoin fundamentals/Miniscript.md",
"Research/Bitcoin fundamentals",
"Research/Trade Pipelines",
"Research/Implementation",
"Research/Untitled.md",
"Research/Bitcoin&Taproot",
"Research",
"Welcome.md",
"note.md",
"Ctrl+N.md"
]
} }

View File

@ -34,6 +34,8 @@ We can use Descriptors/Miniscript to precisely and human readable describe the T
#### Websites #### Websites
* [Miniscript introduction/compiler/specification](https://bitcoin.sipa.be/miniscript/) * [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)
### <u>Signature/Pubkey aggregation</u> ### <u>Signature/Pubkey aggregation</u>
@ -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) [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) [Signature Hash Flags Medium Article - enigbe ochekliye](https://enigbe.medium.com/signature-hash-flags-f059d035ddd0)
### <u>How to make taproot transactions? (Example transactions)</u>
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)

View File

@ -21,4 +21,15 @@ MuSig2 allows groups of mutually distrusting parties to cooperatively sign data
## [frost crate](https://github.com/ZcashFoundation/frost) ## [frost crate](https://github.com/ZcashFoundation/frost)
This should work with bitcoin as it supports secp256k1. 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. 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