定制 vleap/relay 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vleap/relay

最新稳定版本:v0.1.0

Composer 安装命令:

composer require vleap/relay

包简介

PHP SDK for vLeap Relay service

README 文档

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

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-27