The AccessSecuritySystem contract manages property access in a decentralized environment. Users can own and grant access to properties with specified expiration times. Key features include property creation, ownership tracking, and access management.
The ClaimsContract facilitates secure information exchange on the blockchain. Users can make claims, request information, and respond to requests. The contract manages received information and allows users to assert ownership of documents.
The DecisionVoting contract enables the creation of voting polls with predefined options and eligible voters. Users can cast votes, and the contract provides functionality to check poll results, including the winning option and total votes.
Some features of these contracts are:-
- Decentralized management of property access.
- Handles claims, requests, and ownership of documents.
- Enables the creation of voting polls with predefined options.
- Back End: Solidity.
First git clone it or download the zip
git clone https://github.com/Rashaad10/DocChain.git
npm install
ignore the warnings
Create a .env file and put your private key of the metamask account
PRIVATE_KEY={@your private key}
npm run deploy