PHPackages                             tonystark/ethereum-wallet - 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. tonystark/ethereum-wallet

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

tonystark/ethereum-wallet
=========================

Ethereum wallet library in PHP.

0.1.1(2y ago)0121MITPHPPHP ^7.1 | ^8.0

Since Apr 28Pushed 2y agoCompare

[ Source](https://github.com/tonystark199x202x/ethereum-wallet)[ Packagist](https://packagist.org/packages/tonystark/ethereum-wallet)[ RSS](/packages/tonystark-ethereum-wallet/feed)WikiDiscussions master Synced 1mo ago

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

ethereum-wallet
===============

[](#ethereum-wallet)

[![PHP](https://github.com/tonystark199x202x/ethereum-wallet/actions/workflows/php.yml/badge.svg)](https://github.com/tonystark199x202x/ethereum-wallet/actions/workflows/php.yml)[![codecov](https://camo.githubusercontent.com/8f4b67773cbb7622db213253e95cb0c773a1723fefa9beff5191b6c6f3bbb86b/68747470733a2f2f636f6465636f762e696f2f67682f746f6e79737461726b31393978323032782f657468657265756d2d77616c6c65742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/tonystark199x202x/ethereum-wallet)[![Licensed under the MIT License](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://github.com/tonystark199x202x/ethereum-wallet/blob/master/LICENSE)

Ethereum wallet.

Install
=======

[](#install)

```
composer require tonystark/ethereum-wallet

```

Usage
=====

[](#usage)

Generate a new wallet:

```
use Web3p\EthereumWallet\Wallet;

$wallet = new Wallet();
$mnemonicLength = 15;
$wallet->generate($mnemonicLength);

// $wallet->address;
// danger zone, if the data was leaked, money would be stolen
// $wallet->privateKey;
// $wallet->mnemonic;
```

Recover wallet from mnemonic:

```
use Web3p\EthereumWallet\Wallet;

$wallet = new Wallet();
$mnemonic = '..........';
$wallet->fromMnemonic($mnemonic);

// $wallet->address;
// danger zone, if the data was leaked, money would be stolen
// $wallet->privateKey;
// $wallet->mnemonic;
```

API
===

[](#api)

### Web3p\\EthereumWallet\\Wallet

[](#web3pethereumwalletwallet)

#### setWordlist

[](#setwordlist)

Set different mnemonic wordlist, the default is english.

`setWordlist(WordList $wordlist)`

wordList - \\BitWasp\\Bitcoin\\Mnemonic\\WordList

###### Example

[](#example)

```
use Web3p\EthereumWallet\Wallet;
use Web3p\EthereumWallet\Wordlist\BIP39ChineseTraditionalWordList;

$wallet = new Wallet();
$zh_TW_wordlist = new BIP39ChineseTraditionalWordList;
$wallet->wordlist = $zh_TW_wordlist;
```

#### generate

[](#generate)

Returns a new wallet for the given mnemonic length.

`generate(int $mnemonicLength)`

mnemonicLength - integer.

###### Example

[](#example-1)

- Generate a new wallet with 12 mnemonic.

```
use Web3p\EthereumWallet\Wallet;

$wallet = new Wallet();
$wallet->generate(12);
```

#### fromMnemonic

[](#frommnemonic)

Returns a wallet recover from the mnemonic.

`fromMnemonic(string $mnemonic)`

mnemonic - string.

###### Example

[](#example-2)

- Recover from a wallet.

```
use Web3p\EthereumWallet\Wallet;

$wallet = new Wallet();
$mnemonic = '..........';
$wallet->fromMnemonic($mnemonic);
```

License
=======

[](#license)

MIT

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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

Every ~378 days

Total

2

Last Release

732d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/89031610?v=4)[tonystark199x202x](/maintainers/tonystark199x202x)[@tonystark199x202x](https://github.com/tonystark199x202x)

---

Top Contributors

[![sc0Vu](https://avatars.githubusercontent.com/u/10494397?v=4)](https://github.com/sc0Vu "sc0Vu (19 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tonystark-ethereum-wallet/health.svg)

```
[![Health](https://phpackages.com/badges/tonystark-ethereum-wallet/health.svg)](https://phpackages.com/packages/tonystark-ethereum-wallet)
```

###  Alternatives

[plumphp/plum

Plum is a data processing pipeline that helps you to write structured, reusable and well tested data processing code.

14088.8k17](/packages/plumphp-plum)[shockwavemk/magento2-module-cron-schedule

Show advanced information for scheduled crons in Magento2 Backend

3533.8k](/packages/shockwavemk-magento2-module-cron-schedule)[gerardojbaez/geodata

Laravel 5.2 package that provides basic geographical data like Countries, Regions and Cities.

3211.9k](/packages/gerardojbaez-geodata)[sintret/yii2-gii-adminlte

Yii2 Generator extension for Gii plugin with adminlte and base on dynagrid. upload excel to system to with log upload

209.6k2](/packages/sintret-yii2-gii-adminlte)

PHPackages © 2026

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