How to Deploy Smart Contracts on Hedera – Part 2: A Contract with Hedera Token Service Integration

Write and deploy a Solidity smart contract that integrates with the Hedera Token Service (HTS). Whether you’re new to smart contract development or migrating from another smart contract platform, use Hedera to develop and deploy fast, low-cost, and carbon-negative smart contracts.

The Hedera Smart Contract Service enables you to build decentralized applications and protocols that scale with Solidity smart contracts. Recent updates to this service include Ethereum Virtual Machine (EVM) upgrades, database architecture modifications, and support for Hedera Token Service.

00:00 Introduction
00:39 Solidity Contract walkthrough
05:35 Application overview
07:11 Step 1: Read compiled contract bytecode
08:00 Step 2: Add bytecode file to Hedera (and create fungible token!)
18:58 Step 3: Create smart contract on Hedera (and update token properties)
26:06 Step 4: Execute the smart contract and perform token operations
35:05 Recap and resources to learn more

Resources:

Get a Hedera testnet account: https://portal.hedera.com/register
Read the article: https://hedera.com/blog/how-to-deploy-smart-contracts-on-hedera-part-2-a-contract-with-hedera-token-service-integration
Try the code in CodeSandbox: https://codesandbox.io/s/hedera-example-contract-mint-associate-transfer-hts-li7cz
Get the code in GitHub: https://github.com/ed-marquez/hedera-example-contract-mint-associate-transfer-hts/blob/main/index.js
Get he precompiled Hedera contracts for HTS: https://github.com/hashgraph/hedera-smart-contracts/tree/main/hts-precompile
Documentation for smart contracts on Hedera: https://docs.hedera.com/guides/core-concepts/smart-contracts/gas-and-fees
Examples of smart contracts on Hedera: https://docs.hedera.com/guides/getting-started/try-examples/deploy-a-contract-using-the-hedera-token-service

#Hedera #Hashgraph​ #HBAR

(Visited 103 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 0,800653 4,10%
aave
Aave (AAVE) 85,84 0,27%
the-graph
The Graph (GRT) 0,254727 0,06%
kusama
Kusama (KSM) 28,37 1,98%
waves
Waves (WAVES) 2,31 0,17%
dash
Dash (DASH) 28,93 2,24%
bitcoin
Bitcoin (BTC) 60.919,79 1,66%
ethereum
Ethereum (ETH) 2.978,19 1,76%
cardano
Cardano (ADA) 0,446728 0,18%
tether
Tether (USDT) 0,936494 0,22%
xrp
XRP (XRP) 0,497669 0,22%
solana
Solana (SOL) 138,81 0,27%
polkadot
Polkadot (DOT) 6,51 0,27%
usd-coin
USDC (USDC) 0,936494 0,13%
dogecoin
Dogecoin (DOGE) 0,143891 0,93%
uniswap
Uniswap (UNI) 7,49 3,29%
terra-luna
Terra Luna Classic (LUNC) 0,000103 4,93%
litecoin
Litecoin (LTC) 79,42 1,38%
chainlink
Chainlink (LINK) 13,86 1,57%
bitcoin-cash
Bitcoin Cash (BCH) 452,62 0,71%
algorand
Algorand (ALGO) 0,190050 5,57%
matic-network
Polygon (MATIC) 0,679628 2,38%
stellar
Stellar (XLM) 0,107640 0,05%
cosmos
Cosmos Hub (ATOM) 7,89 0,45%
filecoin
Filecoin (FIL) 5,70 0,15%
tron
TRON (TRX) 0,109828 3,43%
ethereum-classic
Ethereum Classic (ETC) 25,14 0,86%
dai
Dai (DAI) 0,934233 0,01%
tezos
Tezos (XTZ) 0,965468 1,83%
monero
Monero (XMR) 113,58 2,24%