# Install solc (on Mac)
brew update
brew tap ethereum/ethereum
brew install solidity
# Install abigen
go get -u github.com/ethereum/go-ethereum
cd $GOPATH/src/github.com/ethereum/go-ethereum/
make
make devtools
# Compile sol
solc --bin -o example/contracts/simplestorage example/contracts/simplestorage/SimpleStorage.sol
solc @openzeppelin=contracts/lib/openzeppelin-contracts --bin -o x/evm/artifacts contracts/src/CW721ERC721Wrapper.sol
# Generate ABI in Go
solc --abi -o example/contracts/simplestorage example/contracts/simplestorage/SimpleStorage.sol
abigen --abi=example/contracts/simplestorage/SimpleStorage.abi --pkg=simplestorage --out=example/contracts/simplestorage/SimpleStorage.go