@@ -36,58 +36,12 @@ Import the newly generated or an existing private key
36
36
$ airswap account:import
37
37
```
38
38
39
- # Explore the Network
40
-
41
- Set the active chain ([ ChainIds] ( https://github.com/airswap/airswap-protocols/blob/8ddcacf9ab7b9b5778e5003c56564e7ae55afc9c/tools/constants/index.ts#L28 ) )
39
+ Set the active chain
42
40
43
41
```
44
42
$ airswap chain
45
43
```
46
44
47
- Get URLs for active servers
48
-
49
- ```
50
- $ airswap registry:get
51
- ```
52
-
53
- Get a quote from a specific peer
54
-
55
- ```
56
- $ airswap rfq:get
57
- ```
58
-
59
- Get the best quote from all peers
60
-
61
- ```
62
- $ airswap rfq:best
63
- ```
64
-
65
- # Balance Management
66
-
67
- Get balances for known tokens
68
-
69
- ```
70
- $ airswap balances
71
- ```
72
-
73
- Transfer a balance to another account
74
-
75
- ```
76
- $ airswap token:transfer
77
- ```
78
-
79
- Deposit a native balance (e.g. ETH) into wrapped (e.g. WETH)
80
-
81
- ```
82
- $ airswap wrapped:deposit
83
- ```
84
-
85
- Withdraw a native balance from wrapped
86
-
87
- ```
88
- $ airswap wrapped:withdraw
89
- ```
90
-
91
45
# All Commands
92
46
93
47
<!-- commands -->
@@ -138,7 +92,7 @@ DESCRIPTION
138
92
delete the current ethereum account
139
93
```
140
94
141
- _ See code: [ src/commands/account/delete.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/account/delete.ts ) _
95
+ _ See code: [ src/commands/account/delete.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/account/delete.ts ) _
142
96
143
97
## ` airswap account:export `
144
98
@@ -152,7 +106,7 @@ DESCRIPTION
152
106
export the current ethereum account
153
107
```
154
108
155
- _ See code: [ src/commands/account/export.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/account/export.ts ) _
109
+ _ See code: [ src/commands/account/export.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/account/export.ts ) _
156
110
157
111
## ` airswap account:generate `
158
112
@@ -166,7 +120,7 @@ DESCRIPTION
166
120
generate a new ethereum account
167
121
```
168
122
169
- _ See code: [ src/commands/account/generate.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/account/generate.ts ) _
123
+ _ See code: [ src/commands/account/generate.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/account/generate.ts ) _
170
124
171
125
## ` airswap account:import `
172
126
@@ -180,7 +134,7 @@ DESCRIPTION
180
134
import an ethereum account
181
135
```
182
136
183
- _ See code: [ src/commands/account/import.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/account/import.ts ) _
137
+ _ See code: [ src/commands/account/import.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/account/import.ts ) _
184
138
185
139
## ` airswap approve `
186
140
@@ -194,7 +148,7 @@ DESCRIPTION
194
148
approve a token for trading
195
149
```
196
150
197
- _ See code: [ src/commands/approve.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/approve.ts ) _
151
+ _ See code: [ src/commands/approve.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/approve.ts ) _
198
152
199
153
## ` airswap balances `
200
154
@@ -208,7 +162,7 @@ DESCRIPTION
208
162
display token balances
209
163
```
210
164
211
- _ See code: [ src/commands/balances.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/balances.ts ) _
165
+ _ See code: [ src/commands/balances.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/balances.ts ) _
212
166
213
167
## ` airswap best `
214
168
@@ -222,7 +176,7 @@ DESCRIPTION
222
176
compare order pricing from servers
223
177
```
224
178
225
- _ See code: [ src/commands/best.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/best.ts ) _
179
+ _ See code: [ src/commands/best.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/best.ts ) _
226
180
227
181
## ` airswap chain `
228
182
@@ -236,7 +190,7 @@ DESCRIPTION
236
190
set the active chain
237
191
```
238
192
239
- _ See code: [ src/commands/chain.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/chain.ts ) _
193
+ _ See code: [ src/commands/chain.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/chain.ts ) _
240
194
241
195
## ` airswap gas `
242
196
@@ -250,7 +204,7 @@ DESCRIPTION
250
204
set gas price for transactions
251
205
```
252
206
253
- _ See code: [ src/commands/gas.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/gas.ts ) _
207
+ _ See code: [ src/commands/gas.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/gas.ts ) _
254
208
255
209
## ` airswap help [COMMANDS] `
256
210
@@ -284,7 +238,7 @@ DESCRIPTION
284
238
inspect protocols for a server
285
239
```
286
240
287
- _ See code: [ src/commands/inspect.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/inspect.ts ) _
241
+ _ See code: [ src/commands/inspect.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/inspect.ts ) _
288
242
289
243
## ` airswap ip `
290
244
@@ -298,7 +252,7 @@ DESCRIPTION
298
252
display local network addresses
299
253
```
300
254
301
- _ See code: [ src/commands/ip.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/ip.ts ) _
255
+ _ See code: [ src/commands/ip.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/ip.ts ) _
302
256
303
257
## ` airswap metadata:add `
304
258
@@ -312,7 +266,7 @@ DESCRIPTION
312
266
add token to local metadata
313
267
```
314
268
315
- _ See code: [ src/commands/metadata/add.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/metadata/add.ts ) _
269
+ _ See code: [ src/commands/metadata/add.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/metadata/add.ts ) _
316
270
317
271
## ` airswap metadata:delete `
318
272
@@ -326,7 +280,7 @@ DESCRIPTION
326
280
delete token from local metadata
327
281
```
328
282
329
- _ See code: [ src/commands/metadata/delete.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/metadata/delete.ts ) _
283
+ _ See code: [ src/commands/metadata/delete.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/metadata/delete.ts ) _
330
284
331
285
## ` airswap metadata:lookup `
332
286
@@ -340,7 +294,7 @@ DESCRIPTION
340
294
lookup token in local metadata
341
295
```
342
296
343
- _ See code: [ src/commands/metadata/lookup.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/metadata/lookup.ts ) _
297
+ _ See code: [ src/commands/metadata/lookup.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/metadata/lookup.ts ) _
344
298
345
299
## ` airswap metadata:update `
346
300
@@ -354,7 +308,7 @@ DESCRIPTION
354
308
update local metadata from remote sources
355
309
```
356
310
357
- _ See code: [ src/commands/metadata/update.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/metadata/update.ts ) _
311
+ _ See code: [ src/commands/metadata/update.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/metadata/update.ts ) _
358
312
359
313
## ` airswap order `
360
314
@@ -368,7 +322,7 @@ DESCRIPTION
368
322
get an order from a server
369
323
```
370
324
371
- _ See code: [ src/commands/order.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/order.ts ) _
325
+ _ See code: [ src/commands/order.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/order.ts ) _
372
326
373
327
## ` airswap protocols:add `
374
328
@@ -382,7 +336,7 @@ DESCRIPTION
382
336
add supported protocols to the registry
383
337
```
384
338
385
- _ See code: [ src/commands/protocols/add.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/protocols/add.ts ) _
339
+ _ See code: [ src/commands/protocols/add.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/protocols/add.ts ) _
386
340
387
341
## ` airswap protocols:list `
388
342
@@ -396,7 +350,7 @@ DESCRIPTION
396
350
list activated protocols
397
351
```
398
352
399
- _ See code: [ src/commands/protocols/list.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/protocols/list.ts ) _
353
+ _ See code: [ src/commands/protocols/list.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/protocols/list.ts ) _
400
354
401
355
## ` airswap protocols:remove `
402
356
@@ -410,7 +364,7 @@ DESCRIPTION
410
364
remove supported protocols from the registry
411
365
```
412
366
413
- _ See code: [ src/commands/protocols/remove.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/protocols/remove.ts ) _
367
+ _ See code: [ src/commands/protocols/remove.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/protocols/remove.ts ) _
414
368
415
369
## ` airswap registry:approve `
416
370
@@ -424,7 +378,7 @@ DESCRIPTION
424
378
enable staking on the registry
425
379
```
426
380
427
- _ See code: [ src/commands/registry/approve.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/registry/approve.ts ) _
381
+ _ See code: [ src/commands/registry/approve.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/registry/approve.ts ) _
428
382
429
383
## ` airswap registry:eject `
430
384
@@ -438,7 +392,7 @@ DESCRIPTION
438
392
remove url, protocols, and tokens from registry
439
393
```
440
394
441
- _ See code: [ src/commands/registry/eject.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/registry/eject.ts ) _
395
+ _ See code: [ src/commands/registry/eject.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/registry/eject.ts ) _
442
396
443
397
## ` airswap registry:list `
444
398
@@ -452,7 +406,7 @@ DESCRIPTION
452
406
get urls from the registry
453
407
```
454
408
455
- _ See code: [ src/commands/registry/list.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/registry/list.ts ) _
409
+ _ See code: [ src/commands/registry/list.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/registry/list.ts ) _
456
410
457
411
## ` airswap registry:revoke `
458
412
@@ -466,7 +420,7 @@ DESCRIPTION
466
420
disable staking on the registry
467
421
```
468
422
469
- _ See code: [ src/commands/registry/revoke.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/registry/revoke.ts ) _
423
+ _ See code: [ src/commands/registry/revoke.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/registry/revoke.ts ) _
470
424
471
425
## ` airswap registry:status `
472
426
@@ -480,7 +434,7 @@ DESCRIPTION
480
434
check status of url, protocols, and tokens on registry
481
435
```
482
436
483
- _ See code: [ src/commands/registry/status.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/registry/status.ts ) _
437
+ _ See code: [ src/commands/registry/status.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/registry/status.ts ) _
484
438
485
439
## ` airswap registry:url `
486
440
@@ -494,7 +448,7 @@ DESCRIPTION
494
448
set server url on the registry
495
449
```
496
450
497
- _ See code: [ src/commands/registry/url.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/registry/url.ts ) _
451
+ _ See code: [ src/commands/registry/url.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/registry/url.ts ) _
498
452
499
453
## ` airswap revoke `
500
454
@@ -508,7 +462,7 @@ DESCRIPTION
508
462
revoke a token approval
509
463
```
510
464
511
- _ See code: [ src/commands/revoke.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/revoke.ts ) _
465
+ _ See code: [ src/commands/revoke.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/revoke.ts ) _
512
466
513
467
## ` airswap stream `
514
468
@@ -522,7 +476,7 @@ DESCRIPTION
522
476
stream quotes for a swap
523
477
```
524
478
525
- _ See code: [ src/commands/stream.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/stream.ts ) _
479
+ _ See code: [ src/commands/stream.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/stream.ts ) _
526
480
527
481
## ` airswap tokens:add `
528
482
@@ -536,7 +490,7 @@ DESCRIPTION
536
490
add supported tokens to the registry
537
491
```
538
492
539
- _ See code: [ src/commands/tokens/add.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/tokens/add.ts ) _
493
+ _ See code: [ src/commands/tokens/add.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/tokens/add.ts ) _
540
494
541
495
## ` airswap tokens:list `
542
496
@@ -550,7 +504,7 @@ DESCRIPTION
550
504
list activated tokens
551
505
```
552
506
553
- _ See code: [ src/commands/tokens/list.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/tokens/list.ts ) _
507
+ _ See code: [ src/commands/tokens/list.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/tokens/list.ts ) _
554
508
555
509
## ` airswap tokens:remove `
556
510
@@ -564,7 +518,7 @@ DESCRIPTION
564
518
remove supported tokens from the registry
565
519
```
566
520
567
- _ See code: [ src/commands/tokens/remove.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/tokens/remove.ts ) _
521
+ _ See code: [ src/commands/tokens/remove.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/tokens/remove.ts ) _
568
522
569
523
## ` airswap transfer `
570
524
@@ -578,7 +532,7 @@ DESCRIPTION
578
532
transfer tokens to another account
579
533
```
580
534
581
- _ See code: [ src/commands/transfer.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/transfer.ts ) _
535
+ _ See code: [ src/commands/transfer.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/transfer.ts ) _
582
536
583
537
## ` airswap wrapped:deposit `
584
538
@@ -592,7 +546,7 @@ DESCRIPTION
592
546
deposit eth to weth
593
547
```
594
548
595
- _ See code: [ src/commands/wrapped/deposit.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/wrapped/deposit.ts ) _
549
+ _ See code: [ src/commands/wrapped/deposit.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/wrapped/deposit.ts ) _
596
550
597
551
## ` airswap wrapped:withdraw `
598
552
@@ -606,5 +560,5 @@ DESCRIPTION
606
560
withdraw eth from weth
607
561
```
608
562
609
- _ See code: [ src/commands/wrapped/withdraw.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.0 /src/commands/wrapped/withdraw.ts ) _
563
+ _ See code: [ src/commands/wrapped/withdraw.ts] ( https://github.com/airswap/airswap-cli/blob/v4.2.1 /src/commands/wrapped/withdraw.ts ) _
610
564
<!-- commandsstop -->
0 commit comments