Solana Bot
Deployment Instructions-
-
Create a bot on discord dev portal learn basics here
-
Copy the Bot Token and go to OAuth field for URL generation
-
For the permissions & scope of the bot check this insted of what is show in above article.
-
Add the Bot in your own Server using the created url
Run Locally
β’ Clone the repository
git clone https://github.com/YogPanjarale/solana-bot.git
β’ install the packages
npm install
yarn (optional)
β’ Add Enviromenent Variables make a .env file in the root directory and add the following lines
BOT_TOKEN = <bot-token>
API_KEY_ID = <theblockchainapi-key-id>
API_KEY_SECRET = <theblockchainapi-key-secret>
MAGIC_DEN_KEY = <magic-den-key>
β’ Run the bot
npm run build
npm run serve
Host the bot for 24/7 uptime
New to Hosting Services? Check out Railway.app