You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* remove market -m requirement from all commmands
* Update README.md
Signed-off-by: RahulJain28 <[email protected]>
* fix format for mint commands
* pr comments
* remove market requirement from get transaction and bump ellipsis client version
* rm -m in readme
---------
Signed-off-by: RahulJain28 <[email protected]>
@@ -40,171 +40,188 @@ Optionally include the following parameters when running the cli:
40
40
41
41
42
42
### get-all-markets
43
-
Returns summary information on all markets that exist on Phoenix. Summary information includes market key, base and quote token keys, and authority key.
43
+
Returns summary information on all markets that exist on Phoenix. Summary information includes market key, base and quote token keys, and authority key. Highly recommended to use the no-gpa flag for mainnet.
Returns detailed information on a specific market. Information includes market balance's of the base and quote tokens, base and quote token keys, base lot size, quote lot size, tick size, and taker fees in basis points.
57
62
58
-
`$ phoenix-cli -u dev get-market -m 5iLqmcg8vifdnnw6wEpVtQxFE4Few5uiceDWzi3jvzH8`
59
-
```
60
-
Base Vault balance: 1134.415
61
-
Quote Vault balance: 15417.129
62
-
Base Token: B1sL3zxwyVnDGzRWCAsBkjL23wyu8HgwQP4XxgnHiSrv
Returns the status of a given market. Markets can be in the following states: Active, PostOnly, Paused, Closed, Uninitialized, Tombstoned.
146
159
147
-
`$ phoenix-cli -u dev get-market-status -m 5iLqmcg8vifdnnw6wEpVtQxFE4Few5uiceDWzi3jvzH8`
160
+
`$ phoenix-cli -u main get-market-status 4DoNfFBfF7UokCC2FQzriy7yHK6DY6NVdYpuekQ5pRgg`
148
161
```
149
162
Market status: Active
150
163
```
151
164
152
165
### get-seat-info
153
166
Returns the status and address of a trader's seat. By default, returns the payer's seat info. Seats can be in the following states: Approved, NotApproved, Retired
154
167
155
-
`$ phoenix-cli -u dev get-seat-info -m 5iLqmcg8vifdnnw6wEpVtQxFE4Few5uiceDWzi3jvzH8 -t mkrc4jMLEPRoKLUnNL7Ctnwb7uJykbwiYvFjB4sw9Z9`
168
+
`$ phoenix-cli -u main get-seat-info 4DoNfFBfF7UokCC2FQzriy7yHK6DY6NVdYpuekQ5pRgg -t 3HBWHuyxWv4uN8U8SeukocrWPfLZJqrtj9DgDHsGo2HR`
Returns all open orders on a given market for a trader. By default, returns the payer's open orders. Returns the side, orderID, price in ticks, price, and size for each order.
163
176
164
-
`$ phoenix-cli -u dev get-open-orders -m 5iLqmcg8vifdnnw6wEpVtQxFE4Few5uiceDWzi3jvzH8 -t mkrc4jMLEPRoKLUnNL7Ctnwb7uJykbwiYvFjB4sw9Z9`
177
+
`$ phoenix-cli -u main get-open-orders 14CAwu3LiBBk5fcHGdTsFyVxDwvpgFiSfDwgPJxECcE5 -t mkrc4jMLEPRoKLUnNL7Ctnwb7uJykbwiYvFjB4sw9Z9`
165
178
```
166
179
Open Bids
167
180
ID | Price (ticks) | Price | Quantity
168
-
18446744073708399662 | 2385 | 11.925 | 5.870
169
-
18446744073708399660 | 2384 | 11.920 | 15.100
170
-
18446744073708399658 | 2382 | 11.910 | 30.226
171
-
18446744073708399656 | 2380 | 11.900 | 67.226
172
-
18446744073708399654 | 2377 | 11.885 | 111.064
181
+
18446744073707873235 | 4466 | 22.330 | 3.134
182
+
18446744073707873233 | 4465 | 22.325 | 8.062
183
+
18446744073707873231 | 4462 | 22.310 | 16.136
184
+
18446744073707873237 | 4461 | 22.305 | 35.866
185
+
18446744073707873247 | 4457 | 22.285 | 89.746
186
+
18446744073707873229 | 4457 | 22.285 | 59.232
187
+
18446744073707873245 | 4420 | 22.100 | 226.244
173
188
174
189
Open Asks
175
190
ID | Price (ticks) | Price | Quantity
176
-
1151952 | 2387 | 11.935 | 4.865
177
-
1151954 | 2388 | 11.940 | 15.075
178
-
1151956 | 2390 | 11.950 | 30.125
179
-
1151958 | 2392 | 11.960 | 66.889
180
-
1151960 | 2395 | 11.975 | 110.229
181
-
1151962 | 2399 | 11.995 | 166.736
191
+
1678379 | 4468 | 22.340 | 3.133
192
+
1678381 | 4469 | 22.345 | 8.055
193
+
1678383 | 4470 | 22.350 | 16.107
194
+
1678377 | 4473 | 22.365 | 35.770
195
+
1678385 | 4475 | 22.375 | 58.994
196
+
1678367 | 4483 | 22.415 | 89.225
197
+
1678369 | 4520 | 22.600 | 221.238
182
198
```
183
199
184
200
### request-seat
185
-
Requests a seat for the payer on the given market. Note that the seat will have to then be approved by the market authority in order to place limit orders.
201
+
Send a transaction on chain to allocate a seat for the payer on the given market. This will cost ~.0018 SOL for rent. Note that the seat will have to then be approved by the market authority in order to place limit orders.
186
202
187
-
`$ phoenix-cli -u dev request-seat -m 5iLqmcg8vifdnnw6wEpVtQxFE4Few5uiceDWzi3jvzH8`
203
+
`$ phoenix-cli -u main request-seat 4DoNfFBfF7UokCC2FQzriy7yHK6DY6NVdYpuekQ5pRgg`
Mints tokens of the ticker_string (example: SOL) to the given pubkey. Default amount is 100_000_000_000.
209
+
Mints tokens of the ticker_string (example: SOL) to the given pubkey. Default amount is 100_000_000_000. This command is only relevant for tokens associated with the ellipsis token faucet. On mainnet, this will only apply to the BASE/QUOTE market at address `14CAwu3LiBBk5fcHGdTsFyVxDwvpgFiSfDwgPJxECcE5`
194
210
195
-
`$ phoenix-cli -u dev mint-tokens -m SOL -a 100000 -r aChXgDyJn7g5BCkjccisGc78LrQZKEmNgt5sz8Tdkzn`
211
+
`$ phoenix-cli -u main mint-tokens BASE aChXgDyJn7g5BCkjccisGc78LrQZKEmNgt5sz8Tdkzn -a 100000`
196
212
```
197
213
Creating ATA
198
-
100000 Tokens minted! Mint pubkey: B1sL3zxwyVnDGzRWCAsBkjL23wyu8HgwQP4XxgnHiSrv, Recipient address: aChXgDyJn7g5BCkjccisGc78LrQZKEmNgt5sz8Tdkzn
214
+
100000 Tokens minted! Mint pubkey: 7Z6Kczxo8ViRpfnsVvVaATB5fQ8bN2CQpxP8DHfd1vz5, Recipient address: aChXgDyJn7g5BCkjccisGc78LrQZKEmNgt5sz8Tdkzn
199
215
```
200
216
201
217
### mint-tokens-for-market
202
-
Mints the base and quote tokens of the given market to the given pubkey. Default amounts are 100_000_000_000 for base and 100_000_000 for quote.
218
+
Mints the base and quote tokens of the given market to the given pubkey. Default amounts are 100_000_000_000 for base and 100_000_000 for quote. This command is only relevant for tokens associated with the ellipsis token faucet. On mainnet, this will only apply to the BASE/QUOTE market at address `14CAwu3LiBBk5fcHGdTsFyVxDwvpgFiSfDwgPJxECcE5`
203
219
204
-
`$ phoenix-cli -u dev mint-tokens-for-market -m 5iLqmcg8vifdnnw6wEpVtQxFE4Few5uiceDWzi3jvzH8 -r aChXgDyJn7g5BCkjccisGc78LrQZKEmNgt5sz8Tdkzn`
220
+
`$ phoenix-cli -u main mint-tokens-for-market 14CAwu3LiBBk5fcHGdTsFyVxDwvpgFiSfDwgPJxECcE5 aChXgDyJn7g5BCkjccisGc78LrQZKEmNgt5sz8Tdkzn`
0 commit comments