https://github.com/spongejump/discord-sol-swapbot
https://github.com/spongejump/discord-sol-swapbot
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/spongejump/discord-sol-swapbot
- Owner: spongejump
- Created: 2024-11-15T06:56:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-15T03:48:34.000Z (over 1 year ago)
- Last Synced: 2025-03-20T08:41:25.236Z (about 1 year ago)
- Language: TypeScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solana Discord BONKbot
BONKbot is a revolutionary trading bot designed specifically for the Solana ecosystem, bringing a new level of convenience and efficiency to crypto trading on Discord.
## Environment Variables
To run this project, you will need to add the following environment variables to your .env file
```
MONGODB_URI= "mongodb+srv:// ..."
DISCORD_TOKEN = "MTI2 ..."
DEX_TOOL_TOKEN = "W1Gn ..."
QUIKNODE_RPC = "https://example.solana.quiknode.pro/000000/"
```
## Run Locally
Clone the project
```bash
git clone https://github.com/c1ted/solanatradingbot.git
```
Go to the project directory
```bash
cd solanatradingbot
```
Install dependencies
```bash
npm install
```
Start the server
```bash
npm run dev
or
yarn dev
```
## Features
### Private DM interactions:
- /wallet show (shows your wallet)
- /wallet new (creates new wallet)
- /wallet export (shows private key)
- /wallet withdraw
- /fees
### Server interactions
- Monitors messages for contract addresses
- /buy
Example: /buy ED5nyyWEzpPPiWimP8vYm7sD7TD3LAt3Q3gRTWHzPJBY 5 sol
- /sell
Example: /sell ED5nyyWEzpPPiWimP8vYm7sD7TD3LAt3Q3gRTWHzPJBY 5 sol
- /portfolio (shows portfolio)
## Tech Stack
Node, Express, MongoDB, discord.js, @solana/web3
## Badges
[](https://choosealicense.com/licenses/mit/) [](https://opensource.org/licenses/)
## Authors
- [Flamingo](https://www.github.com/gungho0619)
## Feedback
If you have any feedback, please reach out to me via [mail](tzztson@gmail.com) or [telegram](https://t.me/gungho0619)