smart-contracts-with-go

command module
v0.0.0-...-751916e Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2017 License: MIT Imports: 12 Imported by: 0

README

smart-contracts-with-go

A simple example of how to deploy and interact with ETH smart contracts using Go on a simulated Blockchain.

Prerequisites

  • solc
  • geth (go-ethereum)
go get github.com/ethereum/go-ethereum
cd $GOPATH/src/github.com/ethereum/go-ethereum/
make
make devtools

Generating contract.go

abigen --sol=Contract.sol --pkg=main --out=contract.go

Running

go build . && ./smart-contracts-with-go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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