Welcome to the Telegram Bot Template!
This demo provides a simple foundation for working with the Tensor API, use it to get started building NOW!
Menu View | Single NFT View |
---|---|
- Node v18.18.0 or higher
- Tensor API Key Request Page
- Telegram API Key Telegram Bots
git clone tensor-hq/fpchecker-telegram-template
cd fpchecker-telegram-template
npm install
// Telegram bot token
BOT_TOKEN=
// Tensor API key
const API_KEY=
// Marketplace base URL with "/" at the end, so concatenated with mint address it will redirect to the single NFT buy page
BASE_URL=
// Amount of listings to fetch
NUM_OF_LISTINGS=
// Slug of collection to fetch FP
SLUG=
npx ts-node main.ts
Visit the telegram url with the name specified during BotFather signup