PHPackages                             utipd/counterparty-follower - 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. utipd/counterparty-follower

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

utipd/counterparty-follower
===========================

A Counterparty send transaction follower.

097PHP

Since Sep 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/UTipdMe/counterparty-follower)[ Packagist](https://packagist.org/packages/utipd/counterparty-follower)[ RSS](/packages/utipd-counterparty-follower/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

The CounterpartyFollower component for UTipdMe.

A Counterparty send transaction follower. This is a standalone component of UTipdMe.

[![Build Status](https://camo.githubusercontent.com/cf110259a048fa26c075b9626240625747ef567bfb1fd7232da3f72e273abb45/68747470733a2f2f7472617669732d63692e6f72672f55546970644d652f636f756e74657270617274792d666f6c6c6f7765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/UTipdMe/counterparty-follower)

```
use Utipd\CounterpartyFollower\Follower;
use Utipd\CounterpartyFollower\FollowerSetup;
use Utipd\XCPDClient\Client;

// create a Counterparty RPC client
$xcpd_client = new Client($connection_string, $rpc_user, $rpc_password);

// init a mysql database connection
$pdo = new \PDO($db_connection_string, $db_user, $db_password);

// create the MySQL tables
if ($first_time) {
    $setup = new FollowerSetup($pdo, $db_name='xcpd_blocks');
    $stup->InitializeDatabase();
}

// build the follower and start at a recent block
$follower = new Follower($xcpd_client, $pdo);
$follower->setGenesisBlock(313500);

// setup the handlers
$follower->handleNewSend(function($send_details, $block_id) {
    echo "\$send_details:\n".json_encode($send_details, 192)."\n";
});

// listen forever
while (true) {
    $follower->processAnyNewBlocks();
    sleep(10);
}
```

### About Orphans

[](#about-orphans)

Orphaned blocks will happen. To handle those, you can use

### Tips Accepted

[](#tips-accepted)

BTC or Counterparty Tokens are gratefully accepted at 1LCwHQzrFY9q4h2eX2ApWzUHSqTc5UzHZW

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

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/3b86e6a54873d5dd61d3682a3be00127af3b7b2b5c53eb070b160e29789d4c0d?d=identicon)[dweller](/maintainers/dweller)

---

Top Contributors

[![deweller](https://avatars.githubusercontent.com/u/51414?v=4)](https://github.com/deweller "deweller (21 commits)")

### Embed Badge

![Health badge](/badges/utipd-counterparty-follower/health.svg)

```
[![Health](https://phpackages.com/badges/utipd-counterparty-follower/health.svg)](https://phpackages.com/packages/utipd-counterparty-follower)
```

###  Alternatives

[cubear/finder

Finder is a Drupal 8 module to help users find services which meet their criteria

404.2k](/packages/cubear-finder)

PHPackages © 2026

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