For the complete documentation index, see llms.txt. This page is also available as Markdown.

Smart Contracts Local Setup

Requirements

Hardhat. Installation instructions found here

Instructions

1. Clone Repository From GitHub

git clone https://github.com/TalentLayer/talentlayer-id-contracts.git

2. Navigate to Folder

cd talentlayer-id-contracts

3. Install Dependencies

npm install

4. Create Environment Files

touch .env

Setup .env according to this example.

5. Create A Local Hardhat Chain

6. Deploy Contracts to Local Chain

Please see ./talentlayer-id-contracts/Makefile for more details.

Open up a new instance of the terminal (Mac/Linux) or command line (Windows).

7. Run Tests

Last updated