fibx 0.3.1 → 0.3.2
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/README.md +6 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ A command-line tool for DeFi operations on **Base, Citrea, HyperEVM, and Monad**
|
|
|
20
20
|
- Node.js >= 18
|
|
21
21
|
- A running [fibx-server](https://github.com/ahmetenesdur/fibx-server) instance
|
|
22
22
|
|
|
23
|
-
##
|
|
23
|
+
## Usage
|
|
24
24
|
|
|
25
25
|
### Authentication
|
|
26
26
|
|
|
@@ -39,8 +39,6 @@ npx fibx auth logout
|
|
|
39
39
|
npx fibx status
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
## Usage
|
|
43
|
-
|
|
44
42
|
### Global Options
|
|
45
43
|
|
|
46
44
|
Use `-c` or `--chain` to specify the target chain. Default is `base`.
|
|
@@ -57,9 +55,9 @@ npx fibx balance --chain citrea
|
|
|
57
55
|
### Send
|
|
58
56
|
|
|
59
57
|
```bash
|
|
60
|
-
npx fibx send 0.001 0xRecipient # Send ETH
|
|
61
|
-
npx fibx send 10 0xRecipient USDC # Send ERC-20
|
|
62
|
-
npx fibx send 1 0xRecipient --chain monad # Send on Monad
|
|
58
|
+
npx fibx send 0.001 0xRecipient # Send native token on Base (ETH)
|
|
59
|
+
npx fibx send 10 0xRecipient USDC # Send ERC-20 on Base
|
|
60
|
+
npx fibx send 1 0xRecipient --chain monad # Send on Monad native token (MON)
|
|
63
61
|
```
|
|
64
62
|
|
|
65
63
|
### Swap
|
|
@@ -90,7 +88,7 @@ npx fibx wallets <email> # List active wallet
|
|
|
90
88
|
### Aave V3 (Base)
|
|
91
89
|
|
|
92
90
|
```bash
|
|
93
|
-
npx fibx aave status
|
|
91
|
+
npx fibx aave status # Account health
|
|
94
92
|
npx fibx aave supply 100 USDC # Deposit
|
|
95
93
|
npx fibx aave borrow 50 USDC # Borrow
|
|
96
94
|
npx fibx aave repay max USDC # Repay all
|
|
@@ -99,4 +97,4 @@ npx fibx aave withdraw max USDC # Withdraw all
|
|
|
99
97
|
|
|
100
98
|
## Agent Skills
|
|
101
99
|
|
|
102
|
-
For AI agent integration, see the [fibx-skills](
|
|
100
|
+
For AI agent integration, see the [fibx-skills](https://github.com/Fibrous-Finance/fibx-skills) directory.
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ const program = new Command();
|
|
|
16
16
|
program
|
|
17
17
|
.name("fibx")
|
|
18
18
|
.description("Fibrous DeFi CLI — wallet, transfer, swap")
|
|
19
|
-
.version("0.3.
|
|
19
|
+
.version("0.3.2")
|
|
20
20
|
.option("-c, --chain <chain>", "Chain to use (base, citrea, hyperevm, monad)", "base")
|
|
21
21
|
.option("--json", "Output results as JSON", false)
|
|
22
22
|
.showHelpAfterError();
|