Skip to content

Files

Latest commit

author
Qianhui
Oct 26, 2023
0e0ee96 · Oct 26, 2023

History

History

client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dependencies

npm install parcel web3@1.10.0

Instructions

npm run start

The script will start a web server running the client on http://localhost:1234.

Two-Party Single-Token Swap

To simulate two-party swap on a single machine, execute the above command in two terminals. The second instance will run on a different port http://localhost:xxxxx.

To simulate cross-browser communication, open the two servers from separate browsers, e.g. Chrome and Edge.

You should see a welcome page look like below. Welcome

Follow our video walkthough or screenshots for a complete simulation of a two-party single-token swap.