@settlr/sdk 0.4.3 → 0.4.4

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 CHANGED
@@ -4,19 +4,21 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/@settlr/sdk.svg)](https://www.npmjs.com/package/@settlr/sdk)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6
6
 
7
- > **Settlr** - Accept Solana USDC payments in games and apps. Email checkout, gasless transactions, no wallet required.
7
+ > **Accept crypto payments without wallets.** Customers pay with email. You get USDC instantly.
8
8
 
9
9
  🌐 **Website:** [settlr.dev](https://settlr.dev)
10
10
  📖 **Docs:** [settlr.dev/docs](https://settlr.dev/docs)
11
- 🎮 **Demo:** [settlr.dev/demo](https://settlr.dev/demo)
11
+ 🎮 **Demo:** [settlr.dev/demo](https://settlr.dev/demo)
12
+ 💻 **GitHub:** [github.com/ABFX15/x402-hack-payment](https://github.com/ABFX15/x402-hack-payment)
12
13
 
13
14
  ## Why Settlr?
14
15
 
15
- - ✅ **No wallet required** - Users pay with just an email
16
- - ✅ **Gasless transactions** - No SOL needed for fees
17
- - ✅ **USDC on Solana** - Fast, cheap, stable payments
18
- - ✅ **Drop-in components** - React components ready to use
19
- - ✅ **Gaming focused** - Built for in-game purchases
16
+ - ✅ **No wallet required** - Customers pay with just an email
17
+ - ✅ **Zero gas fees** - No SOL needed, ever (Kora gasless)
18
+ - ✅ **Pay from any chain** - Accept USDC from Ethereum, Base, Arbitrum, Polygon, Optimism (Mayan)
19
+ - ✅ **Instant settlement** - USDC direct to your Solana wallet
20
+ - ✅ **One component** - Drop-in React `<BuyButton>`
21
+ - ✅ **2% flat fee** - No hidden costs
20
22
 
21
23
  ## Installation
22
24
 
@@ -110,6 +112,21 @@ Settlr checkout handles authentication via Privy:
110
112
 
111
113
  No wallet-adapter setup needed. Just redirect to checkout.
112
114
 
115
+ ### Multichain Payments
116
+
117
+ Customers can pay with USDC from any supported chain. Settlr automatically bridges funds to your Solana wallet via Mayan:
118
+
119
+ | Source Chain | Bridge Time | Gas Cost |
120
+ | ------------ | ----------- | -------------- |
121
+ | Solana | Instant | Free (gasless) |
122
+ | Base | ~1-2 min | ~$0.01 |
123
+ | Arbitrum | ~1-2 min | ~$0.01 |
124
+ | Optimism | ~1-2 min | ~$0.01 |
125
+ | Polygon | ~1-2 min | ~$0.01 |
126
+ | Ethereum | ~1-3 min | ~$1-5 |
127
+
128
+ **You only need a Solana wallet** - cross-chain bridging is automatic.
129
+
113
130
  ### React Hook
114
131
 
115
132
  ```tsx
package/dist/index.js CHANGED
@@ -633,7 +633,7 @@ var defaultStyles = {
633
633
  fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'
634
634
  },
635
635
  primary: {
636
- background: "linear-gradient(135deg, #f472b6 0%, #67e8f9 100%)",
636
+ background: "linear-gradient(135deg, rgb(168, 85, 247) 0%, rgb(34, 211, 238) 100%)",
637
637
  color: "white"
638
638
  },
639
639
  secondary: {
@@ -643,8 +643,8 @@ var defaultStyles = {
643
643
  },
644
644
  outline: {
645
645
  background: "transparent",
646
- color: "#f472b6",
647
- border: "2px solid #f472b6"
646
+ color: "rgb(168, 85, 247)",
647
+ border: "2px solid rgb(168, 85, 247)"
648
648
  },
649
649
  sm: {
650
650
  padding: "8px 16px",
package/dist/index.mjs CHANGED
@@ -590,7 +590,7 @@ var defaultStyles = {
590
590
  fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'
591
591
  },
592
592
  primary: {
593
- background: "linear-gradient(135deg, #f472b6 0%, #67e8f9 100%)",
593
+ background: "linear-gradient(135deg, rgb(168, 85, 247) 0%, rgb(34, 211, 238) 100%)",
594
594
  color: "white"
595
595
  },
596
596
  secondary: {
@@ -600,8 +600,8 @@ var defaultStyles = {
600
600
  },
601
601
  outline: {
602
602
  background: "transparent",
603
- color: "#f472b6",
604
- border: "2px solid #f472b6"
603
+ color: "rgb(168, 85, 247)",
604
+ border: "2px solid rgb(168, 85, 247)"
605
605
  },
606
606
  sm: {
607
607
  padding: "8px 16px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlr/sdk",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Settlr SDK - Accept Solana USDC payments in games and apps. Email checkout, gasless transactions, no wallet required. The easiest way to add crypto payments.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",