12-25-2024
BSV
$57.15
Vol 23.22m
-0.4%
BTC
$98520
Vol 45669.13m
1.82%
BCH
$465.44
Vol 242.16m
-1.58%
LTC
$109.1
Vol 600.61m
-0.51%
DOGE
$0.33
Vol 3184.38m
-0.01%
Getting your Trinity Audio player ready...

sCrypt has released their first premium feature in efforts to monetize, a Script-level debugging tool. Developers can inspect exactly which higher level sCrypt code correlates to which Bitcoin opcodes which should enable experimentation, functionality and perhaps most importantly less bugs.

sCrypt code
Source: Medium

Bitcoin Script is notoriously low-level and difficult to read for those unfamiliar with more archaic, stack-based programming languages, so this tool will be extremely helpful for developers looking to learn the Forth-like syntax. The release of this feature is well-timed as it comes one month after a bugged script resulted in a theft of a significant amount of money.

The Bitcoin SV chain endured yet another social engineering attack after developer Aaron Zhou lost 600 BSV due to a bugged multi-signature implemented in desktop wallet Electrum SV. The typical characters (Adam Back and Greg Maxwell) went on the offensive with techno-speak and misinformation meant to frame the entire chain as insecure while patting themselves on the back for the implementation of the unnecessary Pay to script hash (P2SH).

The Coindesk article tries to frame this is as an innate flaw with the BSV protocol and ledger itself, yet Maxwell himself contradicts this by stating that this bug could have been avoided with ‘the most basic testing or review’ of the script.

If it ain't broke, don't fix it
Source: Coindesk

With great power comes great responsibility. Rather than limit the chain with a handful of transaction types that only the BTC Core developers approve of, Bitcoin SV chose the riskier path of innovation by enabling any type of script—valid or not. This means that scripts can have bugs which can result in potential theft or worse, burnt funds that cannot be recovered if not implemented properly.

This particular script was bugged such that anyone could provide the solution “0 0” for the transaction to ‘unlock’ or claim the funds. The tools sCrypt are building hopefully can reduce the frequency of these mistakes in the future.

The new debugging feature requires a license that must be purchased from sCrypt. Per their Slack group, the license costs $10. Developers interested can send a Baemail to [email protected] to purchase.

Given that a license is required to use this tool one could foresee a future where experimental scripts must be certified by one who ran through a certain threshold of unit tests via the debugger to establish credibility and trust. The licenses are also issued via Baemail meaning services who do implement new scripts could cryptographically prove ownership along with proof of successful tests (transaction IDs) of those scripts on-chain.

This concept is interesting given the discussion around a ‘Bitcoin Script Engineer’ emerging—this could be the first step in establishing that position. This innovation could also position sCrypt as a Microsoft-like organization with expertise in script programming techniques and software. The aforementioned Slack group is already a valuable place of discussion around scripting techniques.

Visual Studio Professional Subscription
Source: Microsoft

Sale of development licenses are a common practice in the industry and demonstrate that sCrypt has skin in the game while placing a value on their service. I look forward to the interesting ways sCrypt will monetize their expertise in the future.

Check out the Visual Studio Code extension here: https://marketplace.visualstudio.com/items?itemName=bsv-scrypt.sCrypt

Recommended for you

Google unveils ‘Willow’; Bernstein downplays quantum threat to Bitcoin
Google claims that Willow can eliminate common errors associated with quantum computing, while Bernstein analysts noted that Willow’s 105 qubits...
December 18, 2024
WhatsOnChain adds support for 1Sat Ordinals with new API set
WhatsOnChain now supports the 1Sat Ordinals with a set of APIs in beta testing; with this new development, developers can...
December 13, 2024
Advertisement
Advertisement
Advertisement