Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/raineorshine/solidity-repl

Ethereum Solidity REPL
https://github.com/raineorshine/solidity-repl

ethereum solidity

Last synced: 3 months ago
JSON representation

Ethereum Solidity REPL

Lists

README

        

# [solidity-repl](https://github.com/raineorshine/solidity-repl) on win64

to be sure: uninstalled node 4.4.2, installed node 4.4.6 with [node-v4.4.6-x64.msi](https://nodejs.org/en/download/)

### OpenSSL

> fatal error LNK1181: cannot open input file 'C:\OpenSSL-Win64\lib\libeay32.lib'

(needed for secp256k1, needed for ethereumjs-util, needed for ethereumjs-testrpc).

Fix: Download [AMD64-Win64OpenSSL-0_9_8g.zip](http://www.indyproject.org/Sockets/fpc/AMD64-Win64OpenSSL-0_9_8g.zip) from e.g. [here](http://www.indyproject.org/Sockets/fpc/OpenSSLforWin64.en.aspx), unpack to `C:\OpenSSL-Win64\` (exact path!)
Solve that `secp256k1-node/binding.gyp` path problem ([line 10](https://github.com/cryptocoinjs/secp256k1-node/blob/d2f18a44da7fc3e5020fc80824ae75012898cd1c/binding.gyp#L10), [line 120](https://github.com/cryptocoinjs/secp256k1-node/blob/d2f18a44da7fc3e5020fc80824ae75012898cd1c/binding.gyp#L120)), either by (explorer: new folder, rename, copy), or by

cd C:\OpenSSL-Win64
mkdir lib
copy libeay32.lib lib

### dependencies

Many, but all embedded now:

### solidity-repl
npm install -g solidity-repl

### run

solr

### example input

Welcome to the Solidity REPL!
> uint a=2**255
> a - 1 + a
1.15792089237316195423570985008687907853269984665640564039457584007913129639935e+77
> a - 1 + a + 1
0

----
created 24/6/2016 by Andreas Krueger ([my github](https://github.com/drandreaskrueger), [my twitter](https://twitter.com/drandreaskruger))