0.2.2 • Published 9 months ago

@hyperledger/fabric-protos v0.2.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

fabric-protos

Node bindings for Hyperledger Fabric protocol buffers

Usage

Import the packages you need from the protos, following the same structure as the protos themselves. For example:

import { common, ledger, msp, orderer, peer } from '@hyperledger/fabric-protos';

Then refer to the implementations you want within those packages. For example:

const proposal = peer.Proposal.deserializeBinary(bytes);
const header = common.Header.deserializeBinary(proposal.getHeader_asU8());
const channelHeader = common.ChannelHeader.deserializeBinary(header.getChannelHeader_asU8());
const channelName = channelHeader.getChannelId();

See JavaScript Generated Code for more details.

0.2.2

9 months ago

0.3.4

9 months ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

2 years ago

0.2.1

2 years ago

0.3.0

3 years ago

0.1.6

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.5

3 years ago