@dropsy/airdrop 0.0.3 → 0.1.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/package.json CHANGED
@@ -1,52 +1,56 @@
1
- {
2
- "name": "@dropsy/airdrop",
3
- "version": "0.0.3",
4
- "description": "TypeScript SDK for interacting with the Dropsy on-chain Solana airdrop protocol. Easily create, manage, and claim airdrops from any Solana-based dApp.",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.mjs",
7
- "types": "./dist/index.d.ts",
8
- "publishConfig": {
9
- "access": "public"
10
- },
11
- "homepage": "https://github.com/scoolmb/dropsy-airdrop",
12
- "repository": {
13
- "type": "git",
14
- "url": "https://github.com/scoolmb/dropsy-airdrop"
15
- },
16
- "scripts": {
17
- "build": "tsup",
18
- "docs": "typedoc",
19
- "deploy:docs": "gh-pages -d docs"
20
- },
21
- "files": [
22
- "dist",
23
- "README.md"
24
- ],
25
- "keywords": [
26
- "solana",
27
- "airdrop",
28
- "web3",
29
- "solana-sdk",
30
- "solana-airdrop",
31
- "dropsy",
32
- "typescript",
33
- "client-sdk",
34
- "anchor",
35
- "claim-tokens",
36
- "solana-dapp",
37
- "claim-solana-dapp",
38
- "solana-airdrop-dapp"
39
- ],
40
- "author": "MBK Official",
41
- "license": "MIT",
42
- "devDependencies": {
43
- "@types/node": "^22.15.29",
44
- "gh-pages": "^6.3.0",
45
- "tsup": "^8.5.0",
46
- "typedoc": "^0.28.5",
47
- "typescript": "^5.8.3"
48
- },
49
- "dependencies": {
50
- "@solana/kit": "^2.1.1"
51
- }
52
- }
1
+ {
2
+ "name": "@dropsy/airdrop",
3
+ "version": "0.1.0",
4
+ "description": "Dropsy - The On-Chain Airdrop Protocol for Solana",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "homepage": "https://github.com/dropsy/airdrop",
12
+ "repository": {
13
+ "url": "https://github.com/dropsy/airdrop"
14
+ },
15
+ "scripts": {
16
+ "test": "ts-node index.ts",
17
+ "build": "tsup"
18
+ },
19
+ "keywords": [
20
+ "solana",
21
+ "solana airdrop",
22
+ "web3",
23
+ "create airdrop",
24
+ "solana web3",
25
+ "dropsy",
26
+ "solana devtools",
27
+ "token distribution",
28
+ "airdrop protocol",
29
+ "solana sdk",
30
+ "merkle airdrop",
31
+ "gasless airdrop",
32
+ "solana token launch",
33
+ "nft airdrop",
34
+ "decentralized distribution",
35
+ "solana-program-library",
36
+ "anchor program",
37
+ "spl token",
38
+ "solana crypto",
39
+ "airdrop automation",
40
+ "web3 rewards",
41
+ "solana developer tools"
42
+ ],
43
+ "author": "MBK Official",
44
+ "license": "MIT",
45
+ "devDependencies": {
46
+ "@types/node": "^22.15.29",
47
+ "tsup": "^8.5.0",
48
+ "typedoc": "^0.28.5",
49
+ "typescript": "^5.8.3"
50
+ },
51
+ "dependencies": {
52
+ "@solana-program/token": "^0.5.1",
53
+ "@solana/kit": "^2.1.1",
54
+ "merkletreejs": "^0.5.2"
55
+ }
56
+ }
package/readme.md ADDED
@@ -0,0 +1,105 @@
1
+ # dropsy-airdrop beta
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@dropsy/airdrop.svg)](https://www.npmjs.com/package/@dropsy/airdrop)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+ [![Docs](https://img.shields.io/badge/docs-online-blue)](https://scoolmb.github.io/dropsy-airdrop/)
6
+
7
+ A modern client SDK for interacting with the **Dropsy Airdrop Protocol** on Solana, built with:
8
+
9
+ - ✅ TypeScript
10
+ - ⚙️ [tsup](https://github.com/egoist/tsup) for fast bundling
11
+ - 🔀 Dual CJS (`require`) and ESM (`import`) support
12
+ - 📦 Auto-generated type declarations
13
+
14
+ ## 🚨 Important Notes
15
+
16
+ ⚠️ This SDK is in active development
17
+ ⚠️ All program addresses are temporary
18
+ ⚠️ Instruction formats may change without warning
19
+ ⚠️ Devnet only - no mainnet support yet
20
+
21
+ ## 🛠 Coming Soon
22
+
23
+ **📖 Interactive Documentation**
24
+ Full API docs with live examples
25
+
26
+ **🧪 Testnet Sandbox**
27
+ Try before you integrate
28
+
29
+ **🎮 CLI Interface**
30
+ Command-line airdrop management
31
+
32
+ ## 🔭 Current Status (v0.β)
33
+
34
+ - **Network**: Devnet only
35
+ - **Stability**: Experimental
36
+ - **Program ID**: Subject to change
37
+ - **Roadmap**: Mainnet launch
38
+
39
+ > Full API documentation: [https://scoolmb.github.io/dropsy-airdrop](https://scoolmb.github.io/dropsy-airdrop)
40
+
41
+ ## Installation
42
+
43
+ ```bash
44
+ npm install @dropsy/airdrop
45
+ # or
46
+ yarn add @dropsy/airdrop
47
+ # or
48
+ pnpm add @dropsy/airdrop
49
+ ```
50
+
51
+ The @solana/kit is required if not already installed:
52
+
53
+ # Using npm
54
+
55
+ npm install @solana/kit
56
+
57
+ # Using yarn
58
+
59
+ yarn add @solana/kit
60
+
61
+ ## Examples
62
+
63
+ Examples are available in the [examples](./examples) folder.
64
+ Feel free to explore, modify, and use them as a starting point for your own work.
65
+
66
+ ## Features
67
+
68
+ 🚀 Controller – The Heart of Your Airdrop Platform
69
+ One of the most exciting parts of our protocol is the Controller.
70
+
71
+ A Controller acts as the foundation for creating and managing airdrops. By initializing your own controller, you can build a fully self-managed airdrop platform — and alse earn protocol fees from all the airdrops created using it.
72
+
73
+ What is a Controller?
74
+ A Controller is a special on-chain account that:
75
+
76
+ Registers ownership over a set of airdrops.
77
+
78
+ Collects protocol-level fees.
79
+
80
+ Allows anyone to create token airdrops under your control.
81
+
82
+ Why Use a Controller?
83
+
84
+ 💸 Monetize: Earn fees from every airdrop created using your controller.
85
+
86
+ 🛠️ Customize: Tailor your airdrop platform around it.
87
+
88
+ 🌐 Permissionless: Anyone can initialize a controller and start building.
89
+
90
+ How to Initialize a Controller :
91
+
92
+ ```bash
93
+ import * as dropsy from "@dropsy/airdrop";
94
+
95
+ // Create the instruction to initialize your controller
96
+ const ix = await dropsy.getInitializeControllerInstructionAsync({
97
+ authority: wallet, // the owner of the controller (the signer )
98
+ feeLamports: BigInt(5000), // The fee lamports others will pay when c using your controller
99
+ });
100
+ ```
101
+
102
+ ## 📚 Documentation
103
+
104
+ Full API documentation is available at
105
+ 👉 [https://scoolmb.github.io/dropsy-airdrop/](https://scoolmb.github.io/dropsy-airdrop/)
package/README.md DELETED
@@ -1,30 +0,0 @@
1
- # dropsy-airdrop beta
2
-
3
- [![npm version](https://img.shields.io/npm/v/@dropsy/airdrop.svg)](https://www.npmjs.com/package/@dropsy/airdrop)
4
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
- [![Docs](https://img.shields.io/badge/docs-online-blue)](https://scoolmb.github.io/dropsy-airdrop/)
6
-
7
- A modern client SDK for interacting with the **Dropsy Airdrop Protocol** on Solana, built with:
8
-
9
- - ✅ TypeScript
10
- - ⚙️ [tsup](https://github.com/egoist/tsup) for fast bundling
11
- - 🔀 Dual CJS (`require`) and ESM (`import`) support
12
- - 📦 Auto-generated type declarations
13
- - 🌐 Web3-ready & optimized for dApp integration
14
-
15
- > Full API documentation: [https://scoolmb.github.io/dropsy-airdrop](https://scoolmb.github.io/dropsy-airdrop)
16
-
17
- ## Installation
18
-
19
- ```bash
20
- npm install @dropsy/airdrop
21
- # ora
22
- yarn add @dropsy/airdrop
23
- # or
24
- pnpm add @dropsy/airdrop
25
- ```
26
-
27
- ## 📚 Documentation
28
-
29
- Full API documentation is available at
30
- 👉 [https://scoolmb.github.io/dropsy-airdrop/](https://scoolmb.github.io/dropsy-airdrop/)