Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanketshevkar/besu-emr
https://github.com/sanketshevkar/besu-emr
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sanketshevkar/besu-emr
- Owner: sanketshevkar
- Created: 2021-09-26T09:16:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-26T17:46:41.000Z (over 3 years ago)
- Last Synced: 2024-11-07T08:51:01.428Z (3 months ago)
- Language: JavaScript
- Size: 1.08 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quorum Dev Quickstart
## Table of Contents
1. [Prerequisites](#prerequisites)
2. [Usage](#usage)
3. [Dev Network Setups](#dev-network-setups)
1. [POA Network](#poa-network)
2. [POA Network with Privacy](#poa-network-privacy)
3. [Smart Contracts & DApps](#poa-network-dapps)
## Prerequisites
To run these tutorials, you must have the following installed:
- [Docker and Docker-compose](https://docs.docker.com/compose/install/)
| ⚠️ **Note**: If on MacOS or Windows, please ensure that you allow docker to use upto 4G of memory or 6G if running Privacy examples under the _Resources_ section. The [Docker for Mac](https://docs.docker.com/docker-for-mac/) and [Docker Desktop](https://docs.docker.com/docker-for-windows/) sites have details on how to do this at the "Resources" heading |
| --- || ⚠️ **Note**: This has only been tested on Windows 10 Build 18362 and Docker >= 17.12.2 |
| --- |- On Windows ensure that the drive that this repo is cloned onto is a "Shared Drive" with Docker Desktop
- On Windows we recommend running all commands from GitBash
- [Nodejs](https://nodejs.org/en/download/) or [Yarn](https://yarnpkg.com/cli/node)## Usage
Change directory to the artifacts folder:
`cd quorum-test-network` (default folder location)
**To start services and the network:**`./run.sh` starts all the docker containers
**To stop services :**
`./stop.sh` stops the entire network, and you can resume where it left off with `./resume.sh`
`./remove.sh ` will first stop and then remove all containers and images
To implement the basic fucntions of the smart contracts and deploy smart contracts on the network. Follow the following steps:
```
cd besu-ehr
npm install
node scripts/index.js
```