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 8 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published.

eos
EOS (EOS) 1,30 1,39%
aave
Aave (AAVE) 86,08 0,47%
the-graph
The Graph (GRT) 0,167817 5,88%
kusama
Kusama (KSM) 75,35 0,71%
waves
Waves (WAVES) 6,65 2,99%
dash
Dash (DASH) 57,11 0,90%
bitcoin
Bitcoin (BTC) 28.654,38 1,94%
ethereum
Ethereum (ETH) 1.951,09 2,61%
cardano
Cardano (ADA) 0,534153 4,99%
tether
Tether (USDT) 0,961930 0,06%
xrp
XRP (XRP) 0,410455 0,75%
solana
Solana (SOL) 51,88 3,16%
polkadot
Polkadot (DOT) 9,96 6,00%
usd-coin
USD Coin (USDC) 0,961930 0,10%
dogecoin
Dogecoin (DOGE) 0,085541 1,21%
uniswap
Uniswap (UNI) 5,01 1,46%
terra-luna
Terra (LUNA) 0,000173 1,95%
litecoin
Litecoin (LTC) 68,90 1,40%
chainlink
Chainlink (LINK) 7,17 3,51%
bitcoin-cash
Bitcoin Cash (BCH) 192,87 2,81%
algorand
Algorand (ALGO) 0,453315 4,00%
matic-network
Polygon (MATIC) 0,669607 1,65%
stellar
Stellar (XLM) 0,132281 1,44%
cosmos
Cosmos Hub (ATOM) 10,47 5,38%
filecoin
Filecoin (FIL) 7,93 4,57%
tron
TRON (TRX) 0,068888 1,94%
ethereum-classic
Ethereum Classic (ETC) 20,17 2,33%
dai
Dai (DAI) 0,961930 0,03%
tezos
Tezos (XTZ) 1,73 2,77%
monero
Monero (XMR) 163,70 2,25%