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:
Run npm install
to setup your development environment.
- 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.
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 💥 .
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.
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.