@x402-crosschain/sdk 1.0.1 โ 1.0.2
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/README.md +16 -24
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -217,7 +217,7 @@ if (result.success) {
|
|
|
217
217
|
|
|
218
218
|
---
|
|
219
219
|
|
|
220
|
-
##
|
|
220
|
+
## **Supported Chains**
|
|
221
221
|
|
|
222
222
|
The SDK supports 69+ chains via Relay Network:
|
|
223
223
|
|
|
@@ -242,7 +242,7 @@ See full list: https://docs.relay.link/resources/supported-chains
|
|
|
242
242
|
|
|
243
243
|
---
|
|
244
244
|
|
|
245
|
-
##
|
|
245
|
+
## **Token Support**
|
|
246
246
|
|
|
247
247
|
### **Source Chains (What customers can pay with)**
|
|
248
248
|
- Native tokens (ETH, MATIC, AVAX, etc.)
|
|
@@ -259,7 +259,7 @@ See full list: https://docs.relay.link/resources/supported-chains
|
|
|
259
259
|
|
|
260
260
|
---
|
|
261
261
|
|
|
262
|
-
##
|
|
262
|
+
## **Advanced Configuration**
|
|
263
263
|
|
|
264
264
|
### **Dynamic Pricing**
|
|
265
265
|
|
|
@@ -330,7 +330,7 @@ See [Facilitator Documentation](../facilitator/README.md) for details.
|
|
|
330
330
|
|
|
331
331
|
---
|
|
332
332
|
|
|
333
|
-
##
|
|
333
|
+
## **Fee Structure**
|
|
334
334
|
|
|
335
335
|
### **Cross-Chain Payment Costs**
|
|
336
336
|
|
|
@@ -358,7 +358,7 @@ Effective fee: 0.5%
|
|
|
358
358
|
|
|
359
359
|
---
|
|
360
360
|
|
|
361
|
-
##
|
|
361
|
+
## **Security**
|
|
362
362
|
|
|
363
363
|
### **Payment Verification**
|
|
364
364
|
- All payments verified on-chain
|
|
@@ -379,7 +379,7 @@ const signer = new Wallet(process.env.PRIVATE_KEY, provider);
|
|
|
379
379
|
|
|
380
380
|
---
|
|
381
381
|
|
|
382
|
-
##
|
|
382
|
+
## **Testing**
|
|
383
383
|
|
|
384
384
|
### **Test Networks**
|
|
385
385
|
|
|
@@ -400,7 +400,7 @@ paymentMiddleware({
|
|
|
400
400
|
|
|
401
401
|
---
|
|
402
402
|
|
|
403
|
-
##
|
|
403
|
+
## **Examples**
|
|
404
404
|
|
|
405
405
|
### **E-commerce API**
|
|
406
406
|
|
|
@@ -457,32 +457,23 @@ app.use(
|
|
|
457
457
|
|
|
458
458
|
---
|
|
459
459
|
|
|
460
|
-
##
|
|
460
|
+
## **Support**
|
|
461
|
+
|
|
462
|
+
- **GitHub Issues**: https://github.com/divi2806/x402-cross-bridge-sdk/issues
|
|
463
|
+
- **Email**: divyansh2824@gmail.com
|
|
461
464
|
|
|
462
|
-
- **Documentation**: [https://docs.x402crosschain.com](https://docs.x402crosschain.com)
|
|
463
|
-
- **GitHub Issues**: [https://github.com/your-org/x402-cross-bridge-sdk/issues](https://github.com/your-org/x402-cross-bridge-sdk/issues)
|
|
464
|
-
- **Discord**: [Join our community](https://discord.gg/your-invite)
|
|
465
|
-
- **Email**: support@x402crosschain.com
|
|
466
465
|
|
|
467
466
|
---
|
|
468
467
|
|
|
469
|
-
##
|
|
468
|
+
## **License**
|
|
470
469
|
|
|
471
|
-
|
|
470
|
+
MIT License
|
|
472
471
|
|
|
473
472
|
---
|
|
474
473
|
|
|
475
|
-
## ๐ **Acknowledgments**
|
|
476
|
-
|
|
477
|
-
Built on top of:
|
|
478
|
-
- [x402 Protocol](https://x402.org) - Open payment standard
|
|
479
|
-
- [Relay Network](https://relay.link) - Instant cross-chain bridging
|
|
480
|
-
- [viem](https://viem.sh) - TypeScript EVM library
|
|
481
|
-
- [ethers.js](https://docs.ethers.org) - Ethereum library
|
|
482
|
-
|
|
483
474
|
---
|
|
484
475
|
|
|
485
|
-
##
|
|
476
|
+
## **Changelog**
|
|
486
477
|
|
|
487
478
|
### v1.0.0
|
|
488
479
|
- Initial release
|
|
@@ -492,6 +483,7 @@ Built on top of:
|
|
|
492
483
|
- Self-hosted facilitator option
|
|
493
484
|
- Comprehensive documentation
|
|
494
485
|
|
|
486
|
+
## **Reference**
|
|
487
|
+
- Refer to facilitator on how to integrate/use the cross chain facilitator - https://www.npmjs.com/package/@x402-crosschain/facilitator
|
|
495
488
|
---
|
|
496
489
|
|
|
497
|
-
**Made with โค๏ธ by the x402 Cross-Chain Team**
|