0.1.2 • Published 2 months ago

@liskhq/lisk-framework-chain-connector-plugin v0.1.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 months ago

@liskhq/lisk-framework-chain-connector-plugin

@liskhq/lisk-framework-chain-connector-plugin is a plugin for creating and sending Cross-Chain-Update (CCU) Transactions.

Cross-chain update transactions are the carriers of the information transmitted between chains. By posting a cross-chain update, the receiving chain gets the information required about the advancement of the sending chain. The transaction can also include cross-chain messages and thus serves as an envelope for messages from one chain to another.

Installation

$ npm install --save @liskhq/lisk-framework-chain-connector-plugin

Config Options

{
	receivingChainID: string,
	receivingChainWsURL?: string,
	receivingChainIPCPath?: string,
	ccuFrequency: number,
	encryptedPrivateKey: string,
	ccuFee: string,
	isSaveCCU: boolean,
	maxCCUSize: number,
	registrationHeight: number,
	ccuSaveLimit: number
}

Parameters

ParamRequired?Description
receivingChainIDYChain ID of the receiving chain
receivingChainWsURLNThe WS url of a receiving node
receivingChainIPCPathNThe IPC path of a receiving node
ccuFrequencyYNumber of blocks after which a CCU should be created
encryptedPrivateKeyYEncrypted privateKey of the relayer
ccuFeeYFee to be paid for each CCU transaction
isSaveCCUYFlag for the user to either save or send a CCU on creation. Send is by default
maxCCUSizeYMaximum size of CCU to be allowed
registrationHeightYHeight at the time of registration on the receiving chain
ccuSaveLimitYNumber of CCUs to save

Usage

Start your Lisk SDK with --enable-chain-connector-plugin flag, i.e.

    $ ./bin/run start --enable-chain-connector-plugin

Documentation

Setting up a relayer node: Details SDK Doc for setting up node with Chain Connector Plugin.

LIP-53 # CCU Properties: Explaination of CCU Properties from LIP-53.

Interoperability Example: Example of Interoperability with 2 sidechains and 1 mainchain, Chain Connector Plugin enabled.

License

Copyright 2016-2023 Lisk Foundation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

0.1.2

2 months ago

0.2.0

6 months ago

0.1.0-beta.5

10 months ago

0.1.0-beta.4

11 months ago

0.2.0-beta.1

9 months ago

0.2.0-beta.0

9 months ago

0.1.0-rc.5

7 months ago

0.1.0

7 months ago

0.1.0-rc.3

8 months ago

0.1.0-rc.4

7 months ago

0.1.0-rc.1

8 months ago

0.1.1

6 months ago

0.1.0-rc.2

8 months ago

0.1.0-rc.0

9 months ago

0.2.0-rc.0

7 months ago

0.1.0-beta.7

9 months ago

0.1.0-beta.6

10 months ago

0.1.0-beta.3

11 months ago

0.1.0-beta.2

11 months ago

0.1.0-beta.1

1 year ago

0.1.0-beta.0

1 year ago