Gathering detailed insights and metrics for zb-eosjs-keygen
Gathering detailed insights and metrics for zb-eosjs-keygen
Gathering detailed insights and metrics for zb-eosjs-keygen
Gathering detailed insights and metrics for zb-eosjs-keygen
npm install zb-eosjs-keygen
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
768
Last Day
1
Last Week
4
Last Month
10
Last Year
99
81 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Aug 09, 2018
Latest Version
1.3.2-1
Package Id
zb-eosjs-keygen@1.3.2-1
Unpacked Size
822.63 kB
Size
185.07 kB
File Count
19
NPM Version
6.3.0
Node Version
10.7.0
Cumulative downloads
Total Downloads
The purpose of this library is for managing keys in local storage. This is designed to derive and cache keys but also needs a password manager to store a "root" key. This library does not have secure or password protected storage. It does however figure out permission hierarchies and is configurable enough to only store keys you feel are safe to store.
General purpose cryptography is found in eosjs-ecc library. Hierarchical deterministic key generation uses PrivateKey.getChildKey in eosjs-ecc.
1let {Keystore, Keygen} = require('eosjs-keygen') 2Eos = require('eosjs') 3 4sessionConfig = { 5 timeoutInMin: 30, 6 uriRules: { 7 'owner' : '/account_recovery', 8 'active': '/(transfer|contracts)', 9 'active/**': '/producers' 10 } 11} 12 13keystore = Keystore('myaccount', sessionConfig) 14eos = Eos.Testnet({keyProvider: keystore.keyProvider}) 15 16Keygen.generateMasterKeys().then(keys => { 17 // create blockchain account called 'myaccount' 18 console.log(keys) 19 20 eos.getAccount('myaccount').then(account => { 21 keystore.deriveKeys({ 22 parent: keys.masterPrivateKey, 23 accountPermissions: account.permissions 24 }) 25 }) 26 27})
See ./API
1let {Keystore, Keygen} = require('./src')
Use Node v8+ (updates package-lock.json
)
1git clone https://github.com/EOSIO/eosjs-keygen.git 2cd eosjs-keygen 3npm install 4npm run build 5# builds: ./dist/eosjs-keygen.js
1<script src="eosjs-keygen.js"></script> 2<script> 3//kos.Keystore 4//kos.Keygen 5//... 6</script>
Node 6+ and browser (browserify, webpack, etc)
Built with React Native in mind, create an issue if you find a bug.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
73 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
0%
1
Compared to previous day
Last Week
0%
4
Compared to previous week
Last Month
-33.3%
10
Compared to previous month
Last Year
28.6%
99
Compared to previous year