Install the Digital Assets Hardhat Command-Line Interface
You can download the Hardhat CLI tool from the Oracle Blockchain Platform console.
Prerequisites
Before you install the Hardhat CLI on your local system, you must install the prerequisites.
- Node.js version 22.17.0 or later
- npm version 10.9.2 or later
Use nvm to install Node.js and npm. For more information, see Node Version Manager at GitHub.
Install the Hardhat CLI
- Download the packaged smart contract application that you want to use from the ERC20+ or ERC1155+ areas in the Oracle Blockchain Platform interface.
- Run the following command to extract the package.
unzip <downloaded-pre-packaged-name>.zip -d <path/to/directory> - Navigate to the directory where you extracted the package.
cd <path/to/directory> - Run the following commands to install the dependencies.
npm install - Run the following command to confirm that version 2.28.6 of Hardhat is installed.
npx hardhat –version