Skip to content

Commit 2bee0ad

Browse files
committed
feat: update ap url
1 parent 79ac07e commit 2bee0ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {ethers} from "ethers";
2525
import {PaymasterClient, SponsorClient} from 'megafuel-js-sdk';
2626

2727
const PAYMASTER_URL = "https://bsc-megafuel.nodereal.io"
28-
const SPONSOR_URL = "https://open-platform.nodereal.io/{YOUR_API_KEY}/megafuel"
28+
const SPONSOR_URL = "https://open-platform-ap.nodereal.io/{YOUR_API_KEY}/megafuel"
2929

3030
const POLICY_UUID = "a2381160-xxxx-xxxx-xxxxceca86556834"
3131
const TOKEN_CONTRACT_ADDRESS = "0xeD2.....12Ee"

tests/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dotenv.config({
66

77
// testnet env
88
export const OPEN_PLATFORM_PRIVATE_KEY = process.env.OPEN_PLATFORM_PRIVATE_KEY
9-
export const SPONSOR_URL = `https://open-platform.nodereal.io/${OPEN_PLATFORM_PRIVATE_KEY}/megafuel-testnet`
9+
export const SPONSOR_URL = `https://open-platform-ap.nodereal.io/${OPEN_PLATFORM_PRIVATE_KEY}/megafuel-testnet`
1010
export const CHAIN_ID = '97'
1111
export const CHAIN_URL = `https://bsc-testnet.nodereal.io/v1/${OPEN_PLATFORM_PRIVATE_KEY}`
1212
export const PAYMASTER_URL = 'https://bsc-megafuel-testnet.nodereal.io/97'

0 commit comments

Comments
 (0)