Building decentralized apps
Prefer to jump right in? Get started with this tutorial where you’ll create a decentralized to-do list app.
Decentralized apps are apps that don’t depend on a centralized platform, server or database. Instead, they use a decentralized network, built on the Stacks blockchain, for authentication, data storage, and backend logic. Just like Bitcoin, a decentralized network of applications is accessible to anyone and not controlled by any central authority.
To learn more about the Blockstack network and decentralization, read the Blockstack overview.
Data is stored with the user and encrypted with a key that only they own. Developers aren’t responsible for, or have to host, their users’ data. This protects users against security breaches and keeps their data private.
Decentralized apps can use smart contracts to make their backend logic public, open, and permissionless. Once published on the blockchain, no one really owns or controls a smart contract. They will execute when the terms are met, regardless of who interacts with it.
Decentralized apps are compatible by nature because they use the same data and shared state. You can build on top of other apps without requiring permission or fear of being shut out.
Like a regular app, yours will require user authentication and data storage — but decentralized. Get started with the documentation below or try the tutorial.
If you need to store and index data shared by multiple users, such as messages or a shared document, read the Radiks documentation.
You can use smart contracts to decentralize your app’s backend logic, making it open and permissionless. Smart contracts on Blockstack are written in the Clarity language. View the smart contracts documentation or get started with a tutorial.