Hardhat
Hardhat is a powerful, flexible development environment for Ethereum-based blockchain projects. It offers a comprehensive suite of tools for editing, compiling, debugging, and deploying smart contracts and decentralized applications (dApps). These components seamlessly integrate to create a robust ecosystem that supports the entire development lifecycle.
Our custom VeChain plugin extends Hardhat's capabilities to the VeChain blockchain, enabling our community to leverage this advanced toolset for VeChain-specific development. This integration allows developers to harness Hardhat's efficient workflows and powerful features while building on VeChain's innovative blockchain platform.
Introduction
The VeChain SDK Hardhat Plugin seamlessly integrates Hardhat with the VeChain SDK, providing developers with a powerful toolset for smart contract development on the VeChainThor blockchain. This essential package streamlines the process of creating, testing, deploying, and interacting with smart contracts in the VeChain ecosystem.
Installation and Setup
Prerequisites
Ensure Hardhat is installed in your project:
Adding VeChain Support
Install the VeChain Hardhat plugin:
Configure your
hardhat.config.ts
:
Notice: At the date of writing, VeChainThor EVM is aligned with Ethereum's at the
paris
hard fork. Set the evmVersion toparis
if you are using solidity compiler version0.8.20
or above.
Networks
VeChain mainnet:
VeChain solo network:
Example Usage
For a detailed example of integrating the VeChain SDK with Hardhat, visit our apps/sdk-hardhat-integration directory. This repository contains a fully configured project demonstrating best practices and common use cases, serving as an excellent starting point for your VeChain development journey.
By leveraging this plugin, developers can harness the full potential of VeChainThor blockchain while benefiting from Hardhat's robust development environment. Happy coding!
Last updated