Discover Packages
github.com/fidesy/me-sniper
module
Version:
v0.0.0-...-472bc46
Opens a new window with list of versions in this module.
Published: Feb 3, 2024
License: MIT
Opens a new window with license information.
README
README
¶
me-sniper
me-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
Clone repository.
git clone https://github.com/fidesy/me-sniper.git
Fill in config file (configs/values_local.yaml) with the following variables:
solana-endpoint: <YOUR_SOLANA_RPC_ENDPOINT>
bot-api-key: <YOUR_TELEGRAM_APIKEY>
me-api-key: <YOUR_MAGIC_EDEN_APIKEY>
private-key: <YOUR_SOLANA_WALLET_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
You can get Solana RPC node for free at https://www.quicknode.com
Run script
go run cmd/me-sniper/main.go
(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
Telegram notifications.
License
MIT
Expand ▾
Collapse ▴
Directories
¶
cmd
internal
Click to show internal directories.
Click to hide internal directories.