quicknode-solana-kit 1.0.0 → 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 +3 -40
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# quicknode-solana-kit
|
|
2
2
|
|
|
3
3
|
**The unified TypeScript SDK for every QuickNode Solana add-on.**
|
|
4
4
|
|
|
5
5
|
One install. One config. Priority fees, Jito bundles, NFT queries, Jupiter swaps, and live streaming — all typed, all in one place.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install
|
|
8
|
+
npm install quicknode-solana-kit
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
---
|
|
@@ -49,7 +49,7 @@ const result = await kit.sendSmartTransaction({ transaction, signer });
|
|
|
49
49
|
### 1. Install
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
|
-
npm install
|
|
52
|
+
npm install quicknode-solana-kit
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
### 2. Get a QuickNode endpoint
|
|
@@ -445,39 +445,6 @@ npm run example:swap # Jupiter swap quote (needs Metis add-on)
|
|
|
445
445
|
npm run example:all
|
|
446
446
|
```
|
|
447
447
|
|
|
448
|
-
---
|
|
449
|
-
|
|
450
|
-
## Project Structure
|
|
451
|
-
|
|
452
|
-
```
|
|
453
|
-
src/
|
|
454
|
-
index.ts ← QNSolanaKit class + all exports
|
|
455
|
-
addons.ts ← checkAddOns() diagnostic
|
|
456
|
-
types/
|
|
457
|
-
index.ts ← All TypeScript types
|
|
458
|
-
errors.ts ← Typed error classes
|
|
459
|
-
utils/
|
|
460
|
-
helpers.ts ← Connection, sleep, etc.
|
|
461
|
-
http.ts ← rpcPost, httpGet, httpPost
|
|
462
|
-
addon-guard.ts ← requireAddOn, isAddOnEnabled
|
|
463
|
-
transactions/
|
|
464
|
-
priority-fees.ts ← estimatePriorityFees
|
|
465
|
-
smart-transaction.ts ← sendSmartTransaction, prepareSmartTransaction
|
|
466
|
-
assets/
|
|
467
|
-
das.ts ← getAssetsByOwner, getAsset, searchAssets, etc.
|
|
468
|
-
streaming/
|
|
469
|
-
watcher.ts ← watchAccount, watchProgram, watchSlot
|
|
470
|
-
swap/
|
|
471
|
-
jupiter.ts ← swap, getSwapQuote, TOKENS
|
|
472
|
-
examples/
|
|
473
|
-
1-smart-transaction.ts
|
|
474
|
-
2-nft-queries.ts
|
|
475
|
-
3-live-streaming.ts
|
|
476
|
-
4-jupiter-swap.ts
|
|
477
|
-
run-all.ts
|
|
478
|
-
```
|
|
479
|
-
|
|
480
|
-
---
|
|
481
448
|
|
|
482
449
|
## Links
|
|
483
450
|
|
|
@@ -489,7 +456,3 @@ examples/
|
|
|
489
456
|
- Yellowstone gRPC: https://marketplace.quicknode.com/add-ons/yellowstone-grpc
|
|
490
457
|
|
|
491
458
|
---
|
|
492
|
-
|
|
493
|
-
## License
|
|
494
|
-
|
|
495
|
-
MIT © QuickNode
|
package/package.json
CHANGED