> For the complete documentation index, see [llms.txt](https://ipehr.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ipehr.gitbook.io/docs/guides/install/contracts-deployment.md).

# Contracts deployment

The easiest way to load contracts is to use hardhat.&#x20;

To install hardhat, please refer to the [official documentation](https://hardhat.org/tutorial)

In the .env file, set the PRIVATE\_KEY value of the contract owner.

```
git clone https://github.com/bsn-si/IPEHR-blockchain-indexes.git
cd IPEHR-blockchain-indexes
npx hardhat deploy --network <network name>
```
