Skip to content

YogPanjarale/solana-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Querying Solana Blockchain, leveraging Magic Eden Apis!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages