Swapping
Integrations
Running a Broker
Working Example

Working Example

Running a Broker API locally

To run the Broker API locally, head to this (opens in a new tab) repo on Github and follow the instructions.

Deployment Schema

Brokers (and LPs) should ideally run their own local RPC nodes. These nodes connect to the network and expose the LP & Broker APIs locally to the backend they want to use.


Broker API deploying example

Avoid using the public RPC node since its particularly vulnerable to DDOS or other various attacks