Skip to content

buidl-labs/polkabot-twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolkaBot Twitter

Distributing information about incentives for participating in the Polkadot ecosystem. Starting with Kusama.

Table of contents

Currently supported networks

Development

Pre-requisites

  • A twitter account for the bot.
  • Twitter API access
    • Apply for API access at developer.twitter.com

Getting Started

  • Clone the repository:

    git clone https://github.com/buidl-labs/polkabot-twitter.git
  • cd into the backend folder inside main folder:

    cd polkabot-twitter/backend
  • Add environment variables in .env file

    TWITTER_CONSUMER_KEY=your_twitter_consumer_key
      TWITTER_CONSUMER_SECRET=your_twitter_consumer_secret_key
      TWITTER_ACCESS_TOKEN=your_twitter_access_token
      TWITTER_ACCESS_TOKEN_SECRET=your_twitter_access_secret_token
    
  • Install the dependencies with:

    npm install
    
  • Run the development server:

    npm start

    The top validator page should be available on http://localhost:3000/#/top-validator and the top nominator page on http://localhost:3000/#/top-nominator

Gratitude

About

A twitter bot to post updates about the Polkadot Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published