/nft-opensea-sniper-bot

Simple OpenSea sniper bot using opensea-js and HDWalletProvider

Primary LanguageJavaScript

nft-opensea-sniper-bot

Installation

git clone https://github.com/zmok-io/nft-opensea-sniper-bot.git
cd ./nft-opensea-sniper-bot
npm i

Usage

To run this script: node main.js --<ARGS>

ARGS - Arguments

Environment variables

Sample .env file:

WALLET_ADDRESS="0x6Be02d1d3665660d22FF9624b7BE0551ee1Ac91b"
WALLET_PRIVATE_KEY="93b3c12287537e38c90a9219d4cb074a89a16e9cdb20bf85728ebd97c343e342"
NETWORK="mainnet"
OPENSEA_API_KEY="4521ae54f2ee43cda853f75978d78bb0"

Sample usage

node main.js --providerUrl="https://api.zmok.io/mainnet/627zzh0pyyopztwz" --openSeaAssetUrl="https://opensea.io/assets/0x495f947276749ce646f68ac8c248420045cb7b5e/71041490345621065721195847833942703721093249884990947978303498361262923841537"