Skip to content

Commit ee036c7

Browse files
committed
v4.2.1; readme update
1 parent be221df commit ee036c7

File tree

3 files changed

+36
-82
lines changed

3 files changed

+36
-82
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.22.1
1+
v18.19.0

README.md

Lines changed: 34 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -36,58 +36,12 @@ Import the newly generated or an existing private key
3636
$ airswap account:import
3737
```
3838

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
4240

4341
```
4442
$ airswap chain
4543
```
4644

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-
9145
# All Commands
9246

9347
<!-- commands -->
@@ -138,7 +92,7 @@ DESCRIPTION
13892
delete the current ethereum account
13993
```
14094

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)_
14296

14397
## `airswap account:export`
14498

@@ -152,7 +106,7 @@ DESCRIPTION
152106
export the current ethereum account
153107
```
154108

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)_
156110

157111
## `airswap account:generate`
158112

@@ -166,7 +120,7 @@ DESCRIPTION
166120
generate a new ethereum account
167121
```
168122

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)_
170124

171125
## `airswap account:import`
172126

@@ -180,7 +134,7 @@ DESCRIPTION
180134
import an ethereum account
181135
```
182136

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)_
184138

185139
## `airswap approve`
186140

@@ -194,7 +148,7 @@ DESCRIPTION
194148
approve a token for trading
195149
```
196150

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)_
198152

199153
## `airswap balances`
200154

@@ -208,7 +162,7 @@ DESCRIPTION
208162
display token balances
209163
```
210164

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)_
212166

213167
## `airswap best`
214168

@@ -222,7 +176,7 @@ DESCRIPTION
222176
compare order pricing from servers
223177
```
224178

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)_
226180

227181
## `airswap chain`
228182

@@ -236,7 +190,7 @@ DESCRIPTION
236190
set the active chain
237191
```
238192

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)_
240194

241195
## `airswap gas`
242196

@@ -250,7 +204,7 @@ DESCRIPTION
250204
set gas price for transactions
251205
```
252206

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)_
254208

255209
## `airswap help [COMMANDS]`
256210

@@ -284,7 +238,7 @@ DESCRIPTION
284238
inspect protocols for a server
285239
```
286240

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)_
288242

289243
## `airswap ip`
290244

@@ -298,7 +252,7 @@ DESCRIPTION
298252
display local network addresses
299253
```
300254

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)_
302256

303257
## `airswap metadata:add`
304258

@@ -312,7 +266,7 @@ DESCRIPTION
312266
add token to local metadata
313267
```
314268

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)_
316270

317271
## `airswap metadata:delete`
318272

@@ -326,7 +280,7 @@ DESCRIPTION
326280
delete token from local metadata
327281
```
328282

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)_
330284

331285
## `airswap metadata:lookup`
332286

@@ -340,7 +294,7 @@ DESCRIPTION
340294
lookup token in local metadata
341295
```
342296

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)_
344298

345299
## `airswap metadata:update`
346300

@@ -354,7 +308,7 @@ DESCRIPTION
354308
update local metadata from remote sources
355309
```
356310

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)_
358312

359313
## `airswap order`
360314

@@ -368,7 +322,7 @@ DESCRIPTION
368322
get an order from a server
369323
```
370324

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)_
372326

373327
## `airswap protocols:add`
374328

@@ -382,7 +336,7 @@ DESCRIPTION
382336
add supported protocols to the registry
383337
```
384338

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)_
386340

387341
## `airswap protocols:list`
388342

@@ -396,7 +350,7 @@ DESCRIPTION
396350
list activated protocols
397351
```
398352

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)_
400354

401355
## `airswap protocols:remove`
402356

@@ -410,7 +364,7 @@ DESCRIPTION
410364
remove supported protocols from the registry
411365
```
412366

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)_
414368

415369
## `airswap registry:approve`
416370

@@ -424,7 +378,7 @@ DESCRIPTION
424378
enable staking on the registry
425379
```
426380

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)_
428382

429383
## `airswap registry:eject`
430384

@@ -438,7 +392,7 @@ DESCRIPTION
438392
remove url, protocols, and tokens from registry
439393
```
440394

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)_
442396

443397
## `airswap registry:list`
444398

@@ -452,7 +406,7 @@ DESCRIPTION
452406
get urls from the registry
453407
```
454408

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)_
456410

457411
## `airswap registry:revoke`
458412

@@ -466,7 +420,7 @@ DESCRIPTION
466420
disable staking on the registry
467421
```
468422

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)_
470424

471425
## `airswap registry:status`
472426

@@ -480,7 +434,7 @@ DESCRIPTION
480434
check status of url, protocols, and tokens on registry
481435
```
482436

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)_
484438

485439
## `airswap registry:url`
486440

@@ -494,7 +448,7 @@ DESCRIPTION
494448
set server url on the registry
495449
```
496450

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)_
498452

499453
## `airswap revoke`
500454

@@ -508,7 +462,7 @@ DESCRIPTION
508462
revoke a token approval
509463
```
510464

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)_
512466

513467
## `airswap stream`
514468

@@ -522,7 +476,7 @@ DESCRIPTION
522476
stream quotes for a swap
523477
```
524478

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)_
526480

527481
## `airswap tokens:add`
528482

@@ -536,7 +490,7 @@ DESCRIPTION
536490
add supported tokens to the registry
537491
```
538492

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)_
540494

541495
## `airswap tokens:list`
542496

@@ -550,7 +504,7 @@ DESCRIPTION
550504
list activated tokens
551505
```
552506

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)_
554508

555509
## `airswap tokens:remove`
556510

@@ -564,7 +518,7 @@ DESCRIPTION
564518
remove supported tokens from the registry
565519
```
566520

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)_
568522

569523
## `airswap transfer`
570524

@@ -578,7 +532,7 @@ DESCRIPTION
578532
transfer tokens to another account
579533
```
580534

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)_
582536

583537
## `airswap wrapped:deposit`
584538

@@ -592,7 +546,7 @@ DESCRIPTION
592546
deposit eth to weth
593547
```
594548

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)_
596550

597551
## `airswap wrapped:withdraw`
598552

@@ -606,5 +560,5 @@ DESCRIPTION
606560
withdraw eth from weth
607561
```
608562

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)_
610564
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "airswap",
33
"description": "Command Line Interface (CLI) for the AirSwap Network",
4-
"version": "4.2.0",
4+
"version": "4.2.1",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)