A Running list of bdk-cli demo ideas

未關閉
#111 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 4 天內回覆

@rajarshimaitra 已經在處理了。

開始於 2022年7月28日。

評估

這個 Issue 還沒有評估資料。

描述

discussion

with the regtest-* features and bdk-cli repl mode various multisig and other smart contracting situations can be demonstrated with bdk-cli..

Examle: Show an workflow of a Liquid like federation using a corresponding descriptor and bdk cli.

These demos can be recorded in various forms.

  • Tutorial on the website.
  • A demo videos in the youtube channel.
  • Add it as a integration tests as both code level demo as well as consistency of these workflows with BDK API.

The general approach for a trial can be something like this

  • Use the https://min.sc/ compiler to create your own weird descriptor.
  • Split the descriptor for different parties involved in the compiler
  • Start multiple wallet repl terminals with each parties descriptor. They will default connect to a single regtest node so all parties will be in sync
  • Play around making transactions for various contract situations..

With this in mind we can start making a list of such interesting smart contracting situations with bitcoin scripts and demonstrate them out through BDK. Below is a list of basic ideas I imagined. Please comment below with more interesting contract ideas.

  • Basic demo of a single sig wallet. (An test version of this is included in #102 )
  • Basic 2-of-3 multisig demo
  • Multisig with time locks. Something like @sandipndev cooked here.
  • A Liquid like federation demo
  • An HTLC lighting contract demo. Playing out what exactly happens with with lighting state updates and penalty mechanisms.
主要語言
Rust
星號
143
分支
109
平均合併
7 天 20 小時
30 天內合併 PR
6

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

bitcoindevkit/bdk-cli 的其他 Issue

查看 bitcoindevkit/bdk-cli 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。