1.0.0 • Published 3 years ago

@playerone_eth/dev-server v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Player One Dev Server

This packages installs the development version of the Player One verifier as a CLI.

Install

yarn add -D @playerone_eth/dev-server or npm install --save-dev @playerone_eth/dev-server

Setup

You need a .env file with an environment variable that contains your Twitter API key.

Specifically, you need an entry in your dotenv file that looks like this:

TWITTER_BEARER=asidfhblaiusb;aouds;fa;dfladlfhaldf;lafdlhsdljhfvlkjhasdRandomGibberish

You should also run this alongside something like a HardHat node.

Usage

playerone-dev-server --port 3000 or playerone-dev-server -p 3000

You'll probably want to run this in a script in your package.json