FranzGB / e-voting-contract

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-Voting Platform for decentralized organizations in Ethereum Blockchain 🗳

Installation

npm install

To start using this project you would have to open a local blockchain network using Ganache. You can download it from here.

Usage

npm run ganache

This will start a local blockchain network on your machine. You can then deploy the smart contracts to the network using the following command.

npm run migrate

Then, you can start the server using the following command.

npm run dev

Testing

This project uses truffle for testing. You can run the tests using the following command.

npm run test

Typescript

This project uses Typescript. You can compile the Typescript files to Javascript using the following command.

npm run postinstall

or you can use the following commands to generate the types for the smart-contracts

npm run generate-types

License

MIT

About


Languages

Language:TypeScript 47.7%Language:JavaScript 34.5%Language:Solidity 15.2%Language:Dockerfile 1.5%Language:HTML 0.9%Language:CSS 0.3%