Public list of tdex liquidity providers
Any always-on endpoint that implements the BOTD#4 Trade Protocol HTTP2 interface could be registered in this list. Being in this list is not required to be "discovered" by the tdex-app
, tdex-cli
or other tdex-sdk
-based clients, anyone could connect to you directly. This aims to be a public list that helps advanced traders to discover liquidity providers that guarantee highly available and professional service.
Before submitting yout endpoint, be sure to test with any tdex clients, such as TDex Mobile App or TDex CLI.
- With the app goes to
Settings
>Manage Liquidity Provider
>Connect
- With the cli use
tdex-cli connect <your_endpoint>
- With the command-line use the following curl command(s):
Replace endpoint with your actual public reachable endpoint, comprhensive of http or https.
curl -w "%{http_code}" -o /dev/null -s -X POST <endpoint>/v1/markets \
--header 'Content-Type: application/json' \
--data-raw '{}'
For Tor hidden services, run a Tor Browser and add the --socks5-hostname
flag to the command:
curl -w "%{http_code}" -o /dev/null -s -X POST <endpoint>/v1/markets \
--header 'Content-Type: application/json' \
--data-raw '{}' \
--socks5-hostname localhost:9150
To add your provider to the list, first fork the repository and open a pull request adding your provider in the registry.json
file at the end of the array.
[
{
"name": "My Awesome Exchange",
"endpoint": "https://my.provider.com:9945"
}
]
We automatically check your provider: we call the Markets
service endpoint looking for succesful reply and a non-empty array of markets.
The tdex-registry
is a simple public reachable file that follows the JSON SCHEMA specification. Anyone is welcome to create a custom registry and source to tdex clients directly.