Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scryptc

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scryptc - npm Package Versions

123

0.1.8

Diff

xhliu
published 0.1.7 •

xhliu
published 0.1.6 •

xhliu
published 0.1.5 •

xhliu
published 0.1.4 •

xhliu
published 0.1.3 •

xhliu
published 0.1.2 •

xhliu
published 0.1.1 •

xhliu
published 0.1.0 •

Changelog

Source

sCrypt 0.1.0

05/05/20
  • Change b"" for bytes literal to b''
02/14/20
  • JavaScript bindings for the compiler: scryptc @npm

  • Multiple contracts in one file

  • Support import dependencies

  • Standard libraries

  • Report multiple compiling errors and do not abort at first error

  • Support contract "reflection" to obtain current tx the contract runs in

  • Support this to access contract variable and method

  • Call contract methods

  • Make constructor optional

  • Public function also returns like other functions, returns (bool) and return true by default if not specified.

  • Improve error messages significantly to help identify source of compiling error; also aggregate similar errors to reduce verbosity

  • Support *** statement to insert OP_CODESEPARATOR

  • Support exit() to terminate contract execution

  • Add pack() and unpack() to convert between int and bytes

  • Change 0x prefix to denote int literal in hex and b"" for bytes literal

  • Rename size() to len()

  • Add type PrivKey

  • Overload == for int and bytes

  • Support OP_PUSHDATA2 and OP_PUSHDATA4

  • Improve scryptc CLI

    • output script as json
    • output AST json as well
    • output to a specified directory
    • output dependency ASTs
    • output debug mode for more info, besides script
    • input from stdin
  • Numerous bug fixes and refactorings

    • minimally encode int
    • lower S in DER signature
    • throw when OP_PUSHDATA data exceeding 4GB
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc