LiskHQ / lisk-sdk

🔩 Lisk software development kit

Home Page:https://lisk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bootstrap recovery manager plugin repository

ishantiw opened this issue · 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