mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-10 06:38:04 -05:00
RPC and WS endpoints share the same port (#187)
Combine our HTTP RPC and Websocket services into a single HTTP server, eliminating the --ws-port flag to swapd and using --swapd-port flag for swapcli.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Atomic swap UI
|
||||
|
||||
This is a draft UI to interract with the atomic swap nodes
|
||||
This is a draft UI to interact with the atomic swap nodes
|
||||
|
||||
## Get started
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
import HelperText from '@smui/textfield/helper-text'
|
||||
import { currentAccount, sign } from '../stores/metamask'
|
||||
|
||||
const WS_ADDRESS = 'ws://127.0.0.1:8081'
|
||||
const WS_ADDRESS = 'ws://127.0.0.1:5001/ws'
|
||||
|
||||
let amountProvided: number | null = null
|
||||
let xmrAddress = ''
|
||||
|
||||
Reference in New Issue
Block a user