Skip to content

AudiusProject/fund-solana-fee-payers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fund-solana-fee-payers

Funds Solana relay fee payers from a funder wallet to a target amount.

Intended to be used in a cron job.

Usage

npm run start -- [options] [command]

or

tsx ./src/index [options] [command]

Commands

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

Fund

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

About

Script that funds Solana fee payer wallets from a funder wallet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •