pump-kit 0.1.1 → 0.2.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.
- package/@pump-kit.png +0 -0
- package/README.md +24 -19
- package/dist/index.js +11 -11
- package/dist/types/ammsdk/generated/accounts/globalConfig.d.ts +1 -1
- package/dist/types/ammsdk/generated/accounts/pool.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/buy.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/createConfig.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/createPool.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/deposit.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/disable.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/extendAccount.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/sell.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/updateAdmin.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/updateFeeConfig.d.ts +1 -1
- package/dist/types/ammsdk/generated/instructions/withdraw.d.ts +1 -1
- package/dist/types/bin/pump-kit.d.ts +2 -0
- package/dist/types/clients/amm.d.ts +2 -2
- package/dist/types/pumpsdk/generated/accounts/bondingCurve.d.ts +1 -1
- package/dist/types/pumpsdk/generated/accounts/feeConfig.d.ts +1 -1
- package/dist/types/pumpsdk/generated/accounts/global.d.ts +1 -1
- package/dist/types/pumpsdk/generated/accounts/globalVolumeAccumulator.d.ts +1 -1
- package/dist/types/pumpsdk/generated/accounts/userVolumeAccumulator.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/adminSetCreator.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/adminSetIdlAuthority.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/adminUpdateTokenIncentives.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/buy.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/buyExactSolIn.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/claimTokenIncentives.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/closeUserVolumeAccumulator.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/collectCreatorFee.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/create.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/extendAccount.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/initUserVolumeAccumulator.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/initialize.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/migrate.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/sell.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/setCreator.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/setMetaplexCreator.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/setParams.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/syncUserVolumeAccumulator.d.ts +1 -1
- package/dist/types/pumpsdk/generated/instructions/updateGlobalAuthority.d.ts +1 -1
- package/package.json +17 -7
package/@pump-kit.png
CHANGED
|
Binary file
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Pump Kit
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<img src="
|
|
4
|
+
<img src="https://amaranth-manual-buzzard-640.mypinata.cloud/ipfs/bafkreibp354xz2lzqxntalhdnq3gdvuyleilbxfw3u5pyjmigsaz6xidea" alt="Pump Kit" width="600" />
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
@@ -16,13 +16,11 @@
|
|
|
16
16
|
</a>
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
|
-
A TypeScript SDK for Pump.fun built on **Solana Kit
|
|
20
|
-
|
|
21
|
-
**Production-ready package coming soon.**
|
|
19
|
+
A TypeScript SDK for Pump.fun built on **Solana Kit 6**. Designed for high-performance applications including launch bots, bundlers, and low-latency trading systems using latest Solana best practices.
|
|
22
20
|
|
|
23
21
|
## Features
|
|
24
22
|
|
|
25
|
-
- **Solana Kit
|
|
23
|
+
- **Solana Kit 6** – Built on the latest Solana development framework
|
|
26
24
|
- **Modern transaction patterns** – Optimized for speed and reliability
|
|
27
25
|
- **Unified swaps** – `buy`/`sell` auto-route between bonding curves and AMM pools
|
|
28
26
|
- **Curve helpers** – Direct access to bonding-curve instructions when you need them (`curveBuy`, `curveSell`)
|
|
@@ -30,10 +28,13 @@ A TypeScript SDK for Pump.fun built on **Solana Kit 5.0**. Designed for high-per
|
|
|
30
28
|
- **Automatic slippage protection** – Built-in guards for buy/sell operations
|
|
31
29
|
- **Full TypeScript support** – Strongly typed throughout with complete type coverage
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
## TODO
|
|
32
|
+
|
|
33
|
+
These are the next actions we need to make happen:
|
|
34
34
|
|
|
35
|
-
-
|
|
36
|
-
-
|
|
35
|
+
- create pump fun curve launch helpers with dev buy
|
|
36
|
+
- provide/remove liquidity in existing pool
|
|
37
|
+
- create new liquidity pool
|
|
37
38
|
|
|
38
39
|
---
|
|
39
40
|
|
|
@@ -155,17 +156,6 @@ ammSell({
|
|
|
155
156
|
})
|
|
156
157
|
```
|
|
157
158
|
|
|
158
|
-
### Coming Soon
|
|
159
|
-
|
|
160
|
-
```ts
|
|
161
|
-
// Create token with initial buy
|
|
162
|
-
mintWithFirstBuy({ ... })
|
|
163
|
-
|
|
164
|
-
// Liquidity helpers
|
|
165
|
-
addLiquidity({ ... })
|
|
166
|
-
removeLiquidity({ ... })
|
|
167
|
-
```
|
|
168
|
-
|
|
169
159
|
### Transaction Utilities
|
|
170
160
|
|
|
171
161
|
```ts
|
|
@@ -184,3 +174,18 @@ simulateTransaction({ instructions, payer, rpc, options? })
|
|
|
184
174
|
## License
|
|
185
175
|
|
|
186
176
|
MIT
|
|
177
|
+
|
|
178
|
+
## Release Flow
|
|
179
|
+
|
|
180
|
+
1. Configure repo secret `NPM_TOKEN` in GitHub Actions (use an npm automation token).
|
|
181
|
+
2. Cut a release from local once your branch is ready:
|
|
182
|
+
- `bun run release:cut patch`
|
|
183
|
+
- or `bun run release:cut minor`
|
|
184
|
+
- or `bun run release:cut major`
|
|
185
|
+
- or explicit: `bun run release:cut 0.2.1`
|
|
186
|
+
3. The script runs `bun run ci`, bumps `package.json`, commits, tags, and pushes.
|
|
187
|
+
4. Tag push (`vX.Y.Z`) triggers `.github/workflows/release.yml`:
|
|
188
|
+
- runs CI
|
|
189
|
+
- builds a Bun Linux binary (`dist/bin/pump-kit`)
|
|
190
|
+
- uploads release assets (`pump-kit-linux-x64`, `.sha256`, `.tar.gz`)
|
|
191
|
+
- publishes npm package.
|