Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add lisk console to application command #6306

Closed
shuse2 opened this issue Apr 7, 2021 · 0 comments · Fixed by #6322
Closed

Add lisk console to application command #6306

shuse2 opened this issue Apr 7, 2021 · 0 comments · Fixed by #6322
Assignees
Milestone

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Apr 7, 2021

Description

Add a command to the lisk-commander application commands to create repl environment with an initialized lisk-client library.

Motivation

Lisk SDK developers do not have the ability to execute functions against running blockchain instances or use library utility or functions to perform offline operations to create a transaction from console.

Specification

The following 3 patterns should be supported:

lisk-app console
lisk-app console --api-ws=ws://xxxx
lisk-app console --api-ipc=datapath

If api is not specified, all lisk-client libraries should be imported at the root level. For example, @liskhq/lisk-transactions should be accessible by transactions.

If api-ws or api-ipc is specified, variable client should be initialized with connected API client.

Acceptance Criteria

  • 3 patterns are working against devnet node
  • all 3 patterns are tested in the unit test
  • check REPL contains the imported library name space
@shuse2 shuse2 added this to the Sprint 42 milestone Apr 12, 2021
@ManuGowda ManuGowda self-assigned this Apr 12, 2021
shuse2 added a commit that referenced this issue Apr 14, 2021
Add lisk console to application command - Closes #6306
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants