fabtoken

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Driver is the Token-SDK driver to use
	Driver string
	// OutputDir is the directory to output the generated files
	OutputDir string
	// GenerateCCPackage indicates whether to generate the chaincode package
	GenerateCCPackage bool
	// Issuers is the list of issuer MSP directories containing the corresponding issuer certificate
	Issuers []string
	// Auditors is the list of auditor MSP directories containing the corresponding auditor certificate
	Auditors []string
)

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the Cobra Command for Version

func Gen

func Gen(args *GeneratorArgs) ([]byte, error)

Gen generates the public parameters for the FabToken driver

Types

type GeneratorArgs

type GeneratorArgs struct {
	// OutputDir is the directory to output the generated files
	OutputDir string
	// GenerateCCPackage indicates whether to generate the chaincode package
	GenerateCCPackage bool
	// Issuers is the list of issuer MSP directories containing the corresponding issuer certificate
	Issuers []string
	// Auditors is the list of auditor MSP directories containing the corresponding auditor certificate
	Auditors []string
}

Jump to

Keyboard shortcuts

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