1- # LedgerFlow CLI
1+ # LedgerFlow ETH CLI
22
3- A command-line interface for interacting with the LedgerFlow PaymentVault smart contract using Rust and Alloy.
3+ A command-line interface for interacting with the LedgerFlow PaymentVault smart contract on Ethereum using Rust and Alloy.
44
55## Features
66
@@ -13,7 +13,7 @@ A command-line interface for interacting with the LedgerFlow PaymentVault smart
1313## Installation
1414
1515``` bash
16- cd ledgerflow-cli
16+ cd ledgerflow-eth- cli
1717cargo build --release
1818```
1919
@@ -24,7 +24,7 @@ cargo build --release
2424Requires prior USDC approval to the PaymentVault contract:
2525
2626``` bash
27- ./target/release/ledgerflow-cli deposit \
27+ ./target/release/ledgerflow-eth- cli deposit \
2828 --rpc-url " https://sepolia.unichain.org" \
2929 --private-key " 0x..." \
3030 --contract-address " 0x..." \
@@ -37,7 +37,7 @@ Requires prior USDC approval to the PaymentVault contract:
3737Combines approval and deposit in a single transaction:
3838
3939``` bash
40- ./target/release/ledgerflow-cli deposit-with-permit \
40+ ./target/release/ledgerflow-eth- cli deposit-with-permit \
4141 --rpc-url " https://sepolia.unichain.org" \
4242 --private-key " 0x..." \
4343 --contract-address " 0x..." \
@@ -51,7 +51,7 @@ Combines approval and deposit in a single transaction:
5151Withdraw all USDC from the vault:
5252
5353``` bash
54- ./target/release/ledgerflow-cli withdraw \
54+ ./target/release/ledgerflow-eth- cli withdraw \
5555 --rpc-url " https://sepolia.unichain.org" \
5656 --private-key " 0x..." \
5757 --contract-address " 0x..."
@@ -112,7 +112,7 @@ export RPC_URL="https://sepolia.unichain.org"
112112export VAULT_ADDRESS=" 0x742d35Cc6634C0532925a3b8D11C5d2B7e5B3F6E"
113113
114114# Use with CLI
115- ./target/release/ledgerflow-cli deposit \
115+ ./target/release/ledgerflow-eth- cli deposit \
116116 --rpc-url " $RPC_URL " \
117117 --private-key " $PRIVATE_KEY " \
118118 --contract-address " $VAULT_ADDRESS " \
@@ -134,7 +134,7 @@ ORDERS=(
134134
135135for order in " ${ORDERS[@]} " ; do
136136 echo " Depositing for order: $order "
137- ./target/release/ledgerflow-cli deposit-with-permit \
137+ ./target/release/ledgerflow-eth- cli deposit-with-permit \
138138 --rpc-url " $RPC_URL " \
139139 --private-key " $PRIVATE_KEY " \
140140 --contract-address " $VAULT_ADDRESS " \
0 commit comments