Skip to content

Instantly share code, notes, and snippets.

@andresmgsl
Last active October 6, 2021 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andresmgsl/7a345bae012df5180e434229e72a47b4 to your computer and use it in GitHub Desktop.
Save andresmgsl/7a345bae012df5180e434229e72a47b4 to your computer and use it in GitHub Desktop.
Dapps Playbook

Creating a Dapp using Ehtereum 🚧

In this tutorial I'll show you how to create a basic Etherium Dapp. Keep in mind that it's important to have a previews look to this file

Now, lets get started with this. As always, Im using Nx, creating and initial angular app using the following command:

npx nx generate @nrwl/angular:application --name='Ethereum Dapp Example' --style=scss --directory=blockchain --port=7100 --inlineTemplate --routing --skipTests --tags='ethereum dapp' --no-interactive

For the beginning we should use Remix which is an online editor to develop smartcontracts using solidity. For test the smartcontract, we'll use Truflle

Remix have a vscode extention that i recommend -> https://marketplace.visualstudio.com/items?itemName=RemixProject.ethereum-remix

Dapps Fundamentals 🚧

To start developing dapps and using blockchain technology, its important to understant the main concept of dapps. A dapp (Decentralized application) is and applications that runs in a decentralized computer system (like a blockchain). The dapp have two main parts.

  1. The Smart Contract

  2. The frontend GUI (this is not mandatory, but you really dont want your users interact through command line with your smartcontracts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment