Funds Solana relay fee payers from a funder wallet to a target amount.
Intended to be used in a cron job.
npm run start -- [options] [command]
or
tsx ./src/index [options] [command]
Usage: index [options] [command]
Options:
-h, --help display help for command
Commands:
fund [options] Funds fee payers from a funder wallet to the target amount
help [command] display help for command
Usage: index fund [options]
Funds fee payers from a funder wallet to the target amount
Options:
-a, --feePayerAddresses <PATH> Path to a JSON file containing a list of
addresses. (env: FEE_PAYER_ADDRESSES)
-k, --keypair <PATH> Path to a JSON file containing the secret key
of the funder wallet. (env: FUNDER_KEYPAIR)
-t, --target <NUMBER> The amount of SOL each of the fee payers
should be funded to. (default: "1.5")
-u, --url <URL> URL for Solana's JSON RPC (default:
"https://api.mainnet-beta.solana.com", env:
SOLANA_CLUSTER_ENDPOINT)
-h, --help display help for command