Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
f4a97501
Unverified
Commit
f4a97501
authored
May 21, 2020
by
Moody Salem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(readme): update the README.md
parent
2ff5ce62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
17 deletions
+9
-17
README.md
README.md
+9
-17
No files found.
README.md
View file @
f4a97501
...
...
@@ -3,6 +3,7 @@
[

](https://app.netlify.com/sites/uniswap/deploys)
[

](https://github.com/Uniswap/uniswap-frontend/actions?query=workflow%3ATests)
[

](https://prettier.io/)
[

](https://github.com/Uniswap/uniswap-frontend/actions?query=workflow%3ARelease)
An open source interface for Uniswap -- a protocol for decentralized exchange of Ethereum tokens.
...
...
@@ -13,19 +14,15 @@ An open source interface for Uniswap -- a protocol for decentralized exchange of
-
Email:
[
contact@uniswap.org
](
mailto:contact@uniswap.org
)
-
Discord:
[
Uniswap
](
https://discord.gg/Y7TF6QA
)
-
Whitepaper:
[
Link
](
https://hackmd.io/C-DvwDSfSxuh-Gd4WKE_ig
)
## Run Uniswap Locally
1.
Download and unzip the
`build.zip`
file from the latest release in the
[
Releases tab
](
https://github.com/Uniswap/uniswap-frontend/releases/latest
)
.
2.
Serve the
`build/`
folder locally, and access the application via a browser.
For more information on running a local server see
[
https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server
](
https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server
)
.
## Accessing the frontend
This simple approach has one downside: refreshing the page will give a
`404`
because of how React handles client-side routing.
To fix this issue, consider running
`serve -s`
courtesy of the
[
serve
](
https://github.com/zeit/serve
)
package.
## Develop Uniswap Locally
The front end is deployed to IPFS as well as to
[
uniswap.exchange
](
https://uniswap.exchange
)
.
To access the front end via IPFS, use a link from the
[
latest release
](
https://github.com/Uniswap/uniswap-frontend/releases/latest
)
.
## Development
### Install Dependencies
...
...
@@ -50,12 +47,7 @@ change `REACT_APP_NETWORK_ID` to `"{yourNetworkId}"`, and change `REACT_APP_NETW
Note that the front end only works properly on testnets where both
[
Uniswap V2
](
https://uniswap.org/docs/v2/smart-contracts/factory/
)
and
[
eth-scan
](
https://github.com/MyCryptoHQ/eth-scan
)
are deployed.
The frontend is not expected to work with local testnets.
### Deployment
As a single page application, all routes that do not match an asset must be redirect to
`/index.html`
.
See
[
create-react-app documentation.
](
https://create-react-app.dev/docs/deployment#notes-on-client-side-routing
)
.
The frontend will not work on other networks.
## Contributions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment