@4mica/x402 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/scheme.js +1 -1
- package/dist/server/scheme.js +4 -4
- package/package.json +1 -1
package/dist/client/scheme.js
CHANGED
|
@@ -3,7 +3,7 @@ import { SUPPORTED_NETWORKS } from '../server/scheme.js';
|
|
|
3
3
|
const NETWORK_RPC_URLS = {
|
|
4
4
|
'eip155:11155111': 'https://ethereum.sepolia.api.4mica.xyz',
|
|
5
5
|
'eip155:84532': 'https://base.sepolia.api.4mica.xyz',
|
|
6
|
-
'eip155:
|
|
6
|
+
'eip155:8453': 'https://base.api.4mica.xyz',
|
|
7
7
|
};
|
|
8
8
|
export class FourMicaEvmScheme {
|
|
9
9
|
constructor(signer,
|
package/dist/server/scheme.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const SUPPORTED_NETWORKS = ['eip155:11155111', 'eip155:84532', 'eip155:
|
|
1
|
+
export const SUPPORTED_NETWORKS = ['eip155:11155111', 'eip155:84532', 'eip155:8453'];
|
|
2
2
|
/**
|
|
3
3
|
* EVM server implementation for the 4mica payment scheme.
|
|
4
4
|
*/
|
|
@@ -169,12 +169,12 @@ export class FourMicaEvmScheme {
|
|
|
169
169
|
version: '2',
|
|
170
170
|
decimals: 6,
|
|
171
171
|
}, // Base Sepolia USDC
|
|
172
|
-
'eip155:
|
|
173
|
-
address: '
|
|
172
|
+
'eip155:8453': {
|
|
173
|
+
address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
|
|
174
174
|
name: 'USDC',
|
|
175
175
|
version: '2',
|
|
176
176
|
decimals: 6,
|
|
177
|
-
}, //
|
|
177
|
+
}, // Base mainnet USDC
|
|
178
178
|
};
|
|
179
179
|
const assetInfo = stablecoins[network];
|
|
180
180
|
if (!assetInfo) {
|