# Deployment

Deployment is done by running `npx hardhat run scripts/deploy.js`

The various scripts in the `scripts` and `svg` directories are used in deployment.

After deployment [tag the source code](https://git-scm.com/book/en/v2/Git-Basics-Tagging) with the transaction hash that deployed. Commit and push the tag to git. This records and associates the diamond and facet source code with the upgrade.

After deployment the [hardhat etherscan plugin](https://hardhat.org/plugins/nomiclabs-hardhat-etherscan.html) should be used with the diamond and each facet to publish the verified source code.
