DocChainApprove is a blockchain-based document approval system that leverages smart contracts and InterPlanetary File System for secure and verifiable document handling processes.
- Blockchain integration for immutable document approval.
- Smart contract functionality for secure operations.
- IPFS document store.
- An Alchemy account for interacting with the blockchain.
- Node.js installed on your machine.
- Clone the repository to your local machine.
- Copy
.env.example
to.env
. - Add your Alchemy API Key (
ALCHEMY_API_KEY
) and your wallet's private key (DEPLOYER_PRIVATE_KEY
) to the.env
file. - Install dependencies
yarn install
- Run application
yarn start
- Navigate to the Hardhat directory:
cd packages/hardhat
- Install the dependencies:
npx hardhat compile
- Deploy the smart contracts using:
npx ts-node --files ./scripts/DeployWithViem.ts
After deployment, the smart contract can be interacted with through any frontend interface connected to the blockchain via Alchemy.