Giter Site home page Giter Site logo

flipalertbot's Introduction

flipAlertBot

一个OpenSea成交预警通知机器人

配置文件

config.js

alchemyKey 注册alchemy
openseaKey 此处申请
discordKey discord频道-设置-整合-WebHook
barkKey bark软件中的Apikey,仅限苹果设备
alertPrice 首次提醒价格
gearsPrice 阶梯提醒价格档位
reactivatePrice 触发复活提醒价格
barkFlag 否推送到bark
dcFlag 是否推送到discord

watch_address.js

监控的钱包地址,地址出现新增nft后自动开启成交价格监控

部署流程

1.克隆或下载该项目到本地

git clone https://github.com/luoyeETH/flipAlertBot.git

2.切换到对应目录,安装所需依赖包,同时建议安装forever进程管理模块

cd flipAlertBot
npm install
npm install forever -g

如果服务器缺少noejs环境,按以下方式配置

# 安装nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash  
# 加载nvm配置
source ~/.$(basename $SHELL)rc  
# 安装Node.js
nvm install 16.15.0  

3.按照配置文件配置config.js及watch_address.js

4.运行脚本

node index.js  
# [建议]安装forever后使用以下方式运行脚本
forever start index.js

5.停止脚本

forever stop index.js

同时可以直接对指定NFT进行价格监控

node app.js <slug> <alertPrice>

实际运行截图
screenshot

参考项目

PoorNerd

flipalertbot's People

Contributors

luoyeeth avatar

Stargazers

 avatar Ziya Bal avatar Allen avatar  avatar  avatar arden avatar James  avatar

Watchers

 avatar

flipalertbot's Issues

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.