This tool enables you to monitor Ethereum wallets, check their ETH balances, and compile a list of the NFTs owned by each wallet. The bot is crafted for effortless setup and deployment within your preferred environment.
🏃🏽 Instant Value: All basic tools included and configured:
- TypeScript 5.1
- ESM
- ESLint with some initial rules recommendation
- Jest for fast unit testing and code coverage
- Type definitions for Node.js and Jest
- Prettier to enforce consistent code style
- NPM scripts for common operations
- EditorConfig for consistent coding style
- Reproducible environments thanks to Volta
- Example configuration for GitHub Actions
- Simple example of TypeScript code and unit test
- Node.js 18.x or higher
- A Discord bot token
- An Alchemy API key
-
Clone the repository or download the source code.
-
Install dependencies:
pnpm install
Create .env
in the project directory and add your Discord bot token and Alchemy API key.
DISCORD_BOT_TOKEN=
DISCORD_CHANNEL_ID=
ALCHEMY_API_KEY=
Start the bot:
pnpm start
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 Watch Bot is online.
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.
clean
- remove coverage data, Jest cache and transpiled files,prebuild
- lint source files and tests before building,build
- transpile TypeScript to ES6,build:watch
- interactive watch mode to automatically transpile source files,lint
- lint source files and tests,prettier
- reformat files,test
- run tests,test:watch
- interactive watch mode to automatically re-run tests
Feel free to open issues or submit pull requests if you find any bugs or have suggestions for improvements.
Licensed under the APLv2. See the LICENSE file for details.
Discord.js Guide - Frequently asked Questions