powerchain-maker-nodemanager

command module
v0.0.0-...-5c6e398 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

README

inetnral-network-contract-abi

Prerequisites
solc

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

abigen

go get -u github.com/ethereum/go-ethereum
cd $GOPATH/src/github.com/ethereum/go-ethereum/
make
make devtools

Create SC ABI

run

solc --abi --overwrite --optimize NetworkManagerContract.sol --output-dir contractclient/internalcontract
Create SC go class

run

abigen --abi=contractclient/internalcontract/NetworkManagerContract.abi --pkg=ScClient --out=contractclient/internalcontract/NetworkManagerContract.go 
// Replace imports in NetworkManagerContract.go from "github.com/ethereum/go-ethereum" to "github.com/nordicenergy
/powerchain"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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