Skip to content

Public repository which shows how to import Solidity smart contracts onto Hedera network

License

Notifications You must be signed in to change notification settings

DRavlic/HSC-tutorial

Repository files navigation

Smart Contract Service

Intro

Public repository which shows how to import Solidity smart contracts onto Hedera network. Simple getter/setter Solidity smart contract is used as an example.

All right granted by MIT license.

For more information about this subject, look at:

Environment setup

Run npm install to setup your development environment.

Get started

  • Log in (or register) on Hedera Portal and copy your Account ID, public and private key into .env file
  • Compile Solidity smart contract with following command: solcjs --bin YourSoliditySmartContract.sol
  • Run (and edit if necessary) deploy.js to deploy your smart contract on Hedera testnet
  • Run contract_interaction.js script for examples on how to interact with deployed smart contract.

About Hedera

Hedera is a distributed ledger for building and deploying decentralized applications and microservices. You can use Hedera’s network services– Consensus, Tokens, Smart Contracts, and File Service–atop the hashgraph consensus algorithm, to build applications with high throughput, fair ordering, and low-latency consensus finality in seconds without relying on centralized infrastructure.

The network is made up of permissioned nodes run by the Hedera Governing Council, a group of term-limited enterprises that lead the network's direction. Over time the network will move to a permissionless model.

Ready to submit your first transaction to a Hedera network? Visit our Getting Started section to learn the basics of how to create an account and transfer HBAR 💥 .

What is Hashgraph?

Hashgraph is a distributed consensus algorithm and data structure that is fast, fair, and secure. This indirectly creates a trusted community, even when members do not necessarily trust each other. Hedera is the only authorized public network to use hashgraph. You can learn more about the consensus algorithm here.

Hello Future Roadmap

Hedera has an audacious but simple vision: to build a trusted, secure, and empowered digital future for all. Take a look at our development roadmap for a glimpse into the future.

About

Public repository which shows how to import Solidity smart contracts onto Hedera network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published