How to start developing on Hedera Hashgraph

HBAR CRYPTO_NEWS

I recently learned about Hedera and found their technology to be quite fascinating. Hedera is not a blockchain; it's a public ledger that utilizes hashgraph consensus.

Hashgraph consensus is a more secure and faster alternative to blockchain consensus mechanisms. Think of Hedera as a graph, with the speed of verifying transactions increasing as users add more transactions to the network. A directed acyclic graph (DAG) is the technology behind this. It helps Hedera in exceeding 100,000 transactions per second. As a result, it is a legitimate competitor to Visa and other TradFi mass-payment systems.

 

A council of 19 multinational corporations governs the platform and software that will run on millions of nodes worldwide. Instead of mining, nodes on the hashgraph "gossip" with each other, comparing notes on the network's transaction history.

If you are still trying to decide which network to use for your next DApp, Hedera may be a good option because it will help you launch your DApp fairly, quickly, securely, and cost-effectively. Hedera is the world's greenest proof-of-stake network, and it can help you achieve your environmental sustainability goals by reducing your carbon footprint.

Let's dive in straight on how you can start developing on Hedera. For this lesson, I will refer to an article by Ed Marquez and go into greater detail about it. Here's a link to the article: hedera.com/blog/how-to-develop-on-Hedera-ba..


Here is what we are going to be covering:

  • I will introduce you to the Hedera Portal: Here, you will create a testnet account and receive a fake testnet HBAR. A testnet is simply an instance of the chain used for testing and experimentation without risk to real funds or the main chain.
  • How to configure your environment
  • Here, I will work you through how to set up the environment on your laptop
  • How to create your account
  • Transferring Hbar To start with, let's head to portal.hedera.com. It will welcome you with the screen below.

 

Just below the sign-in button, click on "Create a Testnet Account." It will bring up another screen, as seen below.


For this lesson, we will be using the testnet account. On the right-hand side, input your email and click on "Start building." Hedera will send a verification code to your email address. Input the verification code; another window will prompt you to input your credentials.


Once you log in, you will see the screen below that contains your private key, public key, and account ID. We will need the private key and account ID for the following steps, so copy them.


Now let us head over to our code editor. For this example, we will be using Visual Studio Code.

Here, as you can see, I have created a blank project called setup. Now we need to create some files in this setup folder using the terminal window. Open up the terminal windows and follow along.

Let's start by creating our .env file. Type touch .env on the terminal window and hit enter

NB: Make sure to navigate to the setup directory we created. We will use the env file to store the private key and the account ID we initially copied.

We will also be creating an index.js file. Type touch index.js and hit enter.

After that, we will initialize our repository using the command npm init –yes—hit enter.

 

 

Source : decentrapress.com/how-to-start-developing-on-hedera-hashgraph/ undefined - November 18, 2022

Automata FRANCE SAS

240 rue Evariste Galois,

06410 Biot,

Sophia Antipolis

Automata Pay

65-66 Warwick House 4th

Floor, Queen Street, London

England, EC4R 1EB

Automata ICO Ltd

3rd Floor Ormond Building,

31-36 Ormond Quay Upper,

Dublin 7, D07 Ee37

Automata Pay Europe Ltd

3rd Floor Ormond Building,

31-36 Ormond Quay Upper,

Dublin 7, D07 Ee37

Automata ICO Ltd

Italian Branch

Via Archimede, 161,

00197 Roma

Italy

Automata ICO Limited, a Company incorporated in Ireland with its registered office at 3rd Floor Ormond Building, 31-36 Ormond Quay Upper, Dublin 7, D07 Ee37, Ireland registered in Ireland under number 690280 has applied for a Virtual Asset Service Provider registration with the Central Bank of Ireland. Whilst the application is ongoing, we are permitted to continue business as a Virtual Asset Service Provider in line with the Central Bank of Ireland's regulatory disclosure statement as required under section 106L of the CJA 2010 in relation to registered VASPS.

Automata ICO Limited, a Permanent Establishment incorporated in Italy with its registered office at Via Archimede, 161, Roma, Italy, and registered in Italy under number 96550860587 with the Organismo Agenti e Mediatori (OAM) as a Virtual Asset Service Provider (VASP).

Automata France SAS is a company registered in France with the company number 902 498 617. Automata FRANCE SAS is registered with the french Financial Market Authority, l’Autorité des marchés financiers (“AMF”), as a provider of Virtual Asset Service Provider under number E2023-087.