fund
Fund Irys' mainnet or devnet with the specified amount of tokens.
ℹ️
Not all calls to fund
will post immediately to your account, some blockchains are faster than others. When funding with AR, it can take upwards of 40 minutes before the balance post. For MATIC, ETH and SOL, balances will usually post in < 10s.
Parameters
-n
: The network to check. Values aremainnet
ordevnet
(if you omit, the default ismainnet
).-t
: The token to use when funding.-w
: Your private key.--provider-url
: RPC URL to use. This is only required when using Devnet.
Examples
Mainnet
irys fund 1000000000000000 \
-t ethereum \
-w bf20......c9885307
Devnet
irys fund 1000000000000000 \
-n devnet \
-t ethereum \
-w bf20......c9885307 \
--provider-url https://rpc.sepolia.dev
ℹ️
Devnet RPC URLs change often, use a recent one from https://chainlist.org/ (opens in a new tab)