- Installing dependencies
First run
npm ito ensure that all the node depenedencies are installed. - Install truffle globally
Run
npm i -g truffle - Ensure that Ganache is running I am using a Ganache GUI server. It runs as soon as I open the GUI. Also confirm that the port number is 7545.
- Build the Contract
run
truffle migrate. It should compile and deploy the contract. A build folder will be generated and populated. If theres any issue with compilation, runtruffle compileand debug from there. If theres any issue with deployment, verify that the ganache instance is running. - Run the server
Run
node server.jsand check if it connects to the ganache instance. This is where it is currently failing
PoVA-Consensus/Reputation-Contract-Implementation
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|