GitHunt
VL

vLeapGroup/relay-sdk-js

SDK for vLeap Relay – Sponsor transactions for users by adding a single line of code.

Relay SDK

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

npm install @vleap/relay

Before:

const result = await wallet.sendTransaction(transaction)

After:

const relayableTx = await new RelayClient({ project: 'your-project-id' }).relay(transaction)
const result = await wallet.sendTransaction(relayableTx)

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

Examples

import { RelayClient } from '@vleap/relay'

// Single transaction
const relayedTx = await new RelayClient({ project: 'your-project-id' }).relay(transaction)

// Batch transactions
const relayedTxs = await new RelayClient({ project: 'your-project-id' }).relayBatch(transactions)

Support

Languages

TypeScript100.0%

Contributors

Created September 16, 2025
Updated September 27, 2025