@nomadpay/widgets 0.0.1-alpha.11
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 +61 -0
- package/dist/esm/index.js +6003 -0
- package/package.json +127 -0
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
## Nomad Pay Widget
|
|
2
|
+
|
|
3
|
+
Crypto Web3 Payment Widget by Nomadpay
|
|
4
|
+
|
|
5
|
+
### For Developers
|
|
6
|
+
|
|
7
|
+
#### 1. installation
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
npm install @nomadpay/widgets@alpha --save
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
##### or
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
yarn add @nomadpay/widgets@alpha
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
#### 2. Import in your JavaScript files
|
|
20
|
+
|
|
21
|
+
```js
|
|
22
|
+
import NomadPayWidgets from '@nomadpay/widgets'
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
#### 3. Payment Widget
|
|
26
|
+
|
|
27
|
+
```js
|
|
28
|
+
NomadPayWidgets.Payment({
|
|
29
|
+
integration: 'YOUR_INTEGRATION_ID',
|
|
30
|
+
})
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[More options](https://docs.nomadpay.io/developer-documentation/widget-integration)
|
|
34
|
+
|
|
35
|
+
#### Blockchains
|
|
36
|
+
|
|
37
|
+
- Ethereum
|
|
38
|
+
- BNB Smart Chain
|
|
39
|
+
- Polygon
|
|
40
|
+
- Solana
|
|
41
|
+
- Optimism
|
|
42
|
+
- Arbitrum
|
|
43
|
+
- Avalanche
|
|
44
|
+
- Base
|
|
45
|
+
- Unichain
|
|
46
|
+
- Tron
|
|
47
|
+
- Ton
|
|
48
|
+
|
|
49
|
+
#### Wallets
|
|
50
|
+
|
|
51
|
+
Nomadpay supports [crypto wallets](https://docs.nomadpay.io/merchant-user-guide/appendix#a-supported-blockchains-%26-wallets)
|
|
52
|
+
|
|
53
|
+
### For Contributors
|
|
54
|
+
|
|
55
|
+
#### Quick start
|
|
56
|
+
|
|
57
|
+
```js
|
|
58
|
+
yarn install
|
|
59
|
+
yarn dev // for umd
|
|
60
|
+
yarn dev-esm // for esm
|
|
61
|
+
```
|