Skip to content

dusaprotocol/pump-backend

Repository files navigation

Duser Pump backend

Fill environment variables

Create .env file following .env.example schema:

  • DATABASE_URL is a read/write access to your PostgreSQL database
  • WS_API_URL1 & WS_API_URL2 (optional) are the URLs of the API so that the indexer communicates when a new token/swap occurs
  • JWT_SECRET is for authenticating users. It can be whatever you want (do not share it)
  • DISCORD_WEBHOOK is the URL of the Discord webhook to send notifications when a new token is created (optional)

Running

Install dependencies

pnpm install

Run API

pnpm start:api

Run indexer

pnpm start:indexer

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published