WebsiteServer
fmgp.did.method.prism.cli.WebsiteServer
object WebsiteServer
ZIO-http server that serves the cardano-prism CIP-30 webapp.
The webapp bundle is built by sbt (sbt cardanoPrismCip30Webapp/cip30Bundle) and embedded in this jar as cip30/bundle.js. Set CIP30_WEBAPP_BUNDLE to a filesystem path to override the embedded copy during development.
Two modes:
- runUntilDone: one-shot. Injects events as
window.PRISM_CIP30_EVENTS, registers a/donehandler, and completes when the page POSTs the tx hash. Used bysubmit-cip30. - runForever: long-running. No events injected, no
/donehandler. Used byopenandsimulate. Runs until interrupted (Ctrl-C).
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
WebsiteServer.type
Members list
In this article