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

获取不了钱包地址 #40

Open
tanzaole opened this issue Jun 1, 2018 · 1 comment
Open

获取不了钱包地址 #40

tanzaole opened this issue Jun 1, 2018 · 1 comment

Comments

@tanzaole
Copy link

tanzaole commented Jun 1, 2018

from = Account.NewAccount().getAddressString();
每次获取的都不是插件里面的钱包地址,而是随机的

@yupnano
Copy link
Contributor

yupnano commented Jun 1, 2018

这个是用的neb.js来做的吧, Account.NewAccount() 只是新建一个账号。

要获取用户钱包请参考:nebulasio/WebExtensionWallet#6

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