Install Plugin
Import Plugin
Add the following statements to yourhardhat.config.ts file:
hardhat.config.ts
Update Hardhat config file
In thehardhat.config.ts file, add the statespace object property to the Hardhat config. Below is an example deployment setup with added lines highlighted:
Example hardhat.config.ts
Deploy & Upload
Run thepush command to deploy and upload your project. Login to State Space Workbench to view your project.
If this is your first time, you will be asked to authenticate using your State Space login via a web link.