- Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install prerequisites
brew install git hg
brew install osxfuse
(see Mac issues to troubleshoot common errors)- Install Go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Geth build script for Windows | |
.DESCRIPTION | |
A Powershell script to install dependencies for Windows and build go-ethereum binaries. | |
Make sure to run `Set-ExecutionPolicy RemoteSigned` in an Adminisrative Powershell window first | |
if you intend to run this as a script instead of in a console | |
.NOTES | |
File Name : geth-posh-install.ps1 | |
Author : Taylor Gerring (taylor.gerring@gmail.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
####################################################################### | |
# Install base dependencies (required) | |
sudo apt-get update && sudo apt-get upgrade -y | |
sudo apt-get install -y git build-essential | |
# Install Go binaries | |
GOVERSION="1.7.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make BLS_ETH=1 lib/libbls384_256.a | |
g++ -g3 -Wall -Wextra -Wformat=2 -Wcast-qual -Wcast-align -Wwrite-strings -Wfloat-equal -Wpointer-arith -Wundef -I include -I test -fomit-frame-pointer -DNDEBUG -fno-stack-protector -Ofast -DMCL_USE_VINT -DMCL_DONT_USE_OPENSSL -fPIC -std=c++11 -I/home/pi/dev/bls/../mcl/include -DBLS_ETH -c src/bls_c384_256.cpp -o obj/bls_c384_256.o -MMD -MP -MF obj/bls_c384_256.d | |
In file included from src/bls_c384_256.cpp:3: | |
src/bls_c_impl.hpp: In function ‘const mclBnG1* cast(const G1*)’: | |
src/bls_c_impl.hpp:155:73: warning: cast from ‘const G1*’ {aka ‘const mcl::EcT<mcl::FpT<mcl::bn::local::FpTag, 384> >*’} to ‘const mclBnG1*’ increases required alignment of target type [-Wcast-align] | |
static inline const mclBnG1 *cast(const G1* x) { return (const mclBnG1*)x; } | |
^ | |
src/bls_c_impl.hpp: In function ‘const mclBnG2* cast(const G2*)’: | |
src/bls_c_impl.hpp:156:73: warning: cast from ‘const G2*’ {aka ‘const mcl::EcT<mcl::Fp2T<m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install base dependencies | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y git mercurial build-essential software-properties-common pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev | |
# Install Qt 5.4.1 packages (only required for Mist) | |
sudo add-apt-repository ppa:beineri/opt-qt541-trusty -y | |
sudo apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For YouTube video located at https://youtu.be/1VjcrPGXY2E | |
# SETUP GOLANG | |
GOVERSION="1.7.5" | |
[[ `uname -m` = "x86_64" ]] && GOARCH="amd64" || GOARCH="386" | |
wget https://storage.googleapis.com/golang/go$GOVERSION.linux-$GOARCH.tar.gz | |
sudo rm -rf /usr/local/go/ && sudo tar -C /usr/local -xzf go$GOVERSION*.tar.gz | |
echo 'export GOPATH=$HOME/go' >> ~/.bashrc | |
echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> ~/.bashrc | |
source ~/.bashrc && go version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#REQUIRES -Version 2.0 | |
<# | |
.SYNOPSIS | |
Geth build script for Windows | |
.DESCRIPTION | |
A Powershell script to install dependencies for Windows and build go-ethereum binaries. | |
Make sure to run `Set-ExecutionPolicy RemoteSigned` in an Adminisrative Powershell window first. | |
.NOTES | |
File Name : geth-posh-install.ps1 | |
Author : Taylor Gerring (taylor.gerring@gmail.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_owner", | |
"type": "address" | |
} | |
], | |
"name": "removeOwner", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nonce": "0", | |
"difficulty": "0x0", | |
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", | |
"timestamp": "0x00", | |
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | |
"extraData": "0x", | |
"gasLimit": "0x2FEFD8", | |
"alloc": {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set versions | |
ETHTAG="release" | |
# System information | |
UBUNTUVER=`lsb_release -r|awk '{print $2}'` | |
# Ensure the latest version of cmake | |
if [[ $UBUNTUVER == "14.04" ]]; |
NewerOlder