Skip to content

Commit 0be19eb

Browse files
committed
docs: polycli fund
Signed-off-by: Ji Hwan <[email protected]>
1 parent d40061f commit 0be19eb

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

doc/polycli_fund.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,22 @@ $ cast balance 0x5D8121cf716B70d3e345adB58157752304eED5C3
8484
## Flags
8585
8686
```bash
87-
--addresses strings comma-separated list of wallet addresses to fund
88-
--contract-address string address of pre-deployed Funder contract
89-
--eth-amount big.Int amount of wei to send to each wallet (default 50000000000000000)
90-
-f, --file string output JSON file path for storing addresses and private keys of funded wallets (default "wallets.json")
91-
--hd-derivation derive wallets to fund from private key in deterministic way (default true)
92-
-h, --help help for fund
93-
--key-file string file containing accounts private keys, one per line
94-
-n, --number uint number of wallets to fund (default 10)
95-
--private-key string hex encoded private key to use for sending transactions (default "0x42b6e34dc21598a807dc19d7784c71b2a7a01f6480dc6f58258f78e539f1a1fa")
96-
-r, --rpc-url string RPC endpoint URL (default "http://localhost:8545")
97-
--seed string seed string for deterministic wallet generation (e.g., 'ephemeral_test')
87+
--addresses strings comma-separated list of wallet addresses to fund
88+
--approve-amount big.Int amount of ERC20 tokens to approve for the spender (default 1000000000000000000000)
89+
--approve-spender string address to approve for spending tokens from each funded wallet
90+
--contract-address string address of pre-deployed Funder contract
91+
--erc20-bulk-funder-address string address of pre-deployed ERC20BulkFunder contract
92+
--eth-amount big.Int amount of wei to send to each wallet (default 50000000000000000)
93+
-f, --file string output JSON file path for storing addresses and private keys of funded wallets (default "wallets.json")
94+
--hd-derivation derive wallets to fund from private key in deterministic way (default true)
95+
-h, --help help for fund
96+
--key-file string file containing accounts private keys, one per line
97+
-n, --number uint number of wallets to fund (default 10)
98+
--private-key string hex encoded private key to use for sending transactions (default "0x42b6e34dc21598a807dc19d7784c71b2a7a01f6480dc6f58258f78e539f1a1fa")
99+
-r, --rpc-url string RPC endpoint URL (default "http://localhost:8545")
100+
--seed string seed string for deterministic wallet generation (e.g., 'ephemeral_test')
101+
--token-address string address of the ERC20 token contract to mint and fund (if provided, enables ERC20 mode)
102+
--token-amount big.Int amount of ERC20 tokens to mint and transfer to each wallet (default 1000000000000000000)
98103
```
99104
100105
The command also inherits flags from parent commands.

0 commit comments

Comments
 (0)