Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/confirmedwtf/solana-amm-sdk
Make your tokens top trending on Solana.
https://github.com/confirmedwtf/solana-amm-sdk
bot makers rank solana spl-token token volume
Last synced: about 4 hours ago
JSON representation
Make your tokens top trending on Solana.
- Host: GitHub
- URL: https://github.com/confirmedwtf/solana-amm-sdk
- Owner: confirmedwtf
- License: mit
- Created: 2024-11-02T21:45:08.000Z (15 days ago)
- Default Branch: main
- Last Pushed: 2024-11-08T18:11:58.000Z (9 days ago)
- Last Synced: 2024-11-15T22:28:04.094Z (1 day ago)
- Topics: bot, makers, rank, solana, spl-token, token, volume
- Language: JavaScript
- Homepage: https://confirmed.wtf
- Size: 120 KB
- Stars: 22
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Solana AMM SDK
A powerfully simple SDK for market making on Solana.
## Installation
```bash
npm install @confirmedwtf/solana-amm-sdk
```## Usage
```javascript
import { Connection, Keypair, PublicKey } from "@solana/web3.js"
import { Amm } from "@confirmedwtf/solana-amm-sdk"const connection = new Connection("https://rpc.helius.xyz/?api-key=9682e038eb")
const payerWallet = Keypair.fromSecretKey(Uint8Array.from([132,203,205,98,129,210,181]))const mint = new PublicKey("GDfnEsia2WLAW5t8yx2X5j2mkfA74i5kwGdDuZHt7XmG")
const amm = new Amm(connection, payerWallet, {disableLogs: false})
const minSolPerSwap = 0.001111
const maxSolPerSwap = 0.001511
const mCapFactor = 1
const speedFactor = 1await amm.volume(mint, minSolPerSwap, maxSolPerSwap, mCapFactor, speedFactor, {includeDexes: ["Whirlpool", "Raydium", "Meteora", "Orca"], jitoTipLamports: 100000})
await amm.makers(mint, 5000, {includeDexes: ["Whirlpool", "Raydium", "Meteora", "Orca"], jitoTipLamports: 100000 })
const swap = await amm.swap(mint, "buy", 0.001, {jitoTipLamports: 100000})
```## Features
- 🚀 Easy to use
- 📈 Customizable volume generation
- ⚡ Jito MEV protection
- 🔧 Select which Dex to include## Documentation
For detailed documentation, visit [docs.confirmed.wtf](https://docs.confirmed.wtf)
## Support
- 🐛 [Report Issues](https://github.com/confirmedwtf/solana-amm-sdk/issues)
- 💬 [Join Discord](https://discord.gg/confirmedwtf)
- 📚 [Read Docs](https://docs.confirmed.wtf)## License
MIT License - see [LICENSE](LICENSE) for details