Skip to content

bitcoin-sv/sol2scrypt

Repository files navigation

sol2scrypt: A Solidity to sCrypt Transpiler

Build Status

Install

Easies way to install is to download from Releases.

Usage

> sol2scrypt transpile --help                
Usage: sol2scrypt transpile [-o|--output-dir OUTPUTDIR] [FILE] [-F|--force]
                            
  Transpile Solidity FILE to sCrypt

Available options:
  -o,--output-dir OUTPUTDIR
                           Output directory if given, output to stdout if none given
  FILE                     Source file path. Take source file content from stdin
                           if none given
  -F,--force               Whether to output scrypt code despite errors
  -h,--help                Show this help text


> sol2scrypt transpile examples/Coin/Coin.sol -o ~/tmp
transpile result written to `/Users/foo/tmp/Coin.scrypt`

Documentation

A cheatsheet for currently un/supported features. Examples can be found at tests.