github.com/hungdoo/bot@v0.0.0-20240325145135-dd1f386f7b81/src/packages/tombplus/README.md (about) 1 ### Build go code from sol & abi 2 3 cd /Users/hungdong/go/pkg/mod/github.com/ethereum/go-ethereum@v1.13.10/ 4 make 5 make devtools 6 7 abigen --abi src/packages/tombplus/abi/tombplus.json --pkg tombplus --out src/packages/tombplus/TombPlus.go 8 9 ```go 10 // Instantiate the contract with the deployment address and the client 11 contract, err := tombplus.NewTombPlus(common.HexToAddress("contract address"), client) 12 if err != nil { 13 log.Fatalf("Failed to instantiate a NewTombPlus contract: %v", err) 14 } 15 ```