Inline Script inside sCrypt

Script is a low-level language and acts as assembly for the Bitcoin Virtual Machine. Usually, developers do not have to deal with it directly and can use high-level languages like sCrypt. However, there are cases where using Script is desirable. For example, customized script is optimized and thus more efficient than Script generated by sCrypt. Or Script is generated using external tools like MiniForth and needs to be integrated into sCrypt.

Inline Assembly

We are exciting to introduce inline assembly feature in sCrypt IDE 0.4.0. Users can now directly embed Script into sCrypt source code using assembly representation. An sCrypt function can be written in Script and called like a regular sCrypt function.

Inline p2pkh

For more detailed information, please refer to the documentation. A detailed example has also been added with test cases.

sCrypt Inc (https://scrypt.io) is a company with mission to providing integrated on-chain smart contracting solutions on Bitcoin SV. scrypt@moneybutton.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store