Outro

Outro - HSCS workshop. Learn how to enable custom logic & processing on Hedera through smart contracts.

Video

Congrats!

You've now completed this workshop, and you're now able to:

  • Write the code for a smart contract using solidity.

  • Compile the solidity code into EVM bytecode.

  • Deploy the smart contract onto HSCS.

  • Interact with the smart contract on HSCS to query and change its state.

If you've completed this entire tutorial, wondering what Trogdor was all about...

Where to go from here

There's much more involved in developing smart contracts - here are several things to consider looking into after completing this workshop.

Solidity is a fairly compact language in terms of syntax, and we've covered the essentials already. However there is still quite a bit that was not covered here:

  • constructor

  • function parameters

  • structs

  • conditional logic

  • iterative logic

  • custom function modifiers

  • interface

  • import

  • inheritance

  • smart contracts interacting with other smart contracts

  • ... and more

The Solidity language documentation is a great reference to explore on this front

Since a smart contract's code is immutable once deployed, it is extremely important to "get it right" prior to deployment. Therefore testing smart contracts becomes even more important. Hardhat has a built-in testing facility (test runner plus various test utilities and conveniences) that we have not explored here, and has a great smart contract testing tutorial.

Owing to the same immutable aspect mentioned above, smart contract security is also very important. Look into security audits, static analysis, and dynamic analysis methods.

Finally, verifying smart contracts such that their code and ABI are publicly available on the network explorer is important in building trust in the ecosystem. However, this feature is still a work in progress on Hashscan at the time of writing (July 2023). When this feature lands, we'll have other niceties as well, for example event logs displayed on transactions can show their parsed values, instead of their raw form.

Last updated