lisk-sdk
lisk-sdk copied to clipboard
Bootstrap recovery manager plugin repository
Description
- Create
lisk-framework-recovery-plugin
repo underframework-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