PHPackages                             tokenly/counterparty-sender - 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. tokenly/counterparty-sender

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

tokenly/counterparty-sender
===========================

A library

11.6k2PHP

Since Sep 16Pushed 10y ago3 watchersCompare

[ Source](https://github.com/tokenly/counterparty-sender)[ Packagist](https://packagist.org/packages/tokenly/counterparty-sender)[ RSS](/packages/tokenly-counterparty-sender/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

The CounterpartySender component for Tokenly.

Example of usage:

```
$xcpd_connection_string = 'http://addressof.counterpartyserver.com:4000';
$xcpd_rpc_user = 'rpcusername';
$xcpd_rpc_password  = 'securerpcpassword';

$bitcoind_connection_string = 'httpd://btcrpcusername:btcrpcpassword@addressof.bitcoinserver.com:8332';

$xcpd = new Tokenly\XCPDClient\Client($xcpd_connection_string, $xcpd_rpc_user, $xcpd_rpc_password);
$bitcoind = new Nbobtc\Bitcoind\Bitcoind(new Nbobtc\Bitcoind\Client($bitcoind_connection_string));

$sender = new Tokenly\CounterpartySender\CounterpartySender($xcpd, $bitcoind);

$public_key  = 'PUBLICBITCOINADDRESSKEY';
$private_key = 'PRIVATEBITCOINADDRESSKEY';
$source      = 'SOURCE_BITCOINADDRESS';
$destination = 'DESTINATION_BITCOINADDRESS';
$quantity    = 1000;
$asset       = 'LTBCOIN';
$transaction_id = $sender->send($public_key, $private_key, $source, $destination, $quantity, $asset);

echo "transaction id: $transaction_id\n";
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

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 (13 commits)")

### Embed Badge

![Health badge](/badges/tokenly-counterparty-sender/health.svg)

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

###  Alternatives

[prooph/service-bus

PHP Enterprise Service Bus Implementation supporting CQRS and DDD

4421.4M32](/packages/prooph-service-bus)[krlove/code-generator

Code Generator

702.3M18](/packages/krlove-code-generator)[mhor/php-mediainfo

PHP wrapper around the mediainfo command

120574.8k7](/packages/mhor-php-mediainfo)[friendsofcat/laravel-feature-flag

Feature Flags for Laravel

311.2M](/packages/friendsofcat-laravel-feature-flag)[nlgen/nlgen

A library for creating recursive-descent natural language generators.

56181.3k](/packages/nlgen-nlgen)[juststeveking/uri-builder

A simple URI builder in PHP that is slightly opinionated

20285.7k5](/packages/juststeveking-uri-builder)

PHPackages © 2026

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