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: 6 days ago
JSON representation
Ethereum Solidity REPL
- Host: GitHub
- URL: https://github.com/raineorshine/solidity-repl
- Owner: raineorshine
- License: isc
- Created: 2016-06-13T04:55:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-18T01:31:14.000Z (over 3 years ago)
- Last Synced: 2024-12-30T10:24:25.380Z (12 days ago)
- Topics: ethereum, solidity
- Language: JavaScript
- Size: 521 KB
- Stars: 398
- Watchers: 16
- Forks: 31
- Open Issues: 8
-
Metadata Files:
- Readme: README-win64.md
- License: LICENSE
Awesome Lists containing this project
- awesome-smart-contracts - raineorshine/solidity-repl - Ethereum Solidity REPL. (Utilities / Audits)
- awesome-solidity - raineorshine/solidity-repl - REPL CLI. (Tools)
- awesome-solidity - raineorshine/solidity-repl - REPL CLI. (Tools)
- awesome-smart-contracts - raineorshine/solidity-repl - Ethereum Solidity REPL. (Utilities)
- awesome-solidity - raineorshine/solidity-repl - REPL CLI. (Tools)
- DeFi-Developer-Road-Map - REPL - Solidity REPL. (Roadmap)
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 bycd 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))