0.0.5 ⢠Published 10 months ago
xvm-hardhat-provider-plugin v0.0.5
xvm-hardhat-provider-plugin
Highlights
š Ready to Use: xvm-hardhat-provider-plugin provides plug-and-play XVM network support for your Hardhat projects.
š Seamless Compatibility: With this plugin, developers can switch to the XVM network as easily as using other Ethereum networks.
ā” Efficient Development: Greatly simplifies the process of developing, testing, and deploying smart contracts on the XVM network.
š Easy Configuration: Enable XVM network support in your project with just a few lines of code.
Installation
Bring the power of XVM into your project with just one command:
// if you use npm
npm install xvm-hardhat-provider-plugin
// if you use yarn
yarn install xvm-hardhat-provider-plugin
Enabling the Plugin
Add one line to your hardhat.config.ts
file to activate the plugin:
import "xvm-hardhat-provider-plugin";
Network Configuration
Add XVM network configuration, which is identical to other network configurations:
const config: HardhatUserConfig = {
networks: {
xvm: {
url: "...",
accounts: ['YOUR_PRIVATE_KEY_HERE'],
},
}
};
Logging Support
Built-in logging functionality to help you debug easily:
import Log from "xmv-sdk/dist/Log";
Log.enable();