crypto-swap 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/swap.js +14 -12
package/package.json
CHANGED
package/swap.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Crypto Exchange CLI - LightningEX API Client (Node.js)
|
|
3
5
|
* Usage: node exchange.js [command] [options]
|
|
@@ -933,17 +935,17 @@ Options:
|
|
|
933
935
|
--sendNetwork Send network (for pair-list)
|
|
934
936
|
|
|
935
937
|
Examples:
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
938
|
+
crypto-swap
|
|
939
|
+
crypto-swap wizard
|
|
940
|
+
crypto-swap currencies
|
|
941
|
+
crypto-swap pair-list --send USDT --receive USDT
|
|
942
|
+
crypto-swap pair-list --send USDT --receive USDT --send-network TRX
|
|
943
|
+
crypto-swap pair --send USDT --receive USDT --send-network TRX --receive-network BSC
|
|
944
|
+
crypto-swap rate --send USDT --receive USDT --send-network TRX --receive-network BSC --amount 100
|
|
945
|
+
crypto-swap validate --currency USDT --network BSC --address 0x...
|
|
946
|
+
crypto-swap status --id I1Y0...
|
|
947
|
+
crypto-swap monitor --id I1Y0...
|
|
948
|
+
crypto-swap ui --port 8080
|
|
947
949
|
`);
|
|
948
950
|
}
|
|
949
951
|
|
|
@@ -998,7 +1000,7 @@ async function main() {
|
|
|
998
1000
|
break;
|
|
999
1001
|
case 'order':
|
|
1000
1002
|
console.log('❌ The "order" command is disabled. Please use the interactive wizard to place orders:');
|
|
1001
|
-
console.log('
|
|
1003
|
+
console.log(' crypto-swap wizard');
|
|
1002
1004
|
return;
|
|
1003
1005
|
case 'status':
|
|
1004
1006
|
if (!args.options.id) {
|