Skip to content

Conversation

@Reccetech
Copy link

@Reccetech Reccetech commented Oct 23, 2025

Added Paymaster functionality for gasless transactions, including configuration details, use cases, and best practices.

Fixes: #4477

Added Paymaster functionality for gasless transactions, including configuration details, use cases, and best practices.

Signed-off-by: Keith Kowal <keith.kowal@hashgraph.com>
@Reccetech Reccetech requested review from a team as code owners October 23, 2025 20:42
@quiet-node quiet-node added the internal For changes that affect the project's internal workings but not its outward-facing functionality. label Oct 23, 2025
@quiet-node quiet-node added this to the 0.73.0 milestone Oct 23, 2025
@quiet-node quiet-node changed the title Document Paymaster for gasless transactions docs: document Paymaster for gasless transactions Oct 23, 2025
| ---------- | ------------ | ---- | -------- |
| PAYMASTER_ENABLED | Enables Paymaster functionality. | Boolean | false |
| PAYMASTER_WHITELIST | Whitelisted addresses eligible for sponsorship. Use `*` for all. | String | "" |
| MAX_GAS_ALLOWANCE_HBAR | Max HBAR subsidy per transaction. | Decimal | 0 |
Copy link
Member

@natanasow natanasow Oct 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding the codebase https://github.com/hiero-ledger/hiero-json-rpc-relay/blob/main/packages/relay/src/lib/clients/sdkClient.ts#L182, this is not a decimal. Here is the official doc https://docs.hedera.com/hedera/sdks-and-apis/sdks/smart-contracts/ethereum-transaction.

This value is denominated in tinybars, and yeah, the config name is a little bit misleading.

# Demo / testnet
PAYMASTER_ENABLED=true
PAYMASTER_WHITELIST=*
MAX_GAS_ALLOWANCE_HBAR=0.15
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

```
---

## Paymaster (Gasless Transactions)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since Paymaster is still in the experimental stage, could you please add a short disclaimer section to mention that?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is meant by experimental? Isn't it deployed and anyone deploying their own JSON-RPC relay can use it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Keith sorry for the late response. So by experimental I meant that the Paymaster was implemented based on a POC and hasn’t gone through a full acceptance criteria review yet. It was built for a specific experimental use case requested previously, and only validated against successful (“happy path”) scenarios, not failure cases. So it might be unstable or prone to failure for now. That's why we should put a disclaimer for the section.

@konstantinabl konstantinabl modified the milestones: 0.73.0, 0.74.0 Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal For changes that affect the project's internal workings but not its outward-facing functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

document Paymaster for gasless transactions

4 participants