Learn

With all that in mind, let’s look at how we might build our fictional app using this stack.

  1. First, we need to choose what chain we want to build on. Let’s say we choose to build on Stacks.
  2. The next thing we would need to do is decide how we want to access the data from the blockchain. In this case, we’ll utilize the Stacks API provided by Hiro.
  3. Next we’ll get set up with our Clarinet development environment so we can spin up a local chain.
  4. And we’ll need to integrate our app with the Hiro Web Wallet for authentication and identity management.
  5. We’ll also have some data that we don’t necessarily want on-chain, so we’ll set ourselves up with Gun.eco for our decentralized off-chain data storage.
  6. Next we need to choose a client library, and in this case we’ll choose Micro-Stacks and build our actual front end using Remix.
  7. Finally, we need a way to host our dapp. We can go the traditional route of centralized hosting using something like Vercel or Netlify. Or, if we want our dapp, to be 100% decentralized we can deploy it to Arweave or IPFS.

This process is still relatively involved, and this is the basic process you’ll go through each time you want to build a new dapp. You’ll need to consider which pieces you want decentralized and which you want centralized, what should be on-chain and off-chain, and what the right tool for each job is. As you continue to explore the web3 ecosystem and practice building more dapps, you’ll start to both discover new tools and learn which are best for which task.

Instructions

Press Next to complete this lesson!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?