UNPKG

keystore_wdc

Version:

``` npm i keystore_wdc; const KeyStore = require('keystore_wdc'); const ks = new KeyStore(); ``` #### 生成keystore ``` async function create(){ const keystore = await ks.Create("your password"); } ``` * 返回keystore,密码格式不正确返回-1。

18 lines (17 loc) 426 B
class Templete { constructor() {} static account(address, name) { return ` <a class="wallet-box" onclick="return false;"> <span></span> <h3 class="not-ens-name"> <i class="iconfont icon-key"></i> ${name} </h3> </span> <span class="account-id">${address}</span> </a> `; } }