Using Dynamic URL Parameters in TaoDex
Official Guide for Builders, Validators, and Subnet Owners
This guide explains how builders, validators, and subnet owners can use dynamic URL parameters on taodex.hotkeyswap.com to interact with the platform effectively.
With these parameters, you can predefine the input and output subnets, as well as select a validator dynamically, making it easier to share specific links and automate actions.
URL Structure
TaoDEX supports the following URL parameters:
Parameters:
inputNetuid
: Represents the netuid of the input subnet.outputNetuid
: Represents the netuid of the output subnet.validator
: Represents the validator's SS58 address.
⚠️ Important Rules:
Only one of
inputNetuid
oroutputNetuid
can be set at a time.If
inputNetuid
is set,outputNetuid
must be empty, and vice versa.The URL dynamically updates as users interact with the UI.
Examples
Example 1: Setting an Input Subnet
To preselect an input subnet with netuid=8
:
Example 2: Setting an Output Subnet
To preselect an output subnet with netuid=8
:
Example 3: Selecting a Validator
To preselect a validator with RoundTable21
:
Example 4: Full Configuration
Setting both an output subnet and a validator:
How It Works
URL Updates Dynamically
As users change subnets or validators, the URL updates automatically.
Clicking "Switch" will swap input and output subnets while maintaining the correct URL structure.
Sharing Links
Users can copy and share the URL to direct others to the same subnet and validator selection.
Developers & Integrations
Projects can integrate TaoDEX with predefined URLs for seamless user experience.
Troubleshooting
If both
inputNetuid
andoutputNetuid
appear, one must be removed manually.If switching input and output doesn't reflect in the URL, refresh the page and try again.
For support, contact us.
Hotkeyswap's TAO DEX dynamic URL system enhances usability, making it easy for traders, validators, and subnet owners to share specific configurations. Start using the URLs today at taodex.hotkeyswap.com!
Happy Trading!
Last updated