lisk-sdk
lisk-sdk copied to clipboard
Add method to sign a CCU transaction and send it to the other chain
Description
Currently we generate CCU params in the chain connector plugin.
- We can create a method named,
sendCCU(ccuParams)
that will take CCU params and sign the transaction with the privateKey provided in the plugin and send it to another chain. - We need to accept passphrase similar to forger plugin/report misbehavior plugin to sign the transactions
Acceptance Criteria
- Should have all unit tests for transaction creation complying with transaction schema coming from
lisk-sdk
- Should have all the tests to sign a transaction with right key
- Should have all the tests to send a signed transaction to another chain
Additional Information
https://github.com/LiskHQ/lisk-sdk/pull/7438#discussion_r957381939