Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.35 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.35 KB

Solana Bot

Deployment Instructions-

  1. Create a bot on discord dev portal learn basics here

  2. Copy the Bot Token and go to OAuth field for URL generation

  3. For the permissions & scope of the bot check this insted of what is show in above article.

    Scopes image

    Permissions image

  4. 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>

• Run the bot

    npm run build
    npm run serve

Host the bot for 24/7 uptime

New to Hosting Services? Check out Railway.app

Deploy on Railway