pump-kit 0.0.3 → 0.0.5
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 +32 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
6
|
<a href="https://www.npmjs.com/package/pump-kit">
|
|
7
|
-
<img src="https://img.shields.io/npm
|
|
7
|
+
<img src="https://img.shields.io/badge/npm-0.0.4-CB3837?logo=npm&logoColor=fff" alt="npm version" />
|
|
8
8
|
</a>
|
|
9
9
|
<a href="https://www.npmjs.com/package/pump-kit">
|
|
10
10
|
<img src="https://img.shields.io/npm/dm/pump-kit.svg?logo=npm&label=downloads" alt="npm downloads" />
|
|
11
11
|
</a>
|
|
12
12
|
<a href="https://bun.sh">
|
|
13
|
-
<img src="https://img.shields.io/badge/bun-%3E%3D1.
|
|
13
|
+
<img src="https://img.shields.io/badge/bun-%3E%3D1.3.0-000000?logo=bun&logoColor=fff" alt="Bun >= 1.3.0" />
|
|
14
14
|
</a>
|
|
15
15
|
<a href="https://nodejs.org/en">
|
|
16
|
-
<img src="https://img.shields.io/badge/node-%3E%
|
|
16
|
+
<img src="https://img.shields.io/badge/node-%3E%3D20-43853d?logo=node.js&logoColor=fff" alt="Node.js >= 20" />
|
|
17
17
|
</a>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
Pump Kit is a lightweight TypeScript helper for Pump.fun. It keeps all the lamport math under the hood so you work with SOL amounts, token counts, and wallet percentages.
|
|
21
21
|
|
|
22
|
-
What you get
|
|
22
|
+
**What you get:**
|
|
23
23
|
|
|
24
24
|
- Buy/sell helpers with automatic slippage guards
|
|
25
25
|
- Quick token launch via `mintWithFirstBuy`
|
|
@@ -28,6 +28,34 @@ What you get:
|
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
Install via npm:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install pump-kit
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Or with Bun:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
bun add pump-kit
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Or with Yarn:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
yarn add pump-kit
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Or with pnpm:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
pnpm add pump-kit
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
31
59
|
## Quick Start
|
|
32
60
|
|
|
33
61
|
### Buy Tokens (Simple SOL Budget)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pump-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@pump-kit.png"
|
|
21
21
|
],
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": ">=
|
|
24
|
-
"bun": ">=1.
|
|
23
|
+
"node": ">=20",
|
|
24
|
+
"bun": ">=1.3.0"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"dev:typecheck": "tsc -p tsconfig.json --noEmit",
|