Skip to content

pot4e/FHE-contract-example

Repository files navigation

FHE-contract-example

Pre Requisites

Install pnpm

Before being able to run any command, you need to create a .env file and set a BIP-39 compatible mnemonic as an environment variable. If you don't already have a mnemonic, you can use this website to generate one. You can run the following command to use the example .env:

cp .env.example .env

Then, proceed with installing dependencies:

pnpm install

Compile

Compile the smart contracts with Hardhat:

npx hardhat compile --network inco

TypeChain

Compile the smart contracts and generate TypeChain bindings:

pnpm typechain

(For more control over the deployment process, you can rewrite the deployment script (deploy.ts) and use the command npx hardhat run scripts/deploy.ts --network inco to deploy your contracts.)

Test

Run the tests with Hardhat:

npx hardhat test --network inco

Deploy

Deploy the ERC20 to Inco Gentry Testnet Network:

npx hardhat run deploy/BlindAuction.ts --network inco 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published