Skip to content

Commit b89324b

Browse files
Merge branch 'master' of github.com:davidcoderistov/monoswap
2 parents 4121e33 + 2448627 commit b89324b

File tree

1 file changed

+33
-30
lines changed

1 file changed

+33
-30
lines changed

README.md

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,49 @@
1-
# Getting Started with Create React App
1+
![monoswap](https://user-images.githubusercontent.com/85624034/196651582-261492cd-c17b-4a03-84e6-d54f5c6ca943.png)
22

3-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3+
Monoswap is a decentralized exchange (DEX) multi-chain dApp that facilitates trading of ERC20 tokens. It uses Uniswap [Token Lists](https://tokenlists.org/), a new community-led standard for creating lists of ERC20 tokens to improve discoverability and trust in ERC20 token lists in a manner that is inclusive, transparent, and decentralized. Swapping is powered by the [0x Protocol](https://www.0x.org/), an open protocol that enables the decentralized exchange of tokens on the Ethereum blockchain.
44

5-
## Available Scripts
5+
### Core features
6+
- Connecting to [Metamask](https://metamask.io/)
7+
- Multi-chain support: Ethereum, Polygon, Optimism, Arbitrum and Goerli
8+
- Standardized set of ERC20 tokens using Uniswap [Token Lists](https://tokenlists.org/)
9+
- Swapping ERC20 tokens using the [0x Protocol](https://www.0x.org/)
10+
- View token balance
11+
- View transactions history and transaction status
612

7-
In the project directory, you can run:
13+
### API endpoints
14+
- [tokens.uniswap.org/](https://tokens.uniswap.org/) for getting the token lists
15+
- [alchemy_getTokenBalances](https://docs.alchemy.com/reference/alchemy-gettokenbalances) for getting the token balances
16+
- [/swap/v1/quote](https://docs.0x.org/0x-api-swap/api-references/get-swap-v1-quote) for getting the quote for buying or selling any ERC20 token
17+
- [/swap/v1/price](https://docs.0x.org/0x-api-swap/api-references/get-swap-v1-price) for getting the best price for buying or selling any ERC20 token
818

9-
### `npm start`
19+
### Using Monoswap
1020

11-
Runs the app in the development mode.\
12-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13-
14-
The page will reload if you make edits.\
15-
You will also see any lint errors in the console.
16-
17-
### `npm test`
21+
#### `REACT_APP_ALCHEMY_API_KEY`
1822

19-
Launches the test runner in the interactive watch mode.\
20-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
23+
Set up local environment variable by creating a .env.development.local file in the root of your project and add your [Alchemy](https://www.alchemy.com/) API key.
2124

22-
### `npm run build`
25+
#### `npm install`
2326

24-
Builds the app for production to the `build` folder.\
25-
It correctly bundles React in production mode and optimizes the build for the best performance.
27+
Installs all packages.
2628

27-
The build is minified and the filenames include the hashes.\
28-
Your app is ready to be deployed!
29+
#### `npm start`
2930

30-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31-
32-
### `npm run eject`
33-
34-
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
31+
Runs the app in the development mode.
32+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
3533

36-
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
34+
The page will reload if you make edits.
3735

38-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
36+
### Contributing to Monoswap
3937

40-
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
38+
To contribute to Monoswap, follow these steps:
39+
1. Fork this repository
40+
2. Create a branch: `git checkout -b <branch_name>`
41+
3. Make your changes and commit them: `git commit -m '<commit_message>'`
42+
4. Push to the original branch: `git push origin Monoswap/<location>`
43+
5. Create the pull request
4144

42-
## Learn More
45+
Alternatively see the GitHub documentation on [creating a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request).
4346

44-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
47+
### Contact
4548

46-
To learn React, check out the [React documentation](https://reactjs.org/).
49+
If you want to contact me you can reach me at [[email protected]](mailto:[email protected]).

0 commit comments

Comments
 (0)