web3dart icon indicating copy to clipboard operation
web3dart copied to clipboard

abi.json cannot generate .g files

Open LiRenGuo opened this issue 1 year ago • 2 comments

I put a file Lock.abi.json under lib/contracts, ran flutter pub run build_runner build, but the Lock.g.dart file was not generated, can you help me?

Below is my dependency graph

WechatIMG356

WechatIMG357

LiRenGuo avatar Apr 27 '23 13:04 LiRenGuo

Hi @LiRenGuo I ran into the same issue and I used web3dart_builders to generate .g.dart files from abi.json files.

rbharath99 avatar May 01 '23 16:05 rbharath99

你好@LiRenGuo我遇到了同样的问题,我使用web3dart_builders.g.dart从文件生成文件abi.json

Thanks for your reply, I can generate .g files with web3dart_builders

LiRenGuo avatar May 15 '23 02:05 LiRenGuo