Smart Contracts Local Setup
ALERT: In most cases, you don't need to set up local contracts - everything is ready to use on Testnet! If you have advanced needs, we recommend contacting our team.
Requirements
Hardhat. Installation instructions found here
Instructions
1. Clone Repository From GitHub
git clone https://github.com/TalentLayer/talentlayer-id-contracts.git2. Navigate to Folder
cd talentlayer-id-contracts3. Install Dependencies
npm install4. Create Environment Files
touch .env5. Create A Local Hardhat Chain
npx hardhat node 6. Deploy Contracts to Local Chain
make install7. Run Tests
npx hardhat testLast updated
Was this helpful?