OVERVIEW
Supported tokens

Tokens

Iyrs supports 14 tokens used when paying for and signing 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
ArweaveARarweaveyesyes (via Arconnect)
Avalanche C-ChainAVAXavalancheyesyes
BobaBOBAbobayesyes
Boba-ethETHboba-ethyesyes
ChainlinkLINKchainlinkyesyes
EthereumETHethereumyesyes
FantomFTMfantomyesyes
NearNEARnearyesyes
PolygonMATICmaticyesyes
SolanaSOLsolanayesyes

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
Ethereum (Sepolia)ETHethereumyesyes
NearNEARnearyesyes
Polygon (Mumbai)MATICmaticyesyes
SolanaSOLsolanayesyes

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 url = "https://devnet.irys.xyz";
	// Devnet RPC URLs change often, use a recent one from https://chainlist.org/chain/80001
	const providerUrl = "";
	const token = "matic";
 
	const irys = new Irys({
		url, // URL of the node you want to connect to
		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;
};