Say hello to the data layer
Connecting services with the data layer
Eliminate silos with the web3.storage platform. Using IPFS and other decentralized protocols, create a true data layer that connects you, your users, and the Web, regardless of where content is stored - client-side, in the cloud, or elsewhere.
Sounds hard? It isn’t. Our client libraries are super easy-to-use, abstracting the complexity of these decentralized protocols. And we provide services like data storage designed to natively support these protocols, so things just work without you ever being locked-in.
1 // store.mjs
2
3 import { Web3Storage, getFilesFromPath } from 'web3.storage'
4
5 const token = process.env.API_TOKEN
6 const client = new Web3Storage({ token })
7
8 async function storeFiles () {
9 const files = await getFilesFromPath('/path/to/file')
10 const cid = await client.put(files)
11 console.log(cid)
12 }
13
14
Run it with
npm i web3.storage
API_TOKEN=YOUR_TOKEN node ./store.mjs
web3.storage is built for scale
storing data on web3
to use API or JS library
Why web3.storage?
Open
Reliable
Simple
Frequently Asked Questions
web3.storage is a suite of APIs and services that make it easy for developers and other users to interact with data in a way that is not tied to where the data is actually physically stored. It natively uses decentralized data and identity protocols like IPFS, Filecoin, and UCAN that enable verifiable, data- and user-centric application architectures and workflows.
At the core of the platform includes a hosted storage service which can be used to upload and persist data to make it continuously available. The platform also contains additional services like w3link and w3name that make it easier to create seamless, delightful web experiences utilizing web3 protocols.
Get Started with web3.storage
npm install web3.storage
curl -X POST —data-binary “@foo.gif” https://api.web3.storage/upload
Trusted by the future
web3.storage is the easiest way to enable the decentralized web for anyone, from cutting-edge user-first apps, to traditional products at scale, to hackathon projects.
See what people building the future of the web today have to say, and get started.