Docs
  • Welcome to the ipEHR docs
  • Concepts
    • Basics
      • What is EHR?
      • What is ipEHR?
      • ipEHR and the problems it solves
      • How ipEHR works
    • Components
      • Gateway
      • Datastore Node
      • Document Index
      • Users Directory
      • Access Management
      • Data publishing
    • Encryption
  • Guides
    • Install
      • Contracts deployment
      • Gateway
      • Stat
  • Reference
    • APIs
      • Gateway HTTP REST API
      • Stat HTTP REST API
    • Contracts
      • EhrIndexer
      • Users
      • AccessStore
      • DataStore
Powered by GitBook
On this page
  1. Guides
  2. Install

Contracts deployment

PreviousInstallNextGateway

Last updated 1 year ago

The easiest way to load contracts is to use hardhat.

To install hardhat, please refer to the

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>
official documentation