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。

65 lines (64 loc) 1.73 kB
{ "_from": "keystore_wdc@^0.1.5", "_id": "keystore_wdc@0.1.5", "_inBundle": false, "_integrity": "sha512-W+qE0cxaf+RX7c8a6m7u7rynVU8yiV+rFN9hbYlJaYSO98z0B/MsmoVtAvTvXlvRGZmXa3P8AygRothR5Gw69g==", "_location": "/keystore_wdc", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "keystore_wdc@^0.1.5", "name": "keystore_wdc", "escapedName": "keystore_wdc", "rawSpec": "^0.1.5", "saveSpec": null, "fetchSpec": "^0.1.5" }, "_requiredBy": [ "#USER", "/" ], "_resolved": "https://registry.npmjs.org/keystore_wdc/-/keystore_wdc-0.1.5.tgz", "_shasum": "c8f554d4c384eacfd30a25fac1245d832f75cf8e", "_spec": "keystore_wdc@^0.1.5", "_where": "/Users/yongyang/work/project/npmtest", "author": "", "bundleDependencies": false, "dependencies": { "argon2-browser": "^1.15.2", "assemblyscript": "^0.14.10", "bn": "^1.0.3", "bn.js": "^5.0.0", "int64-buffer": "^0.99.1007", "jquery": "^3.4.1", "request": "^2.88.0", "rlp": "^2.2.5", "safe-buffer": "^5.2.1", "uint32": "^0.2.1", "uuid": "^3.3.3" }, "deprecated": false, "keywords": [ "wdc" ], "license": "ISC", "main": "keystore.js", "name": "keystore_wdc", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "version": "0.4.33-beta", "devDependencies": { "@babel/core": "^7.12.3", "@babel/preset-env": "^7.12.1", "@types/node": "^14.14.7", "babel-loader": "^8.1.0", "ts-loader": "^8.0.7", "ts-node": "^9.0.0", "typescript": "^4.0.3", "webpack": "^5.2.0", "webpack-cli": "^4.1.0", "ws": "^7.3.1" } }