vleap/relay

PHP SDK for vLeap Relay service

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/vleap/relay

v0.1.0 2025-09-27 18:09 UTC

This package is auto-updated.

Last update: 2025-09-27 19:12:59 UTC


README

Enable gasless transactions on MultiversX with just one line of code change.

composer require vleap/relay

Before:

$result = $wallet->sendTransaction($transaction);

After:

$relayableTx = (new RelayClient(['project' => 'your-project-id']))->relay($transaction);
$result = $wallet->sendTransaction($relayableTx);

That's it! Your users now pay zero gas fees when they have a fresh wallet or low balance.

Examples

use VLeap\RelaySdk\RelayClient;

// Single transaction
$relayedTx = (new RelayClient(['project' => 'your-project-id']))->relay($transaction);

// Batch transactions
$relayedTxs = (new RelayClient(['project' => 'your-project-id']))->relayBatch($transactions);

Support