abigen --abi xx.abi --pkg packageName --type structName --out xx.go
.abi 文件在remix 部署后就能拿到
.pkg 指定文件输出包名
type 指定合约结构体名称
out 指定输出go文件名称
最后更新于2年前
这有帮助吗?