ethereum/remixd

Name: remixd

Owner: ethereum

Description: remix server

Created: 2017-05-29 16:46:40.0

Updated: 2018-05-18 06:33:43.0

Pushed: 2018-04-13 00:29:02.0

Homepage:

Size: 51

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Remixd

Remixd is a tool that intend to be used with Remix IDE (aka. Browser-Solidity). It allows a websocket connection between Remix IDE (web application) and the local computer.

Practically Remix IDE make available a folder shared by Remixd.

More details are explained in this tutorial.

Alternatively Remixd can be used to setup a developement environment that can be used with other popular frameworks like Embark, Truffle, Ganache, etc..

Remixd needs npm and node

INSTALLATION

npm install -g remixd

HELP SECTION
age: remixd -s <shared folder>

ovide a two ways connection between the local computer and Remix IDE.


tions:

-s, --shared-folder <path>            Folder to share with Remix IDE
-m, --mist                            start mist
-g, --geth                            start geth
-p, --dev-path <dev-path>             Folder used by mist/geth to start the development instance
-f, --frontend <front-end>            Folder that should be served by remixd
-p, --frontend-port <front-end-port>  Http port used by the frontend (default 8082)
-a, --auto-mine                       mine pending transactions
-r, --rpc <cors-domains>              start rpc server. Values are CORS domain
-rp, --rpc-port                       rpc server port (default 8545)
-h, --help                            output usage information
SHARE A FOLDER

remixd -s <absolute-path>

The current user should have read/write access to the folder (at least read access).

It is important to notice that changes made to the current file in Remix IDE are automatically saved to the local computer every 5000 ms. There is no Save action. But the Ctrl-Z (undo) can be used.

Furthermore :

START GETH, MIST and setup a developement environment

Remix allows to start a dev environment. Geth is used to spawn a dev blockchain and Mist to provide an user interface to interact with dapps in developement and Remix IDE (It is also possible to use Metamask and a normal browser)

Mist and Geth are not shipped with Remixd.

Download Mist at https://github.com/ethereum/mist/releases

Downloaf Geth at https://ethereum.github.io/go-ethereum/downloads

Usage:

remixd --dev-path /home/devchains/chain1 --mist --geth --frontend /home/frontend --frontend-port 8084 --auto-mine


remixd -s /home/user/project1/contracts


remixd --dev-path /home/devchains/chain1 --rpc --rpc-port 8545 --geth --frontend /home/frontend --frontend-port 8084 --auto-mine


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.