Skip to content

An implementation of GovBlocks Protocol smart contracts, written in Solidity

License

Notifications You must be signed in to change notification settings

nitika-goel/govblocks-protocol

 
 

Repository files navigation

Build Status Coverage Status GitHub issues

GovBlocks

GovBlocks is an open permissionless protocol for blockchain applications. This repo showcases the reference implementation of the GovBlocks protocol.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Requirements

Node >= 7.6

Installing

Firstly, you need to clone this repo. You can do so by downloading the repo as a zip and unpacking or using the following git command

git clone https://github.com/somish/govblocks-protocol.git

Now, It's time to install the dependencies. Enter the govblocks-protocol directory and use

npm install

We need to compile the contracts before deploying. We'll be using truffle for that (You can use Remix or solc directly).

truffle compile

Now, You should start a private network on port 7545 using Ganache or something similar. Then, you can deploy your GovBlocks dApp using the migrate script.

truffle deploy

You can use public networks as well but you will have to do the initialization manually as the contracts will pick up the official addresses otherwise. We recommend using the GovBlocks UI if you wish to test on a public network.

If you want, you can run the test cases using

truffle test

Contributing

You can contribute to this project by forking it, commiting the changes to your fork and then creating a pull request.

About

An implementation of GovBlocks Protocol smart contracts, written in Solidity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 70.0%
  • JavaScript 30.0%