How to Use Crypto Swap
1. Connect to Server
Enter the WebSocket server address and click the lightning bolt icon to connect. The status indicator will turn green when connected.
2. Select Trading Pair
Click on any rate entry in the "Trading Rates" section to select a trading pair:
- Click on Bid (green) to swap FROM the base currency
- Click on Ask (red) to swap TO the base currency
3. Enter Amount
Both "From" and "To" fields are editable. Enter an amount in either field, and the other will calculate automatically based on the current exchange rate.
4. Swap Direction
Click the swap icon (arrows) between the fields to reverse the trading direction.
5. Enter Receiving Address
Enter the wallet address where you want to receive your funds. This is required.
6. Client Nickname (Optional)
Optionally enter a client nickname, or click on a connected client from the "Connected Clients" section to auto-fill this field.
7. Submit Swap
Click the "Swap" button to submit your request. You'll see a popup with:
- Swap ID
- Deposit (deposit amount)
- Deposit Address (where you have to send your funds)
8. View Swap History
All successful swaps are saved in the "Swap History" section until you reload the page.
9. Clear Form
Use the red trash icon button to clear all input fields and start fresh.
Additional Information
- Trading Rates: Shows current bid/ask prices and network withdrawal fees
- Available Balances: Displays the server's liquidity pool balances
- Connected Clients: Shows other users connected to the swap server
- Fee: The swap fee percentage is displayed before submitting