hrnkoji / perigord

Perigord: Golang Tools for Ethereum Development

Home Page:https://polyswarm.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOT ACTIVELY MAINTAINED

The PolySwarm team is currently unable to actively maintain Perigord at the moment.

The PolySwarm team's priority is to faithfully deliver on our roadmap (https://polyswarm.io/road_map/index.html), which regrettably demands we turn our attention away from Perigord in the short term. The Ethereum smart contract development space is simply moving too quickly right now for us to support a Truffle alternative in addition to hitting our development milestones.

We plan to return to active Perigord maintenance in the future and will continue to welcome external contributions until we're able to resume work.

Thank you for your understanding!

~Paul

Perigord: Golang Tools for Ethereum Development

Note: Perigord is in development and it's API is subject to change.

Perigord Image (not covered by LICENSE)

This image is not covered by LICENSE.

Install

There is a Dockerfile in docker/Dockerfile to build a perigord image, to build run

$ pushd docker
$ docker build -t perigord .
$ popd

These instructions assume an Ubuntu 16.04 x86_64 environment.

Prerequisite: Golang 1.8

Some dependencies require Go 1.7+, but Go 1.6 is in Ubuntu 16.04's default repos. The below will install Go 1.8.

$ sudo add-apt-repository -y ppa:longsleep/golang-backports
$ sudo apt-get update
$ sudo apt-get install -y golang-go
$ mkdir $HOME/golang
$ echo "export GOPATH=$HOME/golang" >> ~/.bashrc
$ echo "export PATH=$PATH:$HOME/golang/bin" >> ~/.bashrc

Close / re-open your terminal or re-source your .bashrc.

Prerequisite: solc

$ sudo add-apt-repository -y ppa:ethereum/ethereum
$ sudo apt-get update
$ sudo apt-get install -y solc

Prerequisite: abigen

$ go get github.com/ethereum/go-ethereum
$ pushd $GOPATH/src/github.com/ethereum/go-ethereum
$ go install ./cmd/abigen
$ popd

Setup

$ go get -u github.com/polyswarm/perigord/...

Dev Dependency: go-bindata

$ go get -u github.com/jteeuwen/go-bindata/...

Usage

Run for usage information:

$ perigord

Tutorial

Refer to our introductory blog post for now.

About

Perigord: Golang Tools for Ethereum Development

https://polyswarm.io

License:Apache License 2.0


Languages

Language:Smarty 64.0%Language:Go 35.8%Language:Shell 0.2%