I built one smart contract using ink!. I can make the contract's wasm and metadata files. Now, I need to create go bindings of my smart contract to find contract types and functions info in golang code. Do we have any command or script for that?
You mean auto-generated bindings for your contract? Or a library to create them manually?– Oliver Tale-YazdiJan 23 at 15:04
Yes, auto generated bindings– crypto sahdevJan 24 at 8:55
There are currently no automatic contract bindings generators. Lets keep it unanswered, maybe there will be at one point.– Oliver Tale-YazdiJan 26 at 12:43
AFAIK there is currently no way to auto-generate wrappers in Go.
A possible avenue to explore is to use https://github.com/727-Ventures/typechain-polkadot for generating TypeScript wrappers and then transpile them to Go code. I could imagine that a TypeScript2Golang exists somewhere.