File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 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
5252npx 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.
You can’t perform that action at this time.
0 commit comments