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.git
2. Navigate to Folder
cd talentlayer-id-contracts
3. Install Dependencies
npm install
4. Create Environment Files
touch .env
5. Create A Local Hardhat Chain
npx hardhat node
6. Deploy Contracts to Local Chain
make install
7. Run Tests
npx hardhat test
Last updated
Was this helpful?