0.3.0 • Published 1 year ago

@jovijovi/ether-keystore v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Ether Keystore

npm GitHub Actions Coverage

A keystore toolkit for Ethereum ecosystem.

Philosophy

:kiss: KISS. Keep it small and simple.

Features

  • Retrieves wallet or private key from encrypted JSON wallet with password
  • Keystore cache

Development Environment

  • typescript 4.9.3
  • node v18.12.1
  • ts-node v10.9.1
  • yarn v1.22.19

Install

npm install @jovijovi/ether-keystore

or

yarn add @jovijovi/ether-keystore

Usage

import {keystore} from '@jovijovi/ether-keystore';

const pk = await keystore.InspectKeystorePK(
    '0x7a1bdd1481e5713e36f501a8cca4a9eaa423d547',   // Wallet address
    keystore.types.KeystoreTypeMiner,               // Keystore type
    'MTIzNDU2'                                      // Passphrase in BASE64
);
console.log("PK=", pk);

const wallet = await keystore.InspectKeystoreWallet(
    '0x7a1bdd1481e5713e36f501a8cca4a9eaa423d547',   // Wallet address
    keystore.types.KeystoreTypeFee,                 // Keystore type
    'MTIzNDU2'                                      // Passphrase in BASE64
);
console.debug("Wallet address=", wallet.address);

Roadmap

  • Documents
  • Security keystore in memory

License

MIT

0.3.0

1 year ago

0.2.3

2 years ago

0.2.4

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.2

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago