@gasfree-kit/ton-gasless 0.2.0 → 0.3.0
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 +10 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,21 +46,20 @@ With this package, the user only needs USDT. The relay pays the TON gas and char
|
|
|
46
46
|
└──────────────────────────┘
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
```
|
|
49
|
+
## Prerequisites
|
|
50
|
+
|
|
51
|
+
This package depends on [`@gasfree-kit/core`](../core/README.md) for:
|
|
52
|
+
|
|
53
|
+
- **Seed phrase generation** — `generateSeedPhrase()` creates the mnemonic used to set up wallets
|
|
54
|
+
- **Address validation** — `validateTonAddress()` catches malformed addresses before sending
|
|
55
|
+
- **Error classes** — `GasfreeError`, `InsufficientBalanceError`, etc. for consistent error handling
|
|
56
|
+
|
|
57
|
+
`@gasfree-kit/core` is installed automatically as a dependency.
|
|
59
58
|
|
|
60
59
|
## Installation
|
|
61
60
|
|
|
62
61
|
```bash
|
|
63
|
-
npm install @gasfree-kit/ton-gasless
|
|
62
|
+
npm install @gasfree-kit/ton-gasless @gasfree-kit/core
|
|
64
63
|
```
|
|
65
64
|
|
|
66
65
|
Peer dependencies:
|