solc --overwrite --abi contracts/ERC20ByteCodeGenerator.sol -o contracts/dist/
solc --overwrite --bin contracts/ERC20ByteCodeGenerator.sol -o contracts/dist/
~/go/bin/abigen --bin=contracts/dist/ERC20ByteCodeGenerator.bin --abi=contracts/dist/ERC20ByteCodeGenerator.abi --pkg=token --out=contracts/dist/ERC20Token.go
solc 透過這樣裝
brew update
brew tap ethereum/ethereum
brew install solidity
abigen則是
go get -u github.com/ethereum/go-ethereum
cd $(go env GOPATH)/pkg/github.com/ethereum/go-ethereum/
make
make devtools