WebExtensionWallet icon indicating copy to clipboard operation
WebExtensionWallet copied to clipboard

Results 15 WebExtensionWallet issues
Sort by recently updated
recently updated
newest added

When trying to vote for node via Chrome extension, it's trying to execute NAS transfer instead of NAX voting. An example of such transaction: https://explorer.nebulas.io/#/tx/ff7d2d1838aaf781e84c8d42d80405cd3acd024e9a5fb3307445cb194bf8c4d3 ![image](https://user-images.githubusercontent.com/4012243/78700043-828c7400-790d-11ea-8d83-7ab011a7e8b8.png) ![image](https://user-images.githubusercontent.com/4012243/78700063-891aeb80-790d-11ea-8def-f8d01a4bd7f4.png) ![image](https://user-images.githubusercontent.com/4012243/78700076-8ddf9f80-790d-11ea-8ece-ec8e556caff4.png)

钱包扩展增加了 `NasExtWallet` 这个全局命名空间,这个势头非常好。期待它暴露更多的实用功能出来 👍 我提个需求:提供一个接口,用于返回钱包扩展当前的环境信息(主网 / 测试网 / 本地)。 另外,希望 `NasExtWallet` 提供的接口能做成同步的。现在的 `.getUserAddress()` 是异步的,但似乎是可以做成同步的?比如当钱包状态发生变化时主动注入(或发消息)到页面中? 因此,如果提供一个 `NasExtWallet.getEnv()` 接口,希望它是同步的。

请问钱包插件现在是否有能够对自定义数据进行签名的功能?类似于MetaMask中那种不只是对交易签名,还能对其它数据签名,如果没有请问多久能提供支持?

我只是在测试中发现了一个现象,暂时没有深入阅读钱包扩展的源码。 在每个交互周期内(页面 → 钱包扩展 → 页面),`NasExtWallet.getUserAddress()` 方法只能承载一个回调。也就是说,连续多次调用 `NasExtWallet.getUserAddress(callback)`,最后一次注册的 callback 会覆盖之前的所有 callback。 比如有以下代码: ```js NasExtWallet.getUserAddress(function () { console.log(1) }) NasExtWallet.getUserAddress(function () { console.log(2) }) NasExtWallet.getUserAddress(function () { console.log(3) }) NasExtWallet.getUserAddress(function ()...

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

一直提示如下错误:Unexpected token < in JSON at position 0

Hi, when I click the "Select Wallet File"-Button it opens a dialog to select a file, but the window in which the button was instantly closes. This makes it impossible...

Currently, when you click "change another wallet", a wallet that's currently loaded will stay loaded until another wallet file is selected. Sometimes I just want to unload the current wallet...

只能显示fail,用户无法得知错误信息

enhancement