LiskHQ/lisk-sdk

Bootstrap recovery manager plugin repository

ishantiw opened this issue · 0 comments

Description

  • Create lisk-framework-recovery-plugin repo under framework-plugins
  • Create recovery_plugin.ts, types.ts, constants.ts, db.ts, endpoint.ts and index.ts files
  • Declare RecoveryPluginConfig interface and declare RecoveryPlugin class extending BasePlugin.
enum ConnectionMode {
	ipc = 'ipc',
	ws = 'ws'
};
interface ConnectionObj {
	mode: ConnectionMode,
	connectionString: string;
};

interface RecoveryPluginConfig {
	mainchainClientInfo: ConnectionObj,
	encryptedPrivateKey: string 
}
  • Add empty test files for each file under /test

Acceptance Criteria

  • Should have all the files present