create_app

Function create_app 

Source
pub async fn create_app(config: Config) -> Router
Expand description

Creates an Axum application instance with the given configuration.

ยงPanics

This function will panic if:

  • Loading the WASM module fails.
  • Initializing the CryptoService fails.
  • Initializing the key service (CasperKeysService) fails.

These errors are propagated via calls to expect.