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

怎么判断用户的钱包插件是在测试网还是主网? #24

Open
xing393939 opened this issue May 23, 2018 · 2 comments
Open

怎么判断用户的钱包插件是在测试网还是主网? #24

xing393939 opened this issue May 23, 2018 · 2 comments

Comments

@xing393939
Copy link

如果用户是在测试网,调主网合约就会报错,如何识别出钱包插件是在测试网还是主网?

@yupnano
Copy link
Contributor

yupnano commented May 23, 2018

目前插件没有提供读取网络信息的接口。后续也许会添加。
现在只能提醒用户注意选择正确的网络。

@cssmagic
Copy link

cssmagic commented Aug 14, 2018

Related issue: #38

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

3 participants