Skip to main content

Storing data with Gaia

The Gaia storage system allows you to store private app data off the blockchain and still access it securely with Stacks applications. Where possible, apps should only store critical transactional metadata directly to the Stacks blockchain, while keeping app and user data in the Gaia storage system. For more information about the Gaia storage system, see the Gaia protocol reference.

A Gaia hub consists of a service and a storage resource, generally hosted on the same cloud compute provider. The hub service requires an authentication token from a storage requester, and writes key-value pairs to the associated storage resource. Storage user can choose a Gaia hub provider. This documentation provides an overview of how to set up and operate a Gaia hub.