Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amitkumarj441/parsec

A web-scale state channel for the Internet of Value
https://github.com/amitkumarj441/parsec

android blockchain cordova docker ethereum ios-demo kafka-streams kafka-topic sbt scala schema-registry smart-contracts

Last synced: about 13 hours ago
JSON representation

A web-scale state channel for the Internet of Value

Awesome Lists containing this project

README

        

# Parsec
A web-scale state channel for the Internet of Value.

For more info, check [Technical Overview](https://github.com/amitkumarj441/Parsec/blob/master/TECHNICAL_OVERVIEW.md)

## Welcome!

First and foremost, Welcome! :tada: Willkommen! :confetti_ball: Bienvenue! :balloon::balloon::balloon:

## Prerequisites

Install

- [Scala](https://www.scala-lang.org/download/)
- [Sbt](http://www.scala-sbt.org/release/docs/Installing-sbt-on-Linux.html)
- [Docker](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04) & [Docker-compose](https://www.digitalocean.com/.../how-to-install-docker-compose-on-ubuntu-16-04)
- [Apache Kafka](https://www.digitalocean.com/community/tutorials/how-to-install-apache-kafka-on-ubuntu-14-04)

## Run

To run the ParsecSimulator that will generate Parsec Protocol messages on Kafka topics, run

$ sbt simulator/run

Before running the above commands, open another terminal and follow the below setups (then run the above commands in new terminal) :

**Get the setup locally**

The schema-registry and schema-registry-ui as part of the fast-data-dev docker image for local development setup that has backends. Just run:

docker run -d --name=fast-data-dev -p 8081:8081 landoop/fast-data-dev

It contains :

- Confluent OSS with Apache Kafka including: ZooKeeper, Schema Registry, Kafka REST, Kafka-Connect
- Landoop Fast Data Tools including: kafka-topics-ui, schema-registry-ui, kafka-connect-ui
- 20+ Kafka Connectors to simplify ETL processes
- Integration testing and examples embedded into the docker

Then run :

docker run --rm --net=host landoop/fast-data-dev

That's it. Visit http://localhost:3030 to get into the fast-data-dev environment

fast-data-dev web UI screenshot

> Hit **control+c** to stop and remove everything

fast-data-dev web UI screenshot

## Kafka Cluster

You can see the **schemas** as they are registered in the [schema-registry-ui](http://100.117.99.143:3030/schema-registry-ui/#/).

You can view the **messages** as they are shown in the [kafka-topics-ui](http://100.117.99.143:3030/kafka-topics-ui/#/).

## Demo!

Visit http://100.117.99.143:3030/

## Get involved

If you think you can help in any of the areas listed above (and we bet you can) or in any of the many areas that we haven't yet thought of (and here we're *sure* you can) then please check out our [contributors' guidelines](CONTRIBUTING.md).

Please note that it's very important to us that we maintain a positive and supportive environment for everyone who wants to participate. When you join us we ask that you follow our [code of conduct](CODE_OF_CONDUCT.md) in all interactions both on and offline.

## [Contributing guidelines](https://github.com/quanonblocks/Parsec/blob/master/CONTRIBUTING.md)

## Citing Parsec for web-scale State Channel
If you find Parsec useful in your research, please consider citing:
```
@article{jaiswal2018parsec,
title={Parsec: A State Channel for the Internet of Value},
author={Jaiswal, Amit Kumar},
journal={arXiv preprint arXiv:1807.11378},
year={2018}
}
```

### Contribute here

Feel free to contribute it, take a look at current issues or start a new issue if you found something buggy or for feature request.