Skip to content

Hedera hashgraph example - Deploying and doing transactions using Node.js

License

Notifications You must be signed in to change notification settings

codetit4n/hedera-node-example

Repository files navigation

hedera-node-example

Deploy solidity smart contract and do transactions on the hashgraph network using Node.js

Step by step instructions

  • Step 1: Clone the repo:
git clone https://github.com/codeTIT4N/hedera-node-example
  • Step 2: Install node modules:
npm i
  • Step 3: Create a free developer account on hedera using: https://portal.hedera.com/

  • Step 4: Rename .env.example to .env and update the variables you get from step 3

  • Step 5: Run the project using:

node index.js
  • Step 6: If you want to change anything in the smart contract don't forget to recompile the contract using:
solcjs --bin LookupContract.sol

Example output:

Screenshot 2022-11-30 at 5 56 03 PM

About

Hedera hashgraph example - Deploying and doing transactions using Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages