Skip to content

RizeLabs/Sample-Hardhat-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Hardhat Template

Prerequisite

Make sure you have atleast one package manager

Make sure you are using nodejs version equal greater than ^20.0.0

Steps to run!

Installing template 🏗️

git clone https://github.com/RizeLabs/Sample-Hardhat-Template.git
cd Sample-Hardhat-Template/
npm install

Running scripts 🏃‍♂️

  • Encrypted token transfer
npx hardhat run scripts/transferErc20.ts --network encifher
  • Encrypting voting over proposal
npx hardhat run scripts/encryptedVoting.ts --network encifher

Precautions ⚠️

  • Make sure to use node version greater or equal to 20.0.0
  • In case if you are receiving error like this, Then make sure you are using fhevm version 0.5.1 i.e [email protected]
error

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published