Generated using abigen
package main
import (
"github.com/ethereum/go-ethereum/common"
"github.com/projectawakening/contracts-go/bindings/world"
"log"
)
func main() {
w, err := world.NewWorld(common.HexToAddress("0x0000"), ethClient)
if err != nil {
log.Fatal(err)
}
w.EveworldBringOnline(...)
}
- Wait for a new world-chain-contracts deployment
- Make sure the new ABIs are available on abi-export.projectawakening.io
- Create a new GitHub Release here
- Use the same Git tag as world-chain-contracts (e.g
v0.0.8
) - Publish Release
- CI will generate and push the new Go bindings to
main
- clone this repo and
cd
into it go install github.com/ethereum/go-ethereum/cmd/abigen@latest
VERSION=v0.0.8 go generate
(replace the version if needed)