vacuum-sol 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +97 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,28 +4,106 @@
4
4
 
5
5
  Vacuum is an automated rent-reclaim bot that monitors **operator-owned** token accounts and safely reclaims rent SOL when accounts are closed or have zero balance. Perfect for custodial services, development environments, and anyone managing their own Solana token accounts at scale.
6
6
 
7
- ![NPM Version](https://img.shields.io/badge/version-1.0.0-blue)
7
+ [![NPM Version](https://img.shields.io/npm/v/vacuum-sol)](https://www.npmjs.com/package/vacuum-sol)
8
8
  ![License](https://img.shields.io/badge/license-MIT-green)
9
9
  ![Solana](https://img.shields.io/badge/solana-compatible-purple)
10
10
 
11
11
  ---
12
12
 
13
- ## 🚀 Quick Start
13
+ ## Installation
14
+
15
+ ### Install via npm (Recommended)
14
16
 
15
17
  ```bash
16
- # Clone and install
17
- git clone https://github.com/your-username/vacuum-sol
18
- cd vacuum-sol
18
+ # Install globally
19
+ npm install -g vacuum-sol
20
+
21
+ # Verify installation
22
+ vacuum --version
23
+ vacuum --help
24
+ ```
25
+
26
+ ### Or clone from source
27
+
28
+ ```bash
29
+ git clone https://github.com/Don-Vicks/vaccum.git
30
+ cd vaccum
19
31
  npm install && npm run build
32
+ npm link # Make 'vacuum' command available globally
33
+ ```
34
+
35
+ ---
36
+
37
+ ## 🚀 Quick Start
38
+
39
+ ### 1. Initial Setup
40
+
41
+ ```bash
42
+ # Create a configuration directory
43
+ mkdir -p ~/.vacuum
44
+
45
+ # Set up your environment variables
46
+ export SOLANA_RPC_URL=https://api.devnet.solana.com
47
+ export TREASURY_ADDRESS=<your-wallet-address>
48
+ export OPERATOR_KEYPAIR_PATH=~/.vacuum/operator-keypair.json
20
49
 
21
- # Configure
22
- cp .env.example .env
23
- # Edit .env with your TREASURY_ADDRESS
50
+ # Or create a .env file in your project directory
51
+ cat > .env << EOF
52
+ # Solana RPC Configuration
53
+ SOLANA_RPC_URL=https://api.devnet.solana.com
24
54
 
25
- # Run
26
- npm start -- scan # Find accounts
27
- npm start -- check --all # Find reclaimable
28
- npm start -- reclaim --dry-run # Preview reclaim
55
+ # Operator treasury address - rent will be reclaimed here
56
+ TREASURY_ADDRESS=<your-wallet-address>
57
+
58
+ # Path to operator keypair file (must have authority to close accounts)
59
+ OPERATOR_KEYPAIR_PATH=~/.vacuum/operator-keypair.json
60
+
61
+ # Kora Node Configuration (optional - for monitoring sponsored accounts)
62
+ KORA_NODE_URL=
63
+
64
+ # Safety Configuration
65
+ DRY_RUN=true
66
+ COOLDOWN_HOURS=24
67
+ MIN_INACTIVE_DAYS=7
68
+
69
+ # Telegram Bot (optional)
70
+ # Create bot via @BotFather on Telegram
71
+ TELEGRAM_BOT_TOKEN=
72
+ # Your personal chat ID (get via @userinfobot)
73
+ TELEGRAM_CHAT_ID=
74
+
75
+ # Database path
76
+ DB_PATH=./data/accounts.db
77
+
78
+ # Dashboard port (optional)
79
+ DASHBOARD_PORT=3333
80
+ EOF
81
+ ```
82
+
83
+ ### 2. Run Your First Scan
84
+
85
+ ```bash
86
+ # Scan for accounts
87
+ vacuum scan
88
+
89
+ # Find reclaimable accounts
90
+ vacuum check --all
91
+
92
+ # Preview reclaim (safe, dry-run mode)
93
+ vacuum reclaim --dry-run
94
+
95
+ # Actually reclaim rent
96
+ vacuum reclaim --yes
97
+ ```
98
+
99
+ ### 3. View Reports
100
+
101
+ ```bash
102
+ # Show summary
103
+ vacuum report
104
+
105
+ # Show history
106
+ vacuum report --history
29
107
  ```
30
108
 
31
109
  ---
@@ -156,6 +234,9 @@ SOLANA_RPC_URL=https://api.devnet.solana.com
156
234
  TREASURY_ADDRESS=<your-wallet-address>
157
235
  OPERATOR_KEYPAIR_PATH=./operator-keypair.json
158
236
 
237
+ # Optional - Kora Node
238
+ KORA_NODE_URL=
239
+
159
240
  # Optional
160
241
  DRY_RUN=true
161
242
  COOLDOWN_HOURS=24
@@ -165,6 +246,7 @@ TELEGRAM_CHAT_ID=
165
246
 
166
247
  # Database
167
248
  DB_PATH=./data/accounts.db
249
+ DASHBOARD_PORT=3333
168
250
  ```
169
251
 
170
252
  ---
@@ -356,7 +438,7 @@ MIT License - see [LICENSE](LICENSE)
356
438
  <div align="center">
357
439
  <strong>Built with ❤️ for the Solana ecosystem</strong>
358
440
  <br><br>
359
- <a href="https://github.com/your-username/vacuum-sol">GitHub</a> •
360
- <a href="https://t.me/vacuumsol">Telegram</a> •
361
- <a href="https://your-landing-page.com">Website</a>
441
+ <a href="https://github.com/Don-Vicks/vaccum">GitHub</a> •
442
+ <a href="https://www.npmjs.com/package/vacuum-sol">NPM</a> •
443
+ <a href="http://vaccum-bot.vercel.app">Website</a>
362
444
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vacuum-sol",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Vacuum - Suck up forgotten rent from Solana accounts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",