DEVELOPER DOCS
Commands
fund

fund

Funds the Irys node you connected to with the specified amount of tokens. Fund the node you intend to upload to, funded balances are not shared between nodes.

ℹ️

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

  • -h: The node to fund
  • -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

Nodes 1 and 2

irys fund 1000000000000000 \
  -h https://node1.irys.xyz \
  -t matic \
  -w bf20......c9885307

Devnet

irys fund 1000000000000000 \
  -h https://devnet.irys.xyz \
  -t matic \
  -w bf20......c9885307 \
  --provider-url https://rpc-mumbai.maticvigil.com
ℹ️

Devnet RPC URLs change often, use a recent one from https://chainlist.org/chain/80001 (opens in a new tab)