quorum-security-plugin-sdk-go

module
v0.0.0-...-5cf96db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2020 License: Apache-2.0

README

Go SDK for Quorum security plugins

Quickstart

# account plugin sdk
go get github.com/ConsenSys/quorum-security-plugin-sdk-go/proto

# plugin initialization sdk
go get github.com/ConsenSys/quorum-security-plugin-sdk-go/proto_common

# mocks for testing
go get github.com/ConsenSys/quorum-security-plugin-sdk-go/mock_proto

Overview

Quorum's pluggable architecture allows for a Quorum node to be extended with additional functionality.

security plugins add security to Quorum's RPC API.

The communication between Quorum and a security plugin uses gRPC.

This SDK can be used to develop Go security plugins that fulfill Quorum's gRPC security plugin interface. It provides the necessary Go types and methods for starting a new gRPC server, initializing a new plugin, and for handling Quorum gRPC requests.

This repo is auto-updated

The quorum-plugin-definitions project defines the security plugin gRPC API. A GitHub Actions workflow updates the SDK whenever quorum-plugin-definitions is altered.

Directories

Path Synopsis
Package mock_proto is a generated GoMock package.
Package mock_proto is a generated GoMock package.
Package proto_common is a generated GoMock package.
Package proto_common is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL