![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
sbtc-bridge-lib
Advanced tools
Decentralised protocol for depositing and withdrawing bitcoin on the Stacks blockchain.
This library is intended to be used by app developers to build sBTC applications.
For more information on the sBTC project see;
The sbtc-bridge-lib can be installed via npm registry;
npm install sbtc-bridge-lib
npm install sbtc-bridge-lib
npm install
npx tsc
npm publish
Builds the PSBT the user signs to initiate deposit via op_return
Builds the PSBT the user signs to initiate deposit via op_drop
Builds the PSBT the user signs to initiate withdrawal via op_return
Builds the PSBT the user signs to initiate withdrawal via op_drop
Builds the data to be transmitted in a deposit request
Builds the data to be transmitted in a deposit request via op_drop mechanism
Builds the data to be transmitted in a withdraw request
Builds the data to be transmitted in a commit/reveal withdraw request
Takes raw transaction hex extracts the sBTC data and returns it in a PayloadType
The data the user needs to sign to issue a withdrawal request
Converts taproot script and leaf data structure to hex for easy storage.
Creates a deep clone of the taproot script path data.
getAddressFromOutScript converts a script to an address
converts compressed public key to x-only form for schnorr compatibility
Converts the sBTC peg wallet public key to a taproot segwit v2 address.
Adapted from Medium article
generateMerkleRoot calculates the merkle root of the passed in txid hashes
generateMerkleTree calculates the merkle root of the passed in txid hashes
generateMerkleProof calculates the merkle proof of the passed in txid and hashes
FAQs
Library for sBTC Bridge web client and API apps
The npm package sbtc-bridge-lib receives a total of 0 weekly downloads. As such, sbtc-bridge-lib popularity was classified as not popular.
We found that sbtc-bridge-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.