GithubHelp home page GithubHelp logo

fidesy / me-sniper Goto Github PK

View Code? Open in Web Editor NEW
42.0 4.0 5.0 21.48 MB

MagicEden on-chain NFT sniper bot

License: MIT License

Go 100.00%
go on-chain sniper-bot solana telegram telegram-bot magiceden-bot

me-sniper's Introduction

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

  1. Clone repository.

    git clone https://github.com/fidesy/me-sniper.git
  2. 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

  3. Run script

    go run cmd/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

Telegram notifications.

License

MIT

me-sniper's People

Contributors

fidesy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

me-sniper's Issues

Collection list

Hi, how can i get collections list in right format to use it in collections.json, by Metaplex i'm assuming?

[help wanted] service.Run: telegrambot.New: Not Found

Error:-

PS H:\me-sniper> go run cmd/me-sniper/main.go
2024/02/04 01:05:30 service.Run: telegrambot.New: Not Found
exit status 1

My values_yaml.local is:-

solana-endpoint: 'alchemy rpc url'
bot-api-key:
me-api-key:
private-key:

I left bot-api-key, me-api-ey and private-key empty,..
I don't need to bot feature, my goal with this product is to buy nft's of a specified collection using private key

all the packages are installed using "go mod download"

am I doing something wrong here, no clue..,
I'm very new to go Lang,

waiting for your guide or help
thanks in Advance

Client.Timeout exceeded

Client Timeout

I have this problem after testing the notification bot for TG and leaving it open overnight.

Transaction too large

Hi, got an error on few different ME collections:

2023/01/29 00:21:30 Error while buying nft: (*jsonrpc.RPCError)(0xc00025cdb0)({ Code: (int) -32602, Message: (string) (len=115) "encoded solana_sdk::transaction::versioned::VersionedTransaction too large: 1684 bytes (max: encoded/raw 1644/1232)", Data: (interface {}) <nil> })

Collection which generate this issue

Im assuming this error related to ME, cause it's them generated wrong instruction to buy nft, or maybe i can sign transaction in some other way to pass this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.