Verifiable timestamps and ordering of events.
The Hedera Smart Contracts service fully supports the open source Solidity language. Meaning you can drop in Solidity code and take advantage of popular community tools and frameworks.
Smart contracts on Hedera can be run within realms — a defined portion of the network, isolated to execute a smart contract – which will make it possible to process multiple smart contracts simultaneously.
With smart contracts, you can tokenize the deed to a home, a rare in-game item, or even create your own token with defined characteristics and ownership. Hedera supports Solidity community standards, such as ERC-20 and ERC-721 tokens.
When you create a smart contract on Hedera you can optionally set admin keys to enable binding arbitration that can change it. Or don't; it's up to you.
Hedera doesn't allow any single node to influence a transaction's ordering. Your smart contracts are processed in the order they are received, not based on how much gas you’re willing to pay.
Hedera Smart Contract takes advantage of the hashgraph consensus algorithm’s proven, asynchronous Byzantine fault tolerance, to keep your application running.
Add a Solidity file to Hedera to use the Hedera Smart Contract API to create, update, and query a smart contract's state.
// Create the contract from existing bytecode file
var contractTx = new ContractCreateTransaction(client)
var contractReceipt = contractTx.executeForReceipt();
var newContractId = Objects.requireNonNull(contractReceipt.getContractId());
System.out.println("new contract ID: " + newContractId);
//Creates and submits the query
var contractCallResult = new ContractCallQuery(client).setGas(30000)
var message = contractCallResult.getString();
System.out.println("contract message: " + message);
Head of Technology
Define unique assets, ownership, and more with Solidity smart contracts. Smart contracts are well suited for managing assets and unlocking further value. Take an example of tokenized real estate.
Create and deploy a Solidity smart contract to create a token representing a unique asset or security. A great example being a plot of land.
Instantiate a smart contract to enable an atomic swap. This allows parties to exchange an asset for cryptocurrency without an intermediary.
Buyer and owner submit a transaction with signatures that cause the asset and payment to simultaneously change owners.
Optionally request a state proof, a mathematical guarantee, that proves the transaction was completed, and which ledger it was on.