Registry / devops / scryptc

scryptc

JSON →
library0.2.9jsnpmunverified

Command-line compiler for sCrypt, a high-level smart contract language targeting Bitcoin SV. The latest version is 0.2.9. Development is active with periodic releases. Key differentiator: it compiles to Bitcoin Script, enabling on-chain smart contracts with a C-style syntax. No major alternatives exist for Bitcoin SV smart contracts.

npm install scryptc
INSTALL
IMPORT
SIG · SCRYPTC
S
scryptc
devopsjavascriptv0.2.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import scryptc from 'scryptc'
const scryptc = require('scryptc')
ESM default import; CommonJS require may not work due to missing default export.

Shows global install and basic compilation of an sCrypt contract file.

npm install -g scryptc # Create a contract file (e.g., hello.scrypt) with: contract hello { public function greet(bytes msg) { require(Tx.checkPreimage(msg)); } } # Compile scryptc hello.scrypt
scryptc --version
Debug
Known issues
gotchaGlobal install (-g) is required to use the scryptc CLI command; local install may not expose the binary.
fix
npm install -g scryptc
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'scryptc'
Package not installed or installed locally without -g.
fix
Run `npm install -g scryptc` to install globally.
Upgrade
Version history
0.2.9latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Resources
scryptc — npm install scryptc · libregistry