Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Repository files navigation

Drift Usermap

This project implements a caching system for Drift Protocol user accounts using Redis. It provides an API server that serves cached user account data and maintains real-time updates through WebSocket connections.

Features

  • WebSocket subscription to Drift program account changes
  • Redis caching of user account data
  • Support for different environments (devnet, mainnet)

Prerequisites

  • Node.js
  • Redis server

Installation

  1. Clone the repository:
    git clone https://github.com/velocity-exchange/usermap-server.git
    cd usermap-server
  2. Install dependancies:
     yarn install
  3. Set env variables:
     cp env.example .env
  4. Setup a local instance of redis and update env variables to match
  5. Run the publisher:
     yarn publisher

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages