Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

A simple example of how to deploy and interact with ETH smart contracts using Go

License

Notifications You must be signed in to change notification settings

zoenolan/smart-contracts-with-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple example of how to deploy and interact with ETH smart contracts using Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%