Irys is the world's first L1 programmable datachain. On Irys, you can upload onchain data, deploy smart contracts, and those smart contracts can access and perform verifiable computations on onchain data.
This Irys JS SDK is for uploading onchain data.
Migrating from our old SDK? We've got a handy guide for you.
The Irys JS SDK reduces dependency bloat by providing dedicated packages for each supported token.
Install only the specific packages you require.
- cli: The Irys storage CLI.
- ethereum: Use with NodeJS, contains token-specific packages for all supported EVM tokens.
- ethereum-web: Use in the browser, contains token-specific packages for all supported EVM tokens.
- ethereum-ethers-v5: Use with the ethers v5 browser provider.
- ethereum-ethers-v6: Use with the ethers v6 browser provider.
- ethereum-viem-v2: Use with the viem v2 browser provider.
- solana-node: Use with NodeJS, contains token-specific packages for all supported Solana tokens.
- solana-web: Use in the browser, contains token-specific packages for all supported Solana tokens.
- aptos-node: Use with NodeJS and the Aptos token.
- aptos-web: Use in the browser with the Aptos token.
The Irys core packages are used internally, most users will not need to install them directly.