PHPackages                             m8b/ethbnd-keystore - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. m8b/ethbnd-keystore

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

m8b/ethbnd-keystore
===================

Library with JSON Keystore implementation, separate from main library due to dependency on scrypt

v1.0.0-beta(2y ago)08MPL-2.0PHP

Since Sep 26Pushed 2y ago2 watchersCompare

[ Source](https://github.com/m8b-dev/ether-binder-json-keystore)[ Packagist](https://packagist.org/packages/m8b/ethbnd-keystore)[ RSS](/packages/m8b-ethbnd-keystore/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

JSON Keystore Wallet for Ether Binder
=====================================

[](#json-keystore-wallet-for-ether-binder)

This is separated from [Ether Binder](https://github.com/m8b-dev/ethbinder) library addon, due to extension dependency.

This library requires PECL extension `scrypt`. To install extension:

```
pecl install scrypt
```

Installing:

```
composer require m8b/ethbnd-keystore
```

Usage
-----

[](#usage)

To read the existing json keystore, get the json and password, and drop it to `loadFromKeystore` function

```
$keystore = file_get_contents("path/to/key.json");
$wallet   = \M8B\EtherBinder\Wallet\JSONKeystoreWallet::loadFromKeystore($keystore, "password");
```

To encrypt existing key

```
$key = \M8B\EtherBinder\Crypto\Key::fromHex("0x....");
$wallet = \M8B\EtherBinder\Wallet\JSONKeystoreWallet::wrap($key);
file_put_contents($wallet->export("password"));
```

To generate new key and immediately wrap it with json keystore

```
$wallet = \M8B\EtherBinder\Wallet\JSONKeystoreWallet::generate();
```

License
=======

[](#license)

Mozilla public license 2.0

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

960d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa4e39d62ac6671272019ae3f0c86e64619eeb093f50cc4bf27347c8ea53fbcc?d=identicon)[DubbaThony](/maintainers/DubbaThony)

---

Top Contributors

[![DubbaThony](https://avatars.githubusercontent.com/u/12460316?v=4)](https://github.com/DubbaThony "DubbaThony (1 commits)")

### Embed Badge

![Health badge](/badges/m8b-ethbnd-keystore/health.svg)

```
[![Health](https://phpackages.com/badges/m8b-ethbnd-keystore/health.svg)](https://phpackages.com/packages/m8b-ethbnd-keystore)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
