Skip to content

Commit 06e7a8c

Browse files
committed
Fix for grammar
1 parent 055d746 commit 06e7a8c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# What the price
2-
Tool for cardano to get Dex SWAP operation, store it to the Database and broadcast it throught the websocket.
2+
Tool for Cardano to get Dex SWAP operation, store it to the Database and broadcast it through the WebSocket.
33

44
## DEXes
5-
Current state is, that we have implemeneted 3 Dexes
5+
We have implemented 3 Dexes
66
* WingRiders
77
* MinSwap
88
* SundaeSwap
@@ -11,16 +11,16 @@ Dex can have more versions and more addresses per version.
1111

1212
## Interface
1313
* `/health` - Health check endpoint
14-
* `/assets` - List of assets presents in the database. This is place, where pair asset_id with name and policy
14+
* `/assets` - List of assets present in the database. This is a place, where pair asset_id with name and policy
1515
* `/exchange_rates` - Calculate exchange rate. There is no information about decimal numbers
1616
* `/mean_history/TOKEN1_ID/TOKEN2_ID?count=<number>` - Return mean swap price for tokens. Mean is not AVG, but ration on the pool address
1717
* `/asset_swap/TOKEN1_ID/TOKEN2_ID?count=<number>` - Return last swap price for tokens.
18-
* `/socket/` - WebSocket enpoint for Live informatino about swap.
18+
* `/socket/` - WebSocket endpoint for Live information about the swap.
1919

2020

2121
## Setting up
2222

23-
Run a Postgres instance and create an empty databas for this project:
23+
Run a Postgres instance and create an empty database for this project:
2424

2525
```bash
2626
export DATABASE_URL='postgres://postgres:postgres@localhost:5432/wtp'
@@ -31,7 +31,7 @@ cargo run -- -s 'relays-new.cardano-mainnet.iohk.io:3001' -d $DATABASE_URL
3131

3232
## Development
3333

34-
Add precommit hook:
34+
Add pre-commit hook:
3535

3636
```bash
3737
ln -s ../../pre-commit.sh .git/hooks/pre-commit

0 commit comments

Comments
 (0)