Hardhat
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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.
Ensure Hardhat is installed in your project:
Install the VeChain Hardhat plugin:
Configure your hardhat.config.ts
:
VeChain mainnet:
VeChain solo network:
By leveraging this plugin, developers can harness the full potential of VeChainThor blockchain while benefiting from Hardhat's robust development environment. Happy coding!
Notice: At the date of writing, VeChainThor EVM is aligned with Ethereum's at the paris
hard fork. Set the to paris
if you are using solidity compiler version 0.8.20
or above.
For a detailed example of integrating the VeChain SDK with Hardhat, visit our . 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.