Skip to content

team-toast/SmokeSignal

Repository files navigation

SmokeSignal

SmokeSignal uses the Ethereum blockchain to facilitate uncensorable, global chat.

Requirements

Setup

  • git submodule update --init --recursive
  • npm install

Required Environment Variables

In Linux, these can be quickly set via i.e. export ENV=development. Alternatively, tools like direnv enable a more permanent setup.

Key Description
ENV Set to production or development.
ETH_PROVIDER_URL The provider URL for querying the Ethereum network.
XDAI_PROVIDER_URL The provider URL for querying the xDai network.
FAUCET_TOKEN The secret used to authenticate xDai faucet requests.
GA_TRACKING_ID The Google Analytics tracking ID.
FB_TRACKING_ID The Facebook Analytics tracking ID.

Build instructions

  • npm run build
  • Assets can be found in ./public

Development instructions

  • npm run dev
  • Navigate to http://localhost:8000/