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

SCP-3367: PAB CLI for easing the starting of PAB + components #289

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

koslambrou
Copy link
Contributor

@koslambrou koslambrou commented Jan 31, 2022

PAB CLI for easing the starting of components based on supported scenarios/use-cases.

Provides a pab-cli command line app in the nix-shell. This CLI can start the PAB in the currently supported scenarios (with mocked components, real components on mainnet or testnet, and optionally the cardano-wallet).

Also provides the plutus-chain-index executable in the nix-shell.

Next step is to integrate this tool in plutus-starter.

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
    • Formatting, materialized Nix files, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

@koslambrou koslambrou force-pushed the scp-2185-start-pab-script branch 2 times, most recently from 6b73229 to be81ab9 Compare February 1, 2022 14:10
@koslambrou koslambrou marked this pull request as ready for review February 1, 2022 14:54
@koslambrou koslambrou changed the title SCP-2185: PAB CLI for easing the starting of PAB + components SCP-3367: PAB CLI for easing the starting of PAB + components Feb 1, 2022
@koslambrou koslambrou force-pushed the scp-2185-start-pab-script branch from be81ab9 to 075b52d Compare February 1, 2022 15:06
@koslambrou koslambrou force-pushed the scp-2185-start-pab-script branch 2 times, most recently from 37a6dc9 to ef4b4d5 Compare February 1, 2022 18:58
@koslambrou koslambrou force-pushed the scp-2185-start-pab-script branch from ef4b4d5 to ff9eb53 Compare February 1, 2022 19:25
@koslambrou koslambrou force-pushed the scp-2185-start-pab-script branch from ff9eb53 to 33d331b Compare February 2, 2022 15:11
…d way for the hosted-pab scenario.

* Starts PAB with mocked components or real components (cardano-node, cardano-wallet, plutus-chain-index).

* Can start the components without the PAB.

* Ensures that configuration files for all components are in sync.

* Creates the appropriate config, log and db files in the filesystem.

* Supports currently supported PAB scenarios.

* `plutus-chain-index` and `pab-cli` executable in provided in Nix (can
  be used in other projects dependend on plutus-apps such as
  plutus-starter)
@koslambrou koslambrou force-pushed the scp-2185-start-pab-script branch from 33d331b to 4bd74b9 Compare February 2, 2022 15:23
@koslambrou koslambrou merged commit 62efdd2 into main Feb 2, 2022
@koslambrou koslambrou deleted the scp-2185-start-pab-script branch February 2, 2022 16:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants