Git Product home page Git Product logo

open-eth-pool-script-install's Introduction

open-eth-pool-script-install

Open Ethereum Pool Script for configuration/setup and installation

This repository will help you to install open-ethereum-pool

Features

  • Setting up the dependencies
  • Will help in configuration for the pool
  • Running the app

Recommended OS

Ubuntu 16.04 or later

Steps

Open a terminal and login with super user

$ sudo su

Install the dependencies. It will take time --64 flag is for the system architecture

$ sudo ./dependencies.sh --64

Must open a new terminal because the dependencies are recently installed and golang is needed to build the open-ethereum-pool.After opening the new terminal. One thing need to be carefully checked the configs in the configuration.sh according to your pool.

$ sudo ./configuration.sh

Wait for the building of the project to be complete and when it will complete it will run the open-ethereum-pool then open a new terminal and run the front end without sudo

$ ./frontend.sh

Reply with y if prompted

The script works under my environment when no dependencies are installed and geth is not synced. However, it can still be improved and under development.

open-eth-pool-script-install's People

Contributors

duckducknono avatar hamzaanis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

open-eth-pool-script-install's Issues

Install Error

root@kc2:/data/open-eth-pool-script-install/open-ethereum-pool# make
build/env.sh go get -v ./...
github.com/gorilla/mux (download)
github.com/ethereum/go-ethereum (download)
Fetching https://golang.org/x/crypto/sha3?go-get=1
Parsing meta tags from https://golang.org/x/crypto/sha3?go-get=1 (status code 200)
get "golang.org/x/crypto/sha3": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/sha3?go-get=1
get "golang.org/x/crypto/sha3": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
golang.org/x/crypto (download)
Fetching https://gopkg.in/redis.v3?go-get=1
Parsing meta tags from https://gopkg.in/redis.v3?go-get=1 (status code 200)
get "gopkg.in/redis.v3": found meta tag get.metaImport{Prefix:"gopkg.in/redis.v3", VCS:"git", RepoRoot:"https://gopkg.in/redis.v3"} at https://gopkg.in/redis.v3?go-get=1
gopkg.in/redis.v3 (download)
Fetching https://gopkg.in/bsm/ratelimit.v1?go-get=1
Parsing meta tags from https://gopkg.in/bsm/ratelimit.v1?go-get=1 (status code 200)
get "gopkg.in/bsm/ratelimit.v1": found meta tag get.metaImport{Prefix:"gopkg.in/bsm/ratelimit.v1", VCS:"git", RepoRoot:"https://gopkg.in/bsm/ratelimit.v1"} at https://gopkg.in/bsm/ratelimit.v1?go-get=1
gopkg.in/bsm/ratelimit.v1 (download)
github.com/ethereum/ethash (download)
github.com/yvasiyarov/gorelic (download)
github.com/yvasiyarov/go-metrics (download)
github.com/yvasiyarov/newrelic_platform_go (download)
gopkg.in/redis.v3/internal/consistenthash
gopkg.in/redis.v3/internal/hashtag
golang.org/x/crypto/sha3
github.com/ethereum/ethash/vendor/github.com/ethereum/go-ethereum/crypto/sha3
gopkg.in/bsm/ratelimit.v1
github.com/ethereum/go-ethereum/common/hexutil
github.com/ethereum/go-ethereum/common/math
github.com/gorilla/mux
gopkg.in/redis.v3/internal
github.com/ethereum/ethash/vendor/github.com/ethereum/go-ethereum/rlp
github.com/ethereum/ethash/vendor/github.com/go-stack/stack
# github.com/ethereum/go-ethereum/common/math
../../ethereum/go-ethereum/common/math/integer.go:84:21: undefined: bits.Sub64
../../ethereum/go-ethereum/common/math/integer.go:90:19: undefined: bits.Add64
../../ethereum/go-ethereum/common/math/integer.go:96:12: undefined: bits.Mul64
github.com/yvasiyarov/go-metrics
gopkg.in/redis.v3/internal/pool
github.com/yvasiyarov/newrelic_platform_go
github.com/ethereum/ethash/vendor/github.com/ethereum/go-ethereum/log
gopkg.in/redis.v3
github.com/ethereum/go-ethereum/common
github.com/yvasiyarov/gorelic
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2
root@kc2:/data/open-eth-pool-script-install/open-ethereum-pool# make
build/env.sh go get -v ./...
github.com/ethereum/go-ethereum/common/math
# github.com/ethereum/go-ethereum/common/math
../../ethereum/go-ethereum/common/math/integer.go:84:21: undefined: bits.Sub64
../../ethereum/go-ethereum/common/math/integer.go:90:19: undefined: bits.Add64
../../ethereum/go-ethereum/common/math/integer.go:96:12: undefined: bits.Mul64
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

couple changes

I am hoping to build the pool with your script. I want to add a small entry. you need to add below before "make" for the pool.

in rpc.go you need to change line 15 from "github.com/ethereum/go-ethereum/common" TO "github.com/ethereum/go-ethereum/common/hexutil"
Then on line 180 change
rpcResp, err := r.doPost(r.Url, "eth_sign", []string{from, common.ToHex(hash[:])})
TO:
rpcResp, err := r.doPost(r.Url, "eth_sign", []string{from, hexutil.Encode(hash[:])})

In util.go line 10 add: "github.com/ethereum/go-ethereum/common/hexutil"

line 38 change
return string(common.ToHex(diff1.Bytes()))
TO:
return string(hexutil.Encode(diff1.Bytes()))

How can I solve my problems

sudo ./configuration.sh

fatal: destination path 'open-ethereum-pool' already exists and is not an empty directory.
Make can time as it will download the packages

build/env.sh go get -v ./...
build/env.sh: 32: exec: go: not found
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 127
./configuration.sh: line 126: ./build/bin/open-ethereum-pool: No such file or directory

Makefile:

This Makefile is meant to be used by people that do not usually work

with Go source code. If you know what GOPATH is then you probably

don't need to bother with make.

.PHONY: all test clean

GOBIN = build/bin

all:
build/env.sh go get -v ./...

test: all
build/env.sh go test -v ./...

clean:
rm -fr build/_workspace/pkg/ $(GOBIN)/*

configuration :
./build/bin/open-ethereum-pool config.json

Please help me man

Identity flag in dependancies.sh

Hi,

Should --identity=@bkawk exist in the dependancies.sh script when starting geth? I think the this should be flagged to the user and or a readline option provided to populate this flag.

Alternatively geth can be started with default values with geth --rpc (or --http) --mine without any issues.

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.