All Projects → ConsenSys → quorum.js

ConsenSys / quorum.js

Licence: Apache-2.0 license
Quorum.js is an extension to web3.js providing support for JP Morgan's Quorum API

Programming Languages

javascript
184084 projects - #8 most used programming language
solidity
1140 projects

Projects that are alternatives of or similar to quorum.js

niftygate
Drop-in Access Control via NFT Ownership
Stars: ✭ 61 (+64.86%)
Mutual labels:  web3
hivemind
Hive API server (offloads most API calls from hived) implemented using Python+SQL
Stars: ✭ 46 (+24.32%)
Mutual labels:  web3
solidity-cli
Compile solidity-code faster, easier and more reliable
Stars: ✭ 49 (+32.43%)
Mutual labels:  web3
datamodels
A collection of data models used by Ceramic applications
Stars: ✭ 66 (+78.38%)
Mutual labels:  web3
emerald-web3-gateway
The Web3 Gateway for the Oasis Emerald ParaTime.
Stars: ✭ 19 (-48.65%)
Mutual labels:  web3
web3-provider-ledger
A web3 provider for Ledger hardware wallets
Stars: ✭ 15 (-59.46%)
Mutual labels:  web3
cybaca
Small app for huge community growth
Stars: ✭ 16 (-56.76%)
Mutual labels:  web3
ethernal-cli
CLI to sync transactions and Truffle artifacts with Ethernal.
Stars: ✭ 14 (-62.16%)
Mutual labels:  web3
web3-webpacked
Drop-in web3 solution for single-page Ethereum dApps
Stars: ✭ 36 (-2.7%)
Mutual labels:  web3
DEGEN
Distributing POAPs to DAOs in discord, twitter, and more.
Stars: ✭ 27 (-27.03%)
Mutual labels:  web3
ape
The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
Stars: ✭ 339 (+816.22%)
Mutual labels:  web3
attestation
Paper and implementation of blockchain attestations
Stars: ✭ 44 (+18.92%)
Mutual labels:  web3
widgets
💸 Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion with state-of-the-art widgets.
Stars: ✭ 32 (-13.51%)
Mutual labels:  web3
openst-platform
OpenST Platform provides an interface to tokenise mainstream consumer applications with crypto-assets on Ethereum [deprecated in favour of openst.js and mosaic.js]
Stars: ✭ 84 (+127.03%)
Mutual labels:  web3
www-react-postgres
A complete template for 2022 focused on around React, Postgres and various web3 integrations. You can use the template to make a website, a web application, a hybrid decentralized web application, or even a DAO.
Stars: ✭ 36 (-2.7%)
Mutual labels:  web3
etherbrite
🗓 Clone eventbrite on Ethereum, built in Solidity, TruffleJS, Web3js and React/Redux.
Stars: ✭ 19 (-48.65%)
Mutual labels:  web3
multisol
CLI application for verifying Solidity contracts on Etherscan
Stars: ✭ 94 (+154.05%)
Mutual labels:  web3
eth-sdk
Type-safe, lightweight SDKs for Ethereum smart contracts
Stars: ✭ 283 (+664.86%)
Mutual labels:  web3
juice-interface
🧃 An app for using the JBX protocol.
Stars: ✭ 132 (+256.76%)
Mutual labels:  web3
likecoin-tx-poll
Firestore based service of polling eth status and resending tx
Stars: ✭ 13 (-64.86%)
Mutual labels:  web3

quorum.js: JavaScript API for Quorum

quorum.js is an extension for web3.js which adds support for APIs specific to Quorum.

⚠️ Project Deprecation Notice ⚠️

quorum.js library will be deprecated on December 31st 2021, date from when we will stop supporting the project.

quorum.js library is deprecated and replaced by web3js-quorum that offers wider compatibility with the Quorum stack including both Besu and GoQuorum.

From now on, we encourage all users with active projects using quorum.js to migrate to web3js-quorum. Please refer to migration instructions.

We will continue to support quorum.js in particular fixing bugs until the end of 2021.

If you have any questions or concerns, please reach out to the ConsenSys protocol engineering team on #Discord or by email.

Features

  • Provide js applications with easy access to all Quorum-specific APIs (including private transaction, consensus, and permissioning APIs)
  • Works with web3.js smart contract wrappers

Requirements

Installation

npm install quorum-js

Quickstart

The Quorum-specific API methods provided by quorum.js are accessed in one of two ways:

Extending web3 object

const Web3 = require("web3");
const quorumjs = require("quorum-js");

const web3 = new Web3("http://localhost:22000");

quorumjs.extend(web3);

web3.quorum.eth.sendRawPrivateTransaction(signedTx, args);

This makes Quorum-specific API methods available through the web3.quorum object.

RawTransactionManager object

Additional private transaction-specific APIs require access to a Privacy Manager:

const Web3 = require("web3");
const quorumjs = require("quorum-js");

const web3 = new Web3("http://localhost:22000");

const enclaveOptions = {
  privateUrl: "http://localhost:9081" // Tessera ThirdParty server url, use ipcPath if using Constellation
};

const txnMngr = quorumjs.RawTransactionManager(web3, enclaveOptions);

txnMngr.sendRawTransaction(args);

Documentation

For full usage and API details see the documentation.

Examples

The 7nodes-test directory contains examples of quorum.js usage. These scripts can be tested with a running 7nodes test network.

Getting Help

Stuck at some step? Please join our slack community for support.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].