-
Notifications
You must be signed in to change notification settings - Fork 0
Home
cfxdevkit edited this page Dec 18, 2024
·
1 revision
The espace-hardhat-template builds upon the repository-template with a focus on integrating Hardhat for smart contract development and deployment on the Conflux eSpace blockchain.
This template adds functionality to streamline your blockchain development process while retaining flexibility for customizations.
- Hardhat Ignition configured with viem, providing a modern and flexible interface for interacting with smart contracts.
- Mnemonic Management: The development mnemonic is managed directly by the Hardhat configuration for seamless local testing.
- Predefined custom tasks in Hardhat, including:
-
node: Launch a local Conflux blockchain node. -
accounts: List configured accounts. -
balance: Show the balance of accounts.
-
- Access to the devkit CLI utility for starting and managing a local Conflux blockchain node.
- The environment is pre-configured to use the development mnemonic with the local node.
-
hhCommand: Hardhat CLI is aliased tohhfor quick access to commands. - Tab Autocomplete: Tab-completion for Hardhat commands to improve development efficiency.
- A fully-configured environment for building, testing, and deploying smart contracts with Hardhat on the Conflux eSpace blockchain.
- A powerful starting point for projects in JavaScript or TypeScript that interact with blockchain networks.
- A complete solution for all blockchain use cases—this template provides the base tools and flexibility to customize your project.
The espace-hardhat-template is perfect for:
- Smart Contract Developers: Preconfigured tools for Hardhat make it easy to deploy and test contracts.
- eSpace Blockchain Projects: Simplified setup for interacting with Conflux eSpace nodes.
- Rapid Prototyping: Tab-completion, CLI utilities, and preconfigured tasks enable faster iteration cycles.
Get started with the Quickstart-Guide to set up your environment and start building on Conflux eSpace today!