Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulpra045 authored Dec 11, 2023
1 parent 2340421 commit 41eefc4
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,24 @@ You should have some understanding of Solidity and smart contracts.
* Clone this repository to your local machine.
* Open a terminal window and navigate to the project directory.
* Install the required dependencies by running npm install.
```shell
npm install
```
* Compile the smart contracts by running npx hardhat compile.
```shell
npx hardhat compile
```
* Deploy the smart contracts to a testnet by running npx hardhat run scripts/deploy.js.
```shell
npx hardhat run --network sepolia scripts/deploy.js
```
* Once the contract is uploaded to the blockchain, copy the contract address and copy it in the .env file. You can also use another blockchain by writing the blockchain's endpoint in hardhat-config.

*Once you have pasted your private key and contract address in the .env file, simply run command

```shell
npm start
```

## Testing:

Expand Down Expand Up @@ -78,7 +94,7 @@ Contributing:
* Security and Privacy: Formal verification, bug bounty programs, privacy-enhancing technologies.
* User Experience: User-friendly interface, mobile application, accessibility features.

## Installation
<!---## Installation
After you cloned the repository, you want to install the packages using
```shell
Expand All @@ -99,3 +115,4 @@ Once you have pasted your private key and contract address in the .env file, sim
```shell
npm start
```
--->

0 comments on commit 41eefc4

Please sign in to comment.