class

ToposPlayground::Command::Start

Inherits ToposPlayground::Command::Init < ToposPlayground::Command < Reference < Object

Class methods

levenshtein_options
Source
options(parser, config)
Source

Instance methods

build_dapp_frontend_service(secrets_path, dapp_frontend_service_path)
Source
completion_banner

Everything is done; display some final information to the user.

Source
do_npm_install(path)
Source
parse_contract_addresses_to_hash(filename)
Source
retrieve_and_write_contract_addresses_to_env
Source
run

All subclasses must implement #run, which is responsible for carrying out the logic of the command.

Source
run_dapp_frontend_service
Source
run_executor_service
Source
run_local_erc20_messaging_infra
Source
run_redis
Source
setup_io_handlers_for_background_process(background_process)

Setup an at_exit handler to ensure that the started processes are cleaned up upon topos-playground exiting. Also spawn a fiber to monitor the processes and print any IO sent to the monitor channel.

Source
shell
Source
start_dapp_frontend_service(secrets_path, dapp_frontend_service_path) : Tuple(Channel(Bool), Channel(String), Process)
Source
start_executor_service(secrets_path, executor_service_path) : Tuple(Channel(Bool), Channel(String), Process)
Source
wait_for(background_processes)

Block, waiting for the watched processes to die. They may be killed manually, or via the at_exit handler that was created when they were started, and which is triggered by the topos-playground process exiting, such as when ctrl-c is pressed.

Source