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", "id": "4cb88f1468c68f7e",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "canvas", "type": "markdown",
"state": { "state": {
"file": "Research/Trade Pipelines/current trade flow.canvas", "file": "Research/Implementation/Libraries.md",
"viewState": { "mode": "source",
"x": 525.2459763356514, "source": false
"y": -31.37831648394331,
"zoom": -1.4335164388020833
}
} }
} }
} }
@ -72,8 +69,7 @@
} }
], ],
"direction": "horizontal", "direction": "horizontal",
"width": 329.5, "width": 329.5
"collapsed": true
}, },
"right": { "right": {
"id": "5f13d93e126071cf", "id": "5f13d93e126071cf",
@ -89,7 +85,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Research/Trade Pipelines/current trade flow.canvas", "file": "Research/Implementation/Libraries.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -106,7 +102,7 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "Research/Trade Pipelines/current trade flow.canvas", "file": "Research/Implementation/Libraries.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} }
@ -129,7 +125,7 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "Research/Trade Pipelines/current trade flow.canvas" "file": "Research/Implementation/Libraries.md"
} }
} }
} }
@ -152,15 +148,15 @@
}, },
"active": "4cb88f1468c68f7e", "active": "4cb88f1468c68f7e",
"lastOpenFiles": [ "lastOpenFiles": [
"Research/Implementation/Libraries.md", "Research/Bitcoin fundamentals/Knowledge sources.md",
"Research/Trade Pipelines/new concepts/random pipeline 1.canvas", "Research/Trade Pipelines/Existing research.md",
"signet-instance.md",
"Research/Trade Pipelines/current trade flow.canvas", "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/Untitled.md",
"Research/Trade Pipelines/new concepts", "Research/Trade Pipelines/new concepts",
"Research/Trade Pipelines/Existing research.md",
"Research/Bitcoin fundamentals/Taproot output structure.canvas", "Research/Bitcoin fundamentals/Taproot output structure.canvas",
"Research/Bitcoin fundamentals/Knowledge sources.md",
"Research/Bitcoin fundamentals/Signature and Flags.canvas", "Research/Bitcoin fundamentals/Signature and Flags.canvas",
"assets/anyonecanpay.webp", "assets/anyonecanpay.webp",
"Research/Bitcoin fundamentals/Spending Taproot UTXOs.md", "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 #### 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

@ -19,3 +19,14 @@ MuSig2 allows groups of mutually distrusting parties to cooperatively sign data
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