torn-price-bot/README.md

686 B

Startup on your own server

  1. Create telegram bot using @BotFather and get token;
  2. Create telegram public channel, add a bot to it and give him admin rights (At least, Post messages permission);
  3. Copy .env.example file content to .env;
  4. Fill in .env file BOT_TOKEN value with a string containing your telegram bot token;
  5. Replace in .env file TELEGRAM_CHANNEL_NAME value with a string containing inner telegram link to your public channel (for example, @torn_prices);
  6. Replace in .env file MAINNET_RPC_URL value, if default RPC doesn't work;
  7. Install dependencies: npm i
  8. Start script in the background: npm run start