Alternatives to IPFS
While IPFS is a popular choice for dWebsites, there are several other decentralized storage solutions that offer different trade-offs in terms of permanence, cost, and features. This guide explores the major alternatives and how to integrate them with ENS.
Overview of Decentralized Storage Solutions
IPFS
Temporary (unless pinned)
Free (with pinning costs)
Content distribution
Arweave
Permanent
One-time payment
Permanent storage
Swarm
Temporary
Free
Web3 infrastructure
On-chain Data URLs (ENS hooks)
Permanent (on-chain)
Gas per byte
Small, high-value artifacts
Filecoin
Permanent
Ongoing rental
IPFS incentivization
Arweave
Arweave provides permanent, decentralized storage with a one-time payment model.
Key Features
Permanent Storage: Content is stored forever with a single payment
Proof of Access: Novel consensus mechanism ensures data availability
Endowment Model: One-time payment covers indefinite storage
Fast Retrieval: Optimized for quick content access
Getting Started with Arweave
1. Install Arweave Tools
2. Create a Wallet
3. Upload Content
4. Integrate with ENS
Arweave Best Practices
Bundle Multiple Files: Use Arweave's bundling feature for multiple files
Set Appropriate Tags: Use tags for better content organization
Consider Costs: Calculate storage costs before uploading large files
Backup Wallets: Securely store your Arweave wallet
Swarm
Swarm is Ethereum's native storage layer, designed to work seamlessly with the Ethereum ecosystem.
Key Features
Ethereum Native: Built specifically for Ethereum
Incentivized Storage: Nodes earn rewards for storing data
Automatic Replication: Data is automatically distributed across nodes
Privacy Features: Built-in encryption and privacy controls
Getting Started with Swarm
1. Install Swarm
2. Start a Swarm Node
3. Upload Content
4. JavaScript Integration
See Hosting on Swarm for the full publishing guide, including the managed Beeport interface.
5. ENS Integration
On-Chain Data URLs (ENS Hooks)
Rather than referencing a storage network at all, content can be stored directly on chain and served from a smart contract via an EIP-8121 hook in the ENS contenthash.
Key Features
No Storage Network: The blockchain is the storage layer — no pinning, deals, or postage stamps
Self-Describing Resolution: The contenthash specifies the exact contract call (function, parameters, contract, chain) that returns the content
Cross-Chain: Content can live on any EVM chain, resolved via CCIP-Read (ERC-3668)
Updatable: Change the contract's stored data without touching the contenthash
Size-Constrained: Gas pricing makes it practical only for small artifacts (~5KB or less)
See On-Chain Data URLs and ENS Hooks for the concepts, and the ens-hooks encoding guide for a publishing walkthrough.
Filecoin
Filecoin is a decentralized storage network that incentivizes IPFS storage.
Key Features
IPFS Compatible: Built on top of IPFS — content is addressed by the same CIDs
Incentivized Storage: Storage providers earn FIL for provably storing data
Proof of Storage: Cryptographic proofs ensure data availability
Marketplace: Dynamic pricing based on supply and demand
Getting Started with Filecoin Pin
The most direct path for dWebsites is Filecoin Pin, which combines Filecoin's paid, provable storage with standard IPFS retrieval: you pin a file to Filecoin and fetch it with ordinary IPFS tooling — so the resulting Root CID works as an ipfs:// ENS content hash.
You'll need an Ethereum-style wallet, FIL for gas, and USDFC (a stablecoin) for storage payments.
Retrieve the Root CID through any IPFS gateway, and set it as your ENS content hash (ipfs://<root-cid>) like any other IPFS deployment.
Comparison and Selection Guide
When to Use Each Solution
Choose IPFS when:
You need temporary content distribution
You want to avoid ongoing costs
You're building a content-heavy application
You need fast content discovery
Choose Arweave when:
You need permanent storage
You want predictable one-time costs
You're building applications that require data permanence
You need fast retrieval times
Choose Swarm when:
You're building Ethereum-native applications
You want automatic data replication
You need privacy features
You want to contribute to Ethereum's storage layer
Choose On-Chain Data URLs (ENS hooks) when:
Your artifact is small (roughly 5KB or less)
You want availability tied only to the chain itself — no pinning or renewal
You need to update content by changing contract state
Your data is already on chain or needs cross-chain resolution (credentials, registries, metadata)
Choose Filecoin when:
You want IPFS with economic incentives
You need verifiable storage proofs
You want to participate in the storage marketplace
You need enterprise-grade storage guarantees
Multi-Protocol Strategies
Fallback Systems
ENS Multi-Protocol Support
Cost Analysis
Storage Costs Comparison
IPFS
Free (with pinning)
$5-20 (pinning service)
Arweave
One-time
$0.50-1.00 (permanent)
Swarm
Free
$0 (incentivized)
Filecoin
Market rate
$1-3/month
Cost Optimization Strategies
Hybrid Approach: Use IPFS for temporary content, Arweave for permanent
Compression: Compress content before uploading
Deduplication: Avoid storing duplicate content
Selective Storage: Store only essential content permanently
Best Practices
1. Protocol Selection
Evaluate Requirements: Consider permanence, cost, and performance needs
Test Multiple Protocols: Try different solutions before committing
Monitor Costs: Track storage costs across protocols
Plan for Migration: Design systems that can migrate between protocols
2. Content Management
Version Control: Implement versioning for content updates
Backup Strategy: Use multiple protocols for redundancy
Content Optimization: Optimize file sizes and formats
Metadata Management: Maintain proper content metadata
3. Integration Patterns
Abstraction Layer: Build abstraction layers for protocol switching
Fallback Mechanisms: Implement automatic fallbacks
Monitoring: Monitor content availability across protocols
User Experience: Ensure seamless experience regardless of protocol
Tools and Resources
Development Tools
Documentation
Next Steps
With knowledge of storage alternatives, explore:
Arweave and ArNS - Deep dive into permanent storage
On-Chain Data URLs and ENS Hooks - Serving content directly from smart contracts
ENS Subdomains and CCIP - Advanced ENS features
Record Types - Understanding ENS record systems
Last updated