Contract deployment - Hardhat
In this comprehensive guide, we'll walk you through the process of deploying your very first smart contract using Hardhat and mastering the art of interaction through SwisstronikJS scripts sendShieldedQuery
and sendShieldedTransaction
The full repository for this tutorial can be found here https://github.com/SigmaGmbH/swisstronik-tutorials/tree/main/Contract_deployment%20_hardhat
📜 Overview: What's Inside?
In this section, you'll find everything you need to confidently deploy and interact with smart contracts using Hardhat:
Environment Setup: Quickly get ready with Hardhat. We'll show you how step by step.
Your Network in
hardhat.config.js
: Customize for Swisstronik. Learn to usehardhat.config.js
for network setup.Smart Contracts: Create a contract in Solidity to set and retrieve messages.
Deploy Contracts: Deploy your smart contract into the Swisstronik blockchain
Transactions: Execute a transaction to set a message in the smart contract using
sendShieldedTransaction
Calls: Talk to your deployed smart contract. Retrieve the message using
sendShieldedQuery
Last updated