ethtest

module
v0.0.0-...-f207ed8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: MIT

README

Overview

Solidity and ÐApp experiments with Go contract bindings.

Setup

Install solc

Needed only if generating Go directly from sol rather than from ABI.

OSX
brew tap ethereum/ethereum
brew install solidity
brew linkapps solidity
Install Geth

The Windows installer puts it in the path. For other operating systems, move the binary to an existing path location such as $GOPATH/bin.

Alternatively, build from the source downloaded below.

Install Solidity language support

In VSCode, the JuanBlanco.solidity plugin provides syntax support and compilation.

Install ABI to Go generator
go get -u github.com/ethereum/go-ethereum
cd $GOPATH/src/github.com/ethereum/go-ethereum
go install ./cmd/abigen

Directories

Path Synopsis
cmd
blockchain
Package main copied from https://github.com/ethereum/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts
Package main copied from https://github.com/ethereum/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL