Giter Site home page Giter Site logo

andrecronje / ethdeploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loomnetwork/ethdeploy

1.0 2.0 0.0 11.55 MB

Ethdeploy is a platform for spinning up cloud based blockchains. Unrelated to dAppChains

Home Page: https://loomx.io

License: GNU General Public License v3.0

JavaScript 62.80% CSS 29.90% Shell 0.07% Go 7.24%

ethdeploy's Introduction

EthDeploy

Ethdeploy is a system that allows for cloud based 'staging' or 'development' environments for blockchains. The actual service is in private beta. Its simply an easy way for people to have a private Ethereum blockchain, since Ropsten Test network can be unstable at times. It is written in Go with a pure JS frontend. It requires Kubernetes to run, older builds supported Nomad but that is no longer supported.

This project is only lightly updated, as we are currently focused on dAppChain tech. The code is licensed under GPLv3.

API Server

Simple Rest API using gin(framework) & gorm(orm) server runs at http://localhost:8080

Setup

glide install
mysql -u root -p -e "create database loom"
go get github.com/loomnetwork/fresh

For Local Development

Install hot reload server

go get fresh

Run

Without hot reloading

LOG_LEVEL=debug BETA_MODE=true INVITE_MODE=false  go run main.go

With hot reloading

fresh

asset pipeline

gulp #to compile it once
gulp watch #to do autoreload

config options

Beta mode disables security and opens all features even just uncompleted ones

BETA_MODE=true

Invite mode requires people to be whitelisted before they can login

INVITE_MODE=false

Web3 proxy info

to get public/private keys

curl -XPOST localhost:8081/_loom/accounts

to make web3 requests

curl -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' localhost:8081/

###to run in fresh

first time

mkdir -p tmp
rm -rf tmp/testrpc ; true
cd tmp
git clone https://github.com/loomnetwork/testrpc.git
cd testrpc
git checkout save-keys
cd .. 
cd ..

after that

fresh -c proxy_runner.conf

or

PRIVATE_KEY_JSON_PATH=tmp/testrpc/data.json SPAWN_NETWORK="/usr/local/bin/node tmp/testrpc/build/cli.node.js" PRE_KILL=true go run cmd/rpc_proxy/rpc_proxy.go

ethdeploy's People

Contributors

mattkanwisher avatar lukezhangstudio avatar meson10 avatar nishantmodak avatar chinmay185 avatar

Stargazers

Roman Sivakov avatar

Watchers

Andre Cronje avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.