Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blockchain-key-manager

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockchain-key-manager

It manages blockchain EOA using local filesystem

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Blockchain Key Manager

You can store EOA to filesystem and load it with this library.

Installation

yarn add blockchain-key-manager
npm install blockchain-key-manager

File Example

You must use $HOME/.blockchain/eoa.

[solana]
address=0xeE6ssfVxdfh57itg6jk5jrU5ykTDIgabnHki76ER
private_key=0xYb7z9fO867T2f60M6R7T5uy6f43h6h79U7I34Y2p3m3w6rer2g51ghedrhRRED3g

[dev-bsc]
address=0xe5jrU5yssfVxdfh5kTDE67itg6jkIgabnHki76ER
private_key=0x6f43h6h79U77T2f60M6R7TI34Yb7z9fO865uyY2p3m3w6rer2g51ghedrhRRED3g

[com-klaytn]
address=0xjrU5yenHki76sERE67itg6jk5sfVxdfh5kTDIgab
private_key=0x3m3w6rer2g51ghed5uy6f436R7TI34Y2ph6h79U77T2f60MrYb7z9fO86hRRED3g

Usage

const keyManager = require('blockchain-key-manager');

const address = keyManager.getAddress('dev-bsc');
const privateKey = keyManager.getPrivateKey('dev-bsc');

const { alias, address, privateKey } = keyManager.getEoa('dev-klaytn');

FAQs

Package last updated on 19 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc