/quorum-iot-tutorial

Quorum public and private transaction with web3.js

Primary LanguageJavaScript

quorum-iot-tutorial

Smart contract formatting, Quorum Public and Private Transactions with Web3.

Quick Start

Install dependencies

$ npm install

Create .env file Replace RPC and Public keys

RPC1='http://nd-***-***-***.rg-***-***.p2pify.com'
PK1='********************************************'
RPC2='http://nd-***-***-***.rg-***-***.p2pify.com'
PK2='********************************************'
RPC3='http://nd-***-***-***.rg-***-***.p2pify.com'
PK3='********************************************'

Reference .env.sample for more information

Execute Public Transaction

$ node public.js

Execute Private Transaction

$ node private.js