relay

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

README

Data Transfer using Weaver Relay Service

In this Section, we will learn how to perform a data Transfer between two Fabric networks. We have two business parties:

  • Alice is a client of the Fabric network alpha.
  • Bob is a client of the Fabric network beta. Alice and Bob engage in the following business process:
  • Alice puts new data in alpha inside a given namespace of a given channel.
  • Alice contacts Bob telling him new data is available in alpha.
  • Bob receives the name of the variable set by Alice.
  • Bob queries Fabric network alpha, using Weaver, to get a proof that what Alice said is trustable.
  • If the previous step is successful, then Bob stores the same data in beta (inside a given namespace of a given channel).
  • Bob acks Alice that he has completed his task.
  • Finally, Alice checks that Bob has actually stored the data she put in alpha, using Weaver.

Weaver

Weaver is a platform, a protocol suite, and a set of tools, to enable interoperation for data sharing and asset movements between independent networks built on heterogeneous blockchain, or more generally, distributed ledger, technologies, in a manner that preserves the core blockchain tenets of decentralization and security.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Topology

func Topology(sdk api2.SDK, commType fsc.P2PCommunicationType, replicationOpts *integration.ReplicationOptions) []api.Topology

Types

type Provider added in v0.4.0

type Provider interface {
	Relay(fns *fabric.NetworkService) *weaver.Relay
}

type SDK added in v0.4.0

type SDK struct {
	dig2.SDK
}

func NewSDK added in v0.4.0

func NewSDK(registry node.Registry) *SDK

func (*SDK) Install added in v0.4.0

func (p *SDK) Install() error

Directories

Path Synopsis
chaincode module

Jump to

Keyboard shortcuts

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