Deploy a Simple Smart Contract on Swisstronik Blockchain Using Hardhat

Опубликовано: 29 Октябрь 2024
на канале: Swisstronik
3,017
54

⚡️ Welcome to our step-by-step guide on deploying a simple smart contract on the Swisstronik blockchain using Hardhat! 🚀
In this tutorial, we’ll walk you through the entire process, from setting up your development environment to writing, compiling, and deploying your first smart contract on Swisstronik. Whether you're a beginner or an experienced developer, this video has something for you.

What You’ll Learn:
How to set up Node.js, NPM, and Visual Studio Code
Installing and configuring Hardhat for your project
Writing a simple "Hello Swisstronik" smart contract in Solidity
Configuring the Hardhat project for deployment on Swisstronik blockchain
Deploying and verifying your contract on the Swisstronik network

Useful Links:
Node.js Download: https://nodejs.org/en
Visual Studio Code: https://code.visualstudio.com/
Swisstronik Blockchain Explorer: https://explorer-evm.testnet.swisstro...

Code Snippets:
Check out the code used in this tutorial on GitHub: [https://github.com/arpit3210/create_h...]

///

Time codes:

[00:00:00] Intro
[00:00:51] How to Install Node.js and NPM
[00:01:37] Install Visual Studio Code
[00:02:23] Install Solidity and Pretteir Extention In VsCode
[00:02:52] Install Hardhat and Initialize Hardhat Project
[00:05:05] Update Hardhat.config.js File For Swisstronik Network
[00:05:25] Secure and Set Private Key
[00:05:50] Write Smart Contract
[00:06:40] Compile Smart Contract With Hardhat
[00:07:02] Write Deploy Script For Deployment of Contract
[00:07:57] Claim Faucets for Deploying Contract
[00:08:48] Deploy Contract On Swisstronik Network
[00:09:17] Verify Deployed Contract Address On Swisstronik Network
[00:10:11] Publish Your Project On Github
[00:12:22] Submit Contract Address and Github Repositary