Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abi.json cannot generate .g files #103

Open
LiRenGuo opened this issue Apr 27, 2023 · 2 comments
Open

abi.json cannot generate .g files #103

LiRenGuo opened this issue Apr 27, 2023 · 2 comments

Comments

@LiRenGuo
Copy link

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

@rbharath99
Copy link

rbharath99 commented May 1, 2023

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

@LiRenGuo
Copy link
Author

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants