PHPackages                             chainfailure/prospect - 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. chainfailure/prospect

ActiveLibrary

chainfailure/prospect
=====================

2222[3 issues](https://github.com/chainfailure/prospect/issues)PHP

Since Mar 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/chainfailure/prospect)[ Packagist](https://packagist.org/packages/chainfailure/prospect)[ RSS](/packages/chainfailure-prospect/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Prospect
========

[](#prospect)

***This project is still in early development, shit will break, shit will change.***

A PHP library for interaction with various cryptocurrencies.

Who is this for?
----------------

[](#who-is-this-for)

Everyone seeking to query specific information from a cryptocurrency's blockchain.

What can it do?
---------------

[](#what-can-it-do)

CurrencyCodeFetch transactionsFetch addressesViacoin`via`✅✅Bitcoin`btc`✅✅Litecoin`ltc`✅✅Dash`dash`✅✅Fine, show me some code
-----------------------

[](#fine-show-me-some-code)

How to fetch a Viacoin transaction:

```
use Prospect\Currency;

$viacoin = Currency::get('via');
$transaction = $viacoin->getTransaction(
    '9c57869fd7e131c0d9ddfe3ba7f62669bc6b01851323709aa96b9d7a9719dc05'
);
echo 'In: '.$transaction->getValueIn()."\n";
echo 'Out: '.$transaction->getValueOut()."\n";
echo 'Fee: '.$transaction->getFee()."\n";
```

How to fetch a Litecoin address's transactions and balance:

```
use Prospect\Currency;

$litecoin = Currency::get('ltc');
$address = $litecoin->getAddress(
    'LbAw4wCLj9VAKxV4aeyRTygFdUxT1LiudY'
);
echo 'Balance: '.$address->getBalance()."\n";
echo 'Received: '.$address->getTotalReceived()."\n";
echo 'Sent: '.$address->getTotalSent()."\n";
echo 'Unconfirmed: '.$address->getUnconfirmedBalance()."\n";
```

Now get off my lawn.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/61c79fd20881b30052a7c002d5dab2140b867647b1ad8190d94440e64382fead?d=identicon)[chainfailure](/maintainers/chainfailure)

---

Top Contributors

[![chainfailure](https://avatars.githubusercontent.com/u/36008897?v=4)](https://github.com/chainfailure "chainfailure (25 commits)")

---

Tags

bitcoinblockchaindashlibrarylitecoinphpviacoin

### Embed Badge

![Health badge](/badges/chainfailure-prospect/health.svg)

```
[![Health](https://phpackages.com/badges/chainfailure-prospect/health.svg)](https://phpackages.com/packages/chainfailure-prospect)
```

PHPackages © 2026

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