🏁
sBTC Tooling
  • Residency Proposal
  • Residency Extension Proposal
  • Updates
    • sBTC Bridge API
    • Stacks Signer Dashboard
    • Trezor and Ledger Integration
  • Nodes
    • Stacks 2.4
    • Stacks 2.5 - Nakamoto Public Testet
      • Configurations
      • Postgres
    • Stacks 2.5 - Public Testnet
    • Runes
  • Ecosystem DAO
    • Nakamoto SIP Community Vote
      • Counting Votes
  • sBTC Bridge
    • Planning
      • sBTC Bridge User Stories
        • Epic: Currency Support
        • Epic: Deposit Funds
        • Epic: Withdraw Funds
        • Epic: Tracking and History
      • UI/UX Design Plan
      • Risks
        • Commitment Risks
      • sBTC Bridge Phase IV
      • Signer Social Proofs
    • Development
      • CI: sbtc-bridge-web
      • CI: sbtc-bridge-api
      • Testing
        • Test Vectors
        • Withdrawal Data
        • Alpha Romeo
        • Reclaim Issue
        • Running Electrumx
    • Ordinals
      • Indexers
  • sBTC Signer Dashboard
    • Planning
      • Requirements Overview
    • Development
      • sBTC Bridge on Regtest
      • sBTC Mini Devnet
        • Stacking Pools
      • Mongo Queries
      • Signer Binary
Powered by GitBook
On this page
  • August 7th
  • July 25th
  • July 18th
  • June 26nd
  • June 22nd
  • June 12nd
  • June 2nd
  • May 26th
  • May 19th
  • May 12th
  • May 5th
  • April 28th
  • April 21st

Updates

See Specific updates for each Bounty

PreviousResidency Extension ProposalNextsBTC Bridge API

Last updated 1 year ago

August 7th

Separate sBTC alpha deployment

Currency support in UI

Separate sBTC alpha deployment

Feat/55 signer api microservice

Withdrawal and deposit payloads for sBTC Alpha

July 25th

Several days debugging byte array and hex strings with @netrome. hard work paid off - led to first successfuly sBTC Alpha withdrawal:

July 18th

  • Testing and improvements of the withdrawal for op_return see and

  • Currency support - see

June 26nd

June 22nd

June 12nd

Stacks Signer Dashboard Bounty - made a start on the web app - setup the GitHub repo. Reusing the Design for the Bridge but with some minor modifications. Hosting the app so it interlinks seamlessly with the Bridge but exists in different code base.

June 2nd

May 26th

The keys are able to spend the reveal and reclaim script paths generated by the deposit. Having them as custodial keys means;

a) the bridge can generate test reveal transaction b) the bridge can refund users bitcoin if no spent by the reveal

The corresponding public keys are accessible from the API via;

Two paths;

  • /reclaims

  • /reclaims/reclaim/_id

the former displays deposits and provides filters (tbd). The latter provides buttons to integrate with Stacks Web Wallets, details about the transactions and displays raw PSBT data in hex and b64 encoding for copying to wallet software.

May 19th

  • building and parsing deposit payloads

  • building and parsing withdrawal payloads

  • signing, hashing and recovering public keys from signatures

  • commitment witness data

15th - Wrote some User Stories for the deposit and withdraw flows and setup Trello Kanban board.

May 12th

Following reveal transaction (using op_drop and taproot) has been tested on Bitcoin testnet.

The example below uses an internal random private key for signing and pays the reveal and reclaim paths to Schnorr pubkeys;

revealPub: schnorr.getPublicKey(testWallets[0].privateKey) as Uint8Array,
reclaimPub: schnorr.getPublicKey(testWallets[1].privateKey) as Uint8Array,

With following script

const scripts =  [
    { script: btc.Script.encode([data, 'DROP', revealPubK, 'CHECKSIG']) },
    { script: btc.Script.encode([reclaimPubK, 'CHECKSIG']) }
]
const script = btc.p2tr(btc.TAPROOT_UNSPENDABLE_KEY, scripts, this.net, true);

Still to do;

  • reclaim transaction

  • make the reclaim payable to any segwit (v0 or v1) address

  • prove this works for general taproot address, and

  • show arbitrary wallets can sign the reveal/reclaim transactions

  1. [14:45]BTW Sparrow Wallet is amazing if you haven't tried it - great feedback.

  2. [14:47]i've not worried too much aboiut the stacks data as yet and need to make this work for a general pubkey and not just a random private key but getting there...

May 5th

  • Finished off CI - staging branch s now default for PRs - serves as a safety latch for production builds.

April 28th

  • Switching the commit tx from p2wsh to p2tr. Mostly learning taproot/tapscript. Adjusted the ui and api to handle the tapscript data

  • Writing a blog post on this experience - working title “sBTC Commit Transactions”

April 21st

  • What do we want to achieve this week?

    • Working on the p2tr commitment transaction.

    • Trying to figure out how to build the PSBT to spend the script paths from the pegin.

  • Which blockers must be resolved to achieve this?

    • Reach out to dev working on Electrum plugin

    • pato2k5@gmail.com setpato#7961

- UX feedback - remove all mention of satoshi

Finished - adds efficient endpoints for the UI and endpoints to support electrum plugin for building the taproot commitment and payload data.

Merged - improvements to deposit and withdrawals for both op_drop and op_return

Merged Design Implementation

Implementing Maximes' . Tracked by and rebuild the UI using Tailwind (replacing use of Bootstrap) for a modern design.

Two ( and ) PRs move a set of key pairs into the server - accessible via environment vars on the target machine.

Raised with Hiro web wallet on signing the psbt for the reclaim.

PRs and on web / api respec. These deal with tracking commit / reveal / reclaim transactions starting from the initial user commitment. The status of the overall flow is shown to the user along with the ability to generate PSBTs for both reclaim and reveal (the latter for testing purposes).

19th merged two PRs related to . Creates a shared lib for the web and api projects containing the common functions;

16th - Dealing with on 0 padding of the stacks payload data and fine tuning of the deposit parameters - see also .

Details from in discord;

Making progress now see

[14:45]Marvin you were right about the op code - this tx has OP_CHECKSIG at the end. See pic..

[14:48]for completeness the commit to the above is

- Commitment transaction. Exploring ways to build the reclaim and reveal script paths. Committed whch tidies up code around buildng the commit tx. Several option exist but they wll be rationalised in later PR.

Created a on the Mini sBTC pegin requirements.

Design issues:

PR 202
PR 200
PR 59
PR 56
PR 53
PR 193
https://twitter.com/radicleart/status/1683801378668396545
discord
Issue 187
PR 185
PR 158
Bridge API PR 34
PR 155
PR 154
Design System
Issue 145
Web
API
https://testnet.stx.eco/bridge-api/testnet/v1/btc/tx/keys
Issue 3742
141
31
Create typescript Bridge library
https://github.com/Trust-Machines/core-eng/issues/341
https://github.com/Trust-Machines/core-eng/pull/339#discussion_r1194208407
this thread
https://mempool.space/testnet/address/tb1p5yh4frytaszrkng0xs0tjdnmg9806d4arrl9emxdtaxj9g8zrgjqxpunh0
Issue 105
PR 105
risk assessment
https://trustlessbridge.io/
https://mempool.space/testnet/tx/0d3b60a186ebc92b9ee7a1905a44479cc9217d576ce803429ed553378620a416
Bitcoin Testnet Transaction: 0d3b60a186ebc92b9ee7a1905a44479cc9217d...
Image
Bitcoin Testnet Transaction: 0d3b60a186ebc92b9ee7a1905a44479cc9217d...