Skip to content

Commit 78ea4fe

Browse files
committed
qol
2 parents ad21726 + 30b3e40 commit 78ea4fe

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Afria Defi Terminal
2-
3-
## Infrastructure
4-
* NodeJS 12.^
5-
61

72
# Setup
83

94
- Install and make sure you are running Node JS 12
105
- Clone the Repo
116
- Open a Node terminal & change directory to the project root
127
- Run `npm install`
13-
- Run `npx hardhat compile`
8+
- Run `truffle compile`
9+
- Copy `.env.example` to a new `.env` file and insert your secrets
1410
- To start the program run `node ./`
1511

1612

13+
# Deployments
14+
15+
- Modify the `1-deploy-contracts.js` to import the contract with the required params.
16+
- Modify the deployer function with the params needed by your contracts constructor.
1717

1818
# Task Running
1919

@@ -51,3 +51,8 @@ Then, copy the deployment address and paste it in to replace `DEPLOYED_CONTRACT_
5151
```shell
5252
npx hardhat verify --network ropsten DEPLOYED_CONTRACT_ADDRESS "Hello!"
5353
```
54+
# Testing
55+
56+
- Run npx hardhat node --fork YOUR_HTTPS_PROVIDER
57+
- Open a new terminal and set the WebSocketProvider to consume `http://127.0.0.1/8545`
58+
- Run the scripts and watch the terminal with the running chain.

0 commit comments

Comments
 (0)