How to Deploy Smart Contracts on Hedera - Part 1: A Simple Getter and Setter Contract

Поделиться
HTML-код
  • Опубликовано: 3 авг 2024
  • 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. 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.
    In this video, you will learn how to write a getter-setter smart contract in Solidity and deploy it on the Hedera network. Read the full article here: hedera.com/blog/how-to-deploy...
    Timestamps:
    00:00 Introduction
    01:28 Get a Hedera testnet account
    02:38 Environment setup
    04:00 Write Solidity smart contract
    09:28 Compile the contract into bytecode
    10:22 Application overview
    11:52 Add bytecode file to Hedera
    16:11 Create smart contract on Hedera
    19:50 Execute the smart contract
    27:25 Recap and resources to learn more
    Developer resources:
    Website: hedera.com/get-started
    Get a Hedera testnet account: portal.hedera.com/register
    Try the code in CodeSandbox: codesandbox.io/s/hedera-examp...
    Get the code in GitHub:
    github.com/ed-marquez/hedera-...
    Documentation for smart contracts on Hedera: docs.hedera.com/guides/docs/s...
    Examples of smart contracts on Hedera: docs.hedera.com/guides/gettin...
    Whitepapers: hedera.com/papers​
    FAQ: help.hedera.com
    Chat: hedera.com/discord​
    Join our community to learn more:
    Twitter: / hedera​
    Telegram: t.me/hederahashgraph​
    Discord: hedera.com/discord​
    LinkedIn: / hashgraph
    Facebook: / hashgraph​
    Reddit: / hedera
    RUclips: / hederahashgraph
    #Hedera #Hashgraph​ #HBAR
  • НаукаНаука

Комментарии • 27

  • @jmous8094
    @jmous8094 2 года назад +18

    Yesss, this is exactly the type of videos we need for ecosystem growth. Well done, Ed!

  • @relax5715
    @relax5715 2 года назад +4

    Great job Ed!

  • @ChristianMoise
    @ChristianMoise 2 года назад

    This guy is a vscode ninja. Thanks for the tuts

  • @engineforce
    @engineforce 2 года назад +1

    Thanks, look forward to your part 2.

  • @itsdubc8550
    @itsdubc8550 2 года назад +2

    Nice! More videos like this please!

  • @kavanagharchie
    @kavanagharchie 2 года назад +4

    Comment for the algorithmoid

  • @12334455375
    @12334455375 2 года назад +2

    thank you

  • @limyyik
    @limyyik 2 года назад +1

    Looks promising

  • @lexrol86
    @lexrol86 2 года назад +3

    HELLO FUTURE

  • @Chris-bv2hz
    @Chris-bv2hz 2 года назад +1

    This is awesome

  • @dwightperry9811
    @dwightperry9811 2 года назад +3

    I watched till the end and didn't get any of it then again I am not a coder. 🤣🤣🤣

  • @jamalkay4698
    @jamalkay4698 2 года назад +2

    🔥👍🏾

  • @mateoescobar6902
    @mateoescobar6902 2 года назад +2

    So can I upload nft's using Hedera smart contracts? Not a coder but would love to use the hashgraph ecosystem

  • @qazawatzirak5048
    @qazawatzirak5048 2 года назад +2

    Why are you creating a getter function for a public variable ? And I am getting INSUFFICIENT_TX_FEE error for the getter function call.

  • @calebadeyanju8014
    @calebadeyanju8014 Год назад

    How can I listen to events in Hedera using js

  • @damianlluch
    @damianlluch 2 года назад

    Hi, where did you get the RPCs to connect Metamask? I don't see them anywhere.

  • @wilhelm.reeves
    @wilhelm.reeves 2 года назад

    Reading from the contract shouldn't cost gas fees, like getting the number of Alice, is it something that'll change in the future?

  • @aberdeenaberdeen3959
    @aberdeenaberdeen3959 2 года назад

    you have not given step by step how they have explained solona or etherrium there is a problem with setting up vs code environment itself

  • @ashok_sandhyala
    @ashok_sandhyala 2 года назад

    You did not mention anything related to the .env file what should we need to include in it?

    • @jonsnowcrypto
      @jonsnowcrypto Год назад +1

      your private key is what should be in the .env file and you need to hide it too, don't deploy it with your code or else anyone can grab it and wipe your funds.

  • @harshnambiar
    @harshnambiar Год назад

    why is _name memory but _mobileNumber is not so?

  • @dmsanz_youtube
    @dmsanz_youtube 2 года назад +1

    This is really great video Ed, thanks.
    Haven't tried solidity yet but looking forward to it. Is the community .net SDK enough to develop smart contracts on Hedera?

  • @danielcosta6218
    @danielcosta6218 2 года назад +1

    Having `error status CONTRACT_REVERT_EXECUTED` when getting a receipt from the setMobileNumber method, anyone had a similar issue?

  • @ymlaos9850
    @ymlaos9850 2 года назад

    Dont know why keeps getting INSUFFICIENT_TX_FEE. Pls help

  • @sultansulaiman6483
    @sultansulaiman6483 2 года назад

    +1009