In this guide:
- Setting up Hardhat, the most popular development framework for Ethereum which also works perfectly for Viction.
- Creating a Hardhat project.
- Creating a Viction wallet.
- Requesting free tokens using Viction faucet.
- Writing a smart contract.
- Compiling and migrating the smart contract to Viction.
- Connecting Metamask to Viction Testnet.
- Creating a user interface to interact with the smart contract.
Remember CryptoKitties in 2017? A single Dapp brought the whole Ethereum blockchain to its knees. The network was congested, with endless waiting times for transaction confirmation and high transaction fees. Porting to Viction would seem a good idea for the cute kitties.
Viction Mainnet can process 2,000 TPS, which is 100x faster than the Ethereum blockchain, and for a fraction of the cost.
In this tutorial, we will see how to build a Dapp using Solidity and then deploy it to Viction blockchain.
Note: Because deploying a smart contract on Mainnet is much similar to Testnet, the differences are just the configuration information, this document will explicitly mention the differences where possible.