How I Created My First Dapp(Decentralized app)-Part 1

in #blockchain7 years ago (edited)

Screen Shot 2018-02-14 at 9.18.34 PM.png

I was sooo excited to begin creating my first Fullstack Dapp!

For those who are still learning, a dapp is a decentralized application. Only unlike your standard app with a front end and backend(where code tradionally runs on centralized servers) , a Dapp's backend is running on a peer to peer network that's decentralized and in the case of Ethereum, a contract. The front end (you know, the part everyone gets to see/ooooohhh and aaaahhhh about, as they interact with the app), can be React or Vue, Angular etc....whatever you want.

I'm creating a simple billing system....ya'll better have my money!! lol jk.... Let's go through the steps I took, together.

  1. First thing I did was, went to github.ethereum/mist/releases
    downloaded the latest version ..should be 0.9.3 (There’s a sign about this already but I just thought it was important to reiterate it as I’ve known folks who’ve lost money..
    Screen Shot 2018-03-03 at 2.58.36 PM.png

I’m using a mac so I downloaded macs version. Depending on when you see this, it might be a different edition.

Ethereum-Wallet-macosx-0-9-3.dmg
Screen Shot 2018-03-03 at 2.59.06 PM.png

Once I downloaded the wallet, and installed it…all I can say is, go grab some coffee..or whatever you favorite drink/snack is.(This will definitely take time so prepare to wait, my child..

Ok, we haven't given up yet, right?! Now, hopefully we've made it to the other side and the wallet is finally downloaded.
After the downloading is completed, you'll see this page....
Screen Shot 2018-03-06 at 12.02.03 AM.png

Once it's finished synching you'll see this..click on 'USE THE TEST NETWORK'
Screen Shot 2018-03-03 at 3.19.25 PM.png

Next, you’ll be prompted to create a password- make it as extensive as u can
You will also be prompted to backup your password and keys= don’t ignore this part
Screen Shot 2018-03-03 at 3.42.15 PM.pngkeep

Once you’re in the wallet, You’ll have option of using real money or the Ropsten or Rinkeby testnet. Make sure you’re using a test network. You can see this by clicking on Develop, Network, and you’ll see Network Rinkeby and Ropsten Testnet.
I went with Ropsten. I definitely suggest you use one of those definitely over real money. You don't want to make a mistake and lose real money.

Screen Shot 2018-03-03 at 6.19.44 PM.png

I’m assuming it’s your first time using this wallet..if so, you can go grab some fake money by going to: develop
-Start mining (this method takes a while as well…usually 20-30 minutes.(because I had some ether on my Metamask I went ahead and transferred two to my Ethereum wallet. You’ll get maybe 2 or three ether coins which is sufficient to deploy your contract

Screen Shot 2018-03-03 at 6.17.43 PM.png

Once you have some Ether, go to contracts on upper right part of page
Screen Shot 2018-03-03 at 7.21.28 PM.png

Deploy new contracts
Screen Shot 2018-03-03 at 7.46.48 PM.png

Paste the new contract:(You can tweak this according to what you want to create. This will be a simple billing app.
Screen Shot 2018-03-06 at 10.15.04 AM.png

It's going to ask for your name right underneath
Screen Shot 2018-03-04 at 11.05.48 PM.png

Click 'deploy' on bottom of page
Screen Shot 2018-03-04 at 11.04.05 PM.png

A pop up will appear and click 'send transaction'

It's now time to celebrate this great accomplishment! ..

Exactly how I looked

Next week, I’ll work on learning how to incorporate the front end so I have a full stack dapp. Hope you can join me:)

Sort:  

Awesome! I am looking orward to seeing more of your work. Thanks for sharing, I found this very inspiring.

Thanks a lot!:) What language do you code in?

I am about to start a coding bootcamp in a few weeks. I will be learning python first. I am really nervous but excited. Your post inspired me knowing the hard work will lead to building cool things. I am reight in the middle of the confuson of the begining of learning code.

Thanks, that means a lot to me:)! Nice,Good luck!! No matter what, never quit!

Thats great info. Im researching doing a dapp at the moment so this info is gold!

Awesome to hear that, thanks! Let me know how it goes for u:)

I love DAPPs. Now does this only work with Ethereum? Does it also work with Bitcoin or does it have it's own cryptocurrency or is it more like an electronic debit card that can take in money from cryptocurrencies? Good work with what you do. I do some web design. I can build computers and I use Ubuntu Mate and I have Bitcoin and Litecoin and have some wallets on my computer and have tested a bunch of things in my life. I love Steemit. I love this new world we live in where we can always try to make things better more and more all around the world in so many ways.

Hey Joey, thanks!:) Yea, me too! This is only for Ethereum. That's cool that you do all that stuff. I haven't used Ubuntu yet, but I want to

If I could just figure out how to resteem this, I will!

And how do I make myself understandable...?

I desperately want to make dapps, but not with a computer. I want to make them with my android phone.

And I know that this question is "asking for trouble"