added some resources, a library

This commit is contained in:
aaravm
2024-05-13 17:15:41 +05:30
parent 603a0846af
commit 40fae85c5f
3 changed files with 44 additions and 18 deletions

View File

@ -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",

View File

@ -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)
### <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)
[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

@ -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.
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