Git Product home page Git Product logo

walletwatcher's Introduction

Wallet Watcher Discord Bot

Wallet Watcher is a Discord bot that allows you to track Ethereum wallets, check their Ether balances and list the NFTs owned by the wallet. This bot is designed to be easy to set up and deploy in your own environment. Prerequisites

Node.js 14.x or higher
npm (usually bundled with Node.js)
A Discord bot token
An Alchemy API key

Installation

Clone the repository or download the source code:

git clone https://github.com/tchebagual71/WalletWatcher.git


Navigate to the project directory:

cd WalletWatcher

Install the required dependencies:

npm install
```

Configuration

Create a new file named .env in the project directory and add your Discord bot token and Alchemy API key. Replace <YOUR_DISCORD_BOT_TOKEN> and <YOUR_ALCHEMY_API_KEY> with the respective values:

BOT_TOKEN=<YOUR_DISCORD_BOT_TOKEN> ALCHEMY_KEY=<YOUR_ALCHEMY_API_KEY>


(Optional) Configure the channel in which the bot will send wallet tracking notifications. Open the index.js file and change the CHANNEL_ID variable to the desired channel ID. If you don't know how to get the channel ID, you can follow these instructions.
javascript

    const CHANNEL_ID = process.env.CHANNEL_ID || 'YOUR_CHANNEL_ID';
    ```

Running the Bot

    Start the bot:

    node index.js
    ```

    The bot should now be running and connected to your Discord server. You should see a message in the configured channel indicating that the Wallet Watcher Bot is online.

Usage

The bot has the following commands:

    !track <address>: Track an Ethereum address for incoming and outgoing transactions.

    !balance <address>: Check the Ether balance of an Ethereum address.

    !nfts <address>: List NFTs owned by an Ethereum address.

    !help: Show a help message with the available commands.

Contributing

Feel free to open issues or submit pull requests if you find any bugs or have suggestions for improvements.
License

This project is licensed under the MIT License. See the LICENSE file for more information.

walletwatcher's People

Contributors

tchebagual71 avatar

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.