File tree Expand file tree Collapse file tree 12 files changed +15
-15
lines changed Expand file tree Collapse file tree 12 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ from the official faucet)
17
17
18
18
- Set " TokenContractAddress" to the ERC20 token contract address that users want to withdraw.
19
19
- Set " WithdrawRecipientAddress" to the receiver address of user' s withdrawal request.
20
- - Set "SponsorPolicyId" to the policy ID created by the sponsor on Megafuel Paymaster, create one
20
+ - Set "SponsorPolicyId" to the policy ID created by the sponsor on MegaFuel Paymaster, create one
21
21
from [here](https://docs.nodereal.io/docs/megafuel-sponsor-guidelines) if you don' t have it.
22
22
- Set " SponsorAPIEndpoint" to the API key created by the sponsor in the Nodereal dashboard.
23
23
create one from [here](https://docs.nodereal.io/docs/megafuel-sponsor-guidelines) if you don' t have it.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " megafuel-paymaster-example" ,
3
3
"version" : " 1.0.0" ,
4
- "description" : " A script to send Ethereum transactions with 0 gas price through Megafuel Paymaster" ,
4
+ "description" : " A script to send Ethereum transactions with 0 gas price through MegaFuel Paymaster" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"start" : " node index.js"
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ from the official faucet)
22
22
- ' TOKEN_CONTRACT_ADDRESS' with the ERC20 token that the Payment Gateway support.
23
23
- ' SPONSOR_API_KEY' to the API key created by the Sponsor in the Nodereal dashboard. create one
24
24
from [here](https://docs.nodereal.io/docs/megafuel-sponsor-guidelines) if you don' t have it.
25
- - ' SPONSOR_POLICY_ID' to the policy ID created by the sponsor on Megafuel Paymaster, create one
25
+ - ' SPONSOR_POLICY_ID' to the policy ID created by the sponsor on MegaFuel Paymaster, create one
26
26
from [here](https://docs.nodereal.io/docs/megafuel-sponsor-guidelines) if you don' t have it.
27
27
28
28
3. Run script
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ from the official faucet)
17
17
18
18
- Set " PaymentTokenContractAddress" to the ERC20 token contract address users will use for payment.
19
19
- Set " PaymentRecipientAddress" to the receiver address for the Payment Gateway' s generated payment link.
20
- - Set "PaymentSponsorPolicyId" to the policy ID created by the Payment Gateway on Megafuel Paymaster, create one
20
+ - Set "PaymentSponsorPolicyId" to the policy ID created by the Payment Gateway on MegaFuel Paymaster, create one
21
21
from [here](https://docs.nodereal.io/docs/megafuel-sponsor-guidelines) if you don' t have it.
22
22
- Set " SponsorAPIEndpoint" to the API key created by the Payment Gateway in the Nodereal dashboard.
23
23
create one from [here](https://docs.nodereal.io/docs/megafuel-sponsor-guidelines) if you don' t have it.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " megafuel-paymaster-example" ,
3
3
"version" : " 1.0.0" ,
4
- "description" : " A script to send Ethereum transactions with 0 gas price through Megafuel Paymaster" ,
4
+ "description" : " A script to send Ethereum transactions with 0 gas price through MegaFuel Paymaster" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"start" : " node index.js"
Original file line number Diff line number Diff line change 1
1
# Js Example
2
2
This repository contains a Js application demonstrating:
3
3
1 . Payment Gateway manage the sponsor policy to sponsor any transaction that send BEP20 to them.
4
- 2 . User send ERC20 token transfers to payment gateway without pay gas fee through Megafuel paymaster.
4
+ 2 . User send ERC20 token transfers to payment gateway without pay gas fee through MegaFuel paymaster.
5
5
6
6
## Quick Start
7
7
@@ -22,7 +22,7 @@ from the official faucet)
22
22
- ' TOKEN_CONTRACT_ADDRESS' with the ERC20 token that the Payment Gateway support.
23
23
- ' SPONSOR_API_KEY' to the API key created by the Payment Gateway in the Nodereal dashboard. create one
24
24
from [here](https://docs.nodereal.io/docs/megafuel-sponsor-guidelines) if you don' t have it.
25
- - ' SPONSOR_POLICY_ID' to the policy ID created by the Payment Gateway on Megafuel Paymaster, create one
25
+ - ' SPONSOR_POLICY_ID' to the policy ID created by the Payment Gateway on MegaFuel Paymaster, create one
26
26
from [here](https://docs.nodereal.io/docs/megafuel-sponsor-guidelines) if you don' t have it.
27
27
28
28
3. Run script
Original file line number Diff line number Diff line change 1
1
# Payment Gateway Example
2
2
3
3
In payment scenarios, it's most common for users to pay with stablecoins. However, users might not possess the
4
- gas token of the specific blockchain network. Therefore, Megafuel allows payment gateways or other third parties
4
+ gas token of the specific blockchain network. Therefore, MegaFuel allows payment gateways or other third parties
5
5
to pay the gas fee on behalf of the users.
6
6
7
7
## Prepare Work
Original file line number Diff line number Diff line change 1
- # Megafuel client Example
1
+ # MegaFuel client Example
2
2
3
- This repository hosts a collection of examples implemented in both Golang and JavaScript for the [ Megafuel Paymaster] ( https://docs.nodereal.io/docs/megafuel-overview ) .
3
+ This repository hosts a collection of examples implemented in both Golang and JavaScript for the [ MegaFuel Paymaster] ( https://docs.nodereal.io/docs/megafuel-overview ) .
4
4
The client implementation follows the API standards of [ BEP-414] ( https://github.com/bnb-chain/BEPs/blob/master/BEPs/BEP-414.md ) .
5
5
The examples include:
6
6
@@ -30,7 +30,7 @@ Please get ERC20 token for test before you start:
30
30
- [ For payment gateway integration] ( ./payment-gateway/readme.md )
31
31
- [ For Cex integration] ( ./cex/readme.md )
32
32
33
- ## More Docs about the Megafuel Paymaster
33
+ ## More Docs about the MegaFuel Paymaster
34
34
- [ Paymaster Overview] ( https://docs.nodereal.io/docs/megafuel-overview )
35
35
- [ Sponsor Policy Management] ( https://docs.nodereal.io/docs/megafuel-policy-management )
36
36
- [ Sponsor Guidelines] ( https://docs.nodereal.io/docs/megafuel-sponsor-guidelines )
Original file line number Diff line number Diff line change 1
1
# GO Example
2
- This repository contains a Go application demonstrating how to send gasless tx on BSC through Megafuel
2
+ This repository contains a Go application demonstrating how to send gasless tx on BSC through MegaFuel
3
3
paymaster.
4
4
5
5
## Quick Start
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " megafuel-paymaster-example" ,
3
3
"version" : " 1.0.0" ,
4
- "description" : " A script to send BSC transactions with 0 gas price through Megafuel paymaster" ,
4
+ "description" : " A script to send BSC transactions with 0 gas price through MegaFuel paymaster" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"start" : " node index.js"
You can’t perform that action at this time.
0 commit comments