An open API service indexing awesome lists of open source software.

https://github.com/rustjesty/solana-me-sniper

MagicEden Solana NFT Sniper
https://github.com/rustjesty/solana-me-sniper

go magiceden nft sniper solana

Last synced: 18 days ago
JSON representation

MagicEden Solana NFT Sniper

Awesome Lists containing this project

README

          

# Solana MagicEden NFT Sniper

Solana MagicEden NFT Sniper is an on-chain MagicEden sniper that detects all new listings on MagicEden throw blockchain with telegram notifications feature. autobuy is possible with MagicEden API Key.

## Installation

1. Clone repository.
```bash
git clone https://github.com/soljesty/solana-me-sniper.git
```
2. Fill in config file (configs/values_local.yaml) with the following variables:

```bash
solana-endpoint:
bot-api-key:
me-api-key:
private-key:
```

If you don't need telegram notification then just skip second variable.

ME_APIKEY and PRIVATE_KEY variables are only needed if you want to automatically buy NFTs, otherwise jusk skip them.

[Add autobuy conditions here](https://github.com/soljesty/solana-me-sniper/blob/main/pkg/sniper/sniper.go#L99)

You can get Solana RPC node for free at https://www.quicknode.com
3. Run script
```bash
go run cmd/solana-me-sniper/main.go
```
4. (Optional) If you are using telegram bot, then write /start command to it.
## Usage

### Logs contain:

* Action type (now only list/buy)
* Block/Current timestamp
* collection symbol, token name
* price, rarity, rank, supply, seller, buyer

![](./data/logs.png)

### Telegram notifications.

![](./data/telegram.png)

## License
[MIT](https://choosealicense.com/licenses/mit/)