Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.94 KB

readme.md

File metadata and controls

38 lines (29 loc) · 1.94 KB

MegaFuel client Example

This repository hosts a collection of examples implemented in both Golang and JavaScript for the MegaFuel Paymaster. The client implementation follows the API standards of BEP-414. The examples include:

  • Wallet integration: The wallet can detect transactions eligible for sponsorship through MegaFuel's API, and send these sponsorship-eligible transactions via the paymaster. As the solution is permissionless, any wallets are welcome to integrate.
  • Centralized Exchange (CEX) integration: Token issuers promote the adoption of their tokens by sponsoring CEX users to withdraw funds with zero gas fees. The CEX then manages this sponsorship policy through MegaFuel's interface.
  • Payment gateway integration: The payment gateway sponsors consumers to pay with ERC20 tokens without incurring gas fees, using MegaFuel to manage the sponsorship policy.

Network Endpoint

Quick Start

Please get ERC20 token for test before you start:

  1. Visit Faucet: https://www.bnbchain.org/en/testnet-faucet
  2. Claim any kind of ERC20 token except BNB. image
  3. Follow the detailed instructions to run examples:

More Docs about the MegaFuel Paymaster