haythemsellami / crab-v2-websocket-server

A WebSocket server for Crab V2 auction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CRAB V2 WEBSOCKET SERVER

A WebSocket server to listen to Crab V2 auction events

LOCAL DEVELOPMENT

  • yarn install
  • yarn compile && yarn start

Client<->Server connection local testing:

  • Run the API locally and make sure to setup the needed env vars
  • Run the websocket server yarn start
  • Run the websocket client node websocket_server_test.js
  • You should be able to see past auctions and current auction in the client terminal, to create new auction and submit bids, you can use the SDK testing script

About

A WebSocket server for Crab V2 auction


Languages

Language:TypeScript 70.3%Language:Dockerfile 14.2%Language:JavaScript 13.2%Language:Shell 2.3%