Stellar Smart Contract & dApp - Development & Deployment using Stellar-CLI & create-soroban-dapp

Rio Jos - Aug 19 - - Dev Community

This is a submission for the Build Better on Stellar: Smart Contract Challenge : Create a Tutorial

Your Tutorial

What I Created

Is a tutorial or walkthrough on how you can develop a simple dApp using create-soroban-dapp and deploy it onto the standalone/local Stellar network. I also mention how you may also deploy it onto testnet for public access using the Stellar-CLI.

Journey

For creating this tutorial, I first tried building my own dApp where you send a greeting card. During the development of the dApp. I realized I needed to first deploy onto a standalone network, so that I may have the freedom to make embarrassing modifications and play with it. Else I might have to just develop everything publicly. This was in order, for me to test the smart contract first on standalone then when it is stable, I can again deploy it onto Testnet for again testing. Follow a blue-green deployment workflow.

I used OBS Studio do screen capture, where I configured the application to view just the code editor and a browser side by side, and other functionalities to let me quickly share what my current workflow is.

The Stellar documentation was an incredible resource for me to follow in order to develop my dApp & improve this tutorial. And also other community tutorials and discussions helped me to navigate & develop more easily. The official documentation, different GitHub repos, the Stellar discord community was too an incredible resource that helped me create this tutorial and the dApp (also submitted as a solution to the Build a dApp challenge prompt).

As a developer I understand that we need to always have a test environment hidden from the public eyes, to handle all the internal developments, before making it public. I'm actually proud of this. As this is a workflow, that is called TDD (Test Driven Development)

. . . . . . . .
Terabox Video Player