Cip30SubmitterServer
fmgp.did.method.prism.cli.Cip30SubmitterServer
object Cip30SubmitterServer
ZIO-http server that drives the CIP-30 browser-wallet submission flow.
The CIP-30 webapp is bundled by sbt and embedded in this jar as a classpath resource at cip30/bundle.js. To rebuild from source:
sbt cardanoPrismCip30Webapp/cip30Bundle
For development without rebuilding the whole jar, set CIP30_WEBAPP_BUNDLE to a filesystem path and the server will load that file instead of the embedded resource.
The page reads the events from the injected window.PRISM_CIP30_EVENTS global. When the wallet reports a tx hash, the page POSTs /done and the server completes the Promise[TxResult] so the CLI can exit.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Cip30SubmitterServer.type
Members list
In this article