@daimo/pay 0.0.1 → 0.0.3
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/LICENSE +1 -1
- package/README.md +28 -40
- package/build/index.es.js +5064 -5807
- package/build/index.es.js.map +1 -1
- package/build/packages/paykit/packages/connectkit/src/components/Common/Modal/index.d.ts +1 -1
- package/build/packages/paykit/packages/connectkit/src/components/{ConnectKit.d.ts → DaimoPay.d.ts} +7 -10
- package/build/packages/paykit/packages/connectkit/src/components/{ConnectButton → DaimoPayButton}/index.d.ts +6 -9
- package/build/packages/paykit/packages/connectkit/src/components/{ConnectKitThemeProvider/ConnectKitThemeProvider.d.ts → DaimoPayThemeProvider/DaimoPayThemeProvider.d.ts} +3 -3
- package/build/packages/paykit/packages/connectkit/src/defaultConnectors.d.ts +1 -1
- package/build/packages/paykit/packages/connectkit/src/hooks/useConnect.d.ts +1 -1
- package/build/packages/paykit/packages/connectkit/src/hooks/useModal.d.ts +0 -1
- package/build/packages/paykit/packages/connectkit/src/index.d.ts +5 -9
- package/build/packages/paykit/packages/connectkit/src/styles/types.d.ts +1 -1
- package/build/packages/paykit/packages/connectkit/src/types.d.ts +1 -1
- package/build/packages/paykit/packages/connectkit/src/utils/getPaymentInfo.d.ts +3 -73
- package/build/packages/paykit/packages/connectkit/src/utils/index.d.ts +1 -1
- package/build/packages/paykit/packages/connectkit/src/utils/trpc.d.ts +1 -956
- package/package.json +3 -2
- package/build/packages/pay-api/src/db/codegen/dbPay.d.ts +0 -69
- package/build/packages/pay-api/src/db/db.d.ts +0 -68
- package/build/packages/pay-api/src/db/migrations/0.d.ts +0 -2
- package/build/packages/pay-api/src/db/migrations/1.d.ts +0 -2
- package/build/packages/pay-api/src/db/migrations/2.d.ts +0 -2
- package/build/packages/pay-api/src/db/migrations/3.d.ts +0 -2
- package/build/packages/pay-api/src/env.d.ts +0 -10
- package/build/packages/pay-api/src/index.d.ts +0 -2
- package/build/packages/pay-api/src/server/binanceClient.d.ts +0 -14
- package/build/packages/pay-api/src/server/constants.d.ts +0 -3
- package/build/packages/pay-api/src/server/dfsQuoter.d.ts +0 -21
- package/build/packages/pay-api/src/server/externalPaymentOptions.d.ts +0 -21
- package/build/packages/pay-api/src/server/orderProcessor.d.ts +0 -48
- package/build/packages/pay-api/src/server/orgManager.d.ts +0 -22
- package/build/packages/pay-api/src/server/router.d.ts +0 -252
- package/build/packages/pay-api/src/server/swap.d.ts +0 -24
- package/build/packages/pay-api/src/server/tokenBalances.d.ts +0 -12
- package/build/packages/pay-api/src/server/tokenRegistry.d.ts +0 -16
- package/build/packages/pay-api/src/server/viemChainClient.d.ts +0 -252
- package/build/packages/pay-api/src/server/viemClient.d.ts +0 -19
- package/build/packages/pay-api/src/trpc.d.ts +0 -129
- package/build/packages/pay-api/src/utils/clippy.d.ts +0 -2
- package/build/packages/pay-api/src/utils/request.d.ts +0 -19
- package/build/packages/paykit/packages/connectkit/src/components/BalanceButton/index.d.ts +0 -9
- package/build/packages/paykit/packages/connectkit/src/components/Pages/SignInWithEthereum/index.d.ts +0 -3
- package/build/packages/paykit/packages/connectkit/src/components/Pages/SignInWithEthereum/styles.d.ts +0 -5
- package/build/packages/paykit/packages/connectkit/src/components/Standard/SIWE/index.d.ts +0 -10
- package/build/packages/paykit/packages/connectkit/src/components/Standard/SIWE/styles.d.ts +0 -1
- package/build/packages/paykit/packages/connectkit/src/siwe/SIWEContext.d.ts +0 -42
- package/build/packages/paykit/packages/connectkit/src/siwe/SIWEProvider.d.ts +0 -11
- package/build/packages/paykit/packages/connectkit/src/siwe/index.d.ts +0 -3
- package/build/packages/paykit/packages/connectkit/src/siwe/useSIWE.d.ts +0 -21
- /package/build/packages/paykit/packages/connectkit/src/components/{ConnectButton → DaimoPayButton}/styles.d.ts +0 -0
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -5,73 +5,61 @@
|
|
|
5
5
|
|
|
6
6
|
# Daimo Pay
|
|
7
7
|
|
|
8
|
-
Daimo Pay
|
|
8
|
+
Daimo Pay enables seamless crypto payments for your app.
|
|
9
|
+
|
|
10
|
+
Onboard users from any chain, any coin into your app with one click and maximize your conversion.
|
|
9
11
|
|
|
10
12
|
## Features
|
|
11
13
|
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
14
|
+
- 🌱 Instant cross-chain payments — Accept payment from 1000+ tokens on multiple chains. Payments complete in less than 5 seconds. We handle the swapping and bridging so that your customers don't have to.
|
|
15
|
+
- 💡 Pay with a single transaction - No more wallet round-trips to make approval, swap, or bridging transactions. Your customers pay with a single transfer transaction.
|
|
16
|
+
- ⚡️ Fully permissionless - Daimo never custodies funds and funds can never be stuck in a contract. Payments can be permissionlessly completed by anyone.
|
|
17
|
+
- 💱 Support for all major wallets and exchanges - Daimo Pay supports payments from browser wallets like MetaMask and Rabby, WalletConnect, as well as exchanges like Coinbase and Binance.
|
|
18
|
+
- 💨 Integrate within minutes - Get up and running with Daimo Pay in as little as 10 minutes with little to no code.
|
|
16
19
|
|
|
17
20
|
and much more...
|
|
18
21
|
|
|
19
22
|
## Documentation
|
|
20
23
|
|
|
21
|
-
You can find the full
|
|
22
|
-
|
|
23
|
-
## API Reference
|
|
24
|
-
|
|
25
|
-
You can find the full API Reference in the Family docs [here](https://docs.family.co/connectkit/api-reference).
|
|
24
|
+
You can find the full Daimo Pay documentation [here](https://paydocs.daimo.com).
|
|
26
25
|
|
|
27
26
|
## Examples
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- [Create React App Example (TypeScript)](https://github.com/family/connectkit/tree/main/examples/cra)
|
|
32
|
-
- [Next.js Example (TypeScript)](https://github.com/family/connectkit/tree/main/examples/nextjs)
|
|
33
|
-
- [Vite Example (TypeScript)](https://github.com/family/connectkit/tree/main/examples/vite)
|
|
28
|
+
Check out https://github.com/daimo-eth/pay-hello-world. More coming soon.
|
|
34
29
|
|
|
35
30
|
### Try in CodeSandbox
|
|
36
31
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
- [Create React App Example (TypeScript)](https://codesandbox.io/s/5rhqm0?file=/README.md)
|
|
40
|
-
- [Next.js (TypeScript)](https://codesandbox.io/s/qnvyqe?file=/README.md)
|
|
41
|
-
- [Vite Example (TypeScript)](https://codesandbox.io/s/4jtssh?file=/README.md)
|
|
32
|
+
Coming soon
|
|
42
33
|
|
|
43
|
-
###
|
|
34
|
+
### Local Development
|
|
44
35
|
|
|
45
|
-
Clone the
|
|
36
|
+
Clone the repository and build the SDK in `dev` mode:
|
|
46
37
|
|
|
47
38
|
```sh
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
git clone https://github.com/daimo-eth/paykit.git
|
|
40
|
+
cd paykit/packages/connectkit
|
|
41
|
+
npm i
|
|
42
|
+
npm run dev
|
|
51
43
|
```
|
|
52
44
|
|
|
53
|
-
|
|
45
|
+
The rollup bundler will now watch file changes in the background. Try using one of the examples for testing:
|
|
54
46
|
|
|
55
47
|
```sh
|
|
56
|
-
|
|
48
|
+
cd examples/nextjs
|
|
49
|
+
npm i
|
|
50
|
+
npm run dev
|
|
57
51
|
```
|
|
58
52
|
|
|
59
|
-
|
|
53
|
+
Any changes will be reflected on the Pay button in the example app.
|
|
60
54
|
|
|
61
|
-
|
|
62
|
-
$ yarn dev:vite # Vite
|
|
63
|
-
$ yarn dev:nextjs # Next.js
|
|
64
|
-
$ yarn dev:cra # Create React App
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Contribute
|
|
55
|
+
## Support
|
|
68
56
|
|
|
69
|
-
|
|
57
|
+
Message us on [Telegram](https://t.me/daimo_support) if you're interested in integrating Daimo Pay.
|
|
70
58
|
|
|
71
|
-
##
|
|
59
|
+
## License
|
|
72
60
|
|
|
73
|
-
|
|
61
|
+
See [LICENSE](https://github.com/daimo-eth/paykit/blob/main/packages/connectkit/LICENSE) for more information.
|
|
74
62
|
|
|
75
|
-
##
|
|
63
|
+
## Credits
|
|
76
64
|
|
|
77
|
-
|
|
65
|
+
Daimo Pay SDK is a fork of [Connectkit](https://github.com/family/connectkit) developed by [Family](https://family.co). We're grateful to them for making Connectkit fast, beatiful and open-source.
|