OVERVIEW
Supported tokens

Tokens

Iyrs supports most poppular tokens for paying for uploads.

Mainnet tokens

On Nodes 1 and 2 can pay for uploads in any of these tokens:

Token / BlockchainTokenParameter ValueIrys SupportWebIrys Support
AptosAPTaptosyesyes
AlgorandALGOalgorandyesno
ArbitrumETHarbitrumyesyes
ArweaveARarweaveyesno
Avalanche C-ChainAVAXavalancheyesyes
Binance CoinBNBbnbyesyes
BobaBOBAbobayesyes
Boba-ethETHboba-ethyesyes
ChainlinkLINKchainlinkyesyes
EthereumETHethereumyesyes
Base EthereumETHbase-ethyesyes
Linea EthereumETHlinea-ethyesyes
Scroll EthereumETHscroll-ethyesyes
FantomFTMfantomyesyes
IoTeXIoTeXiotexyesyes
NearNEARnearyesyes
PolygonMATICmaticyesyes
SolanaSOLsolanayesyes
USDC (on Ethereum)USDCusdc-ethyesyes
USDC (on Polygon)USDCusdc-polygonyesyes

Devnet tokens

On Devnet, you can pay for uploads in any of these tokens:

Token / BlockchainTokenParameter ValueIrys SupportWebIrys Support
AptosAPTaptosyesyes
AlgorandALGOalgorandyesno
ArbitrumETHarbitrumyesyes
Avalanche C-ChainAVAXavalancheyesyes
BerachainBERAberayesyes
Binance CoinBNBbnbyesyes
ChainlinkLINKchainlinkyesyes
Ethereum (Sepolia)ETHethereumyesyes
Base Ethereum (Sepolia)ETHbase-ethyesyes
Linea Ethereum (Sepolia)ETHlinea-ethyesyes
Scroll Ethereum (Sepolia)ETHscroll-ethyesyes
IoTeXIoTeXiotexyesyes
NearNEARnearyesyes
Polygon (Amoy)AMOYmaticyesyes
SolanaSOLsolanayesyes
USDC (on Ethereum)USDCusdc-ethyesyes
USDC (on Polygon)USDCusdc-polygonyesyes

Specifying token

To use a different token, link your private key and supply the token name when creating a new Irys object. The accepted values for token are listed in the third column of the tables above.

Example:

const getIrys = async () => {
	const network = "devnet";
	// Devnet RPC URLs change often, use a recent one from https://chainlist.org/
	const providerUrl = "";
	const token = "ethereum";
 
	const irys = new Irys({
		network, // "mainnet" || "devnet"
		token, // Token used for payment
		key: process.env.PRIVATE_KEY, // ETH or SOL private key
		config: { providerUrl }, // Optional provider URL, only required when using Devnet
	});
	return irys;
};