fmgp.did.method.prism.vdr

Members list

Type members

Classlikes

object CursorFile

Cursor file companion: reads and writes <dir>/.cursor.

Cursor file companion: reads and writes <dir>/.cursor.

The file contains a single JSON object {"b":<int>,"o":<int>} representing the latest (b, o) of an event written to the folder. It allows the exporter to resume incrementally instead of rebuilding from scratch.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CursorFile.type
class GenericVDRDriver(bfConfig: BlockfrostConfig, wallet: CardanoWalletConfig, workdir: String, didPrism: DIDPrism, keyName: String, vdrKey: Secp256k1PrivateKey, maybeMsgCIP20: Option[String])

Attributes

Supertypes
class Object
trait Matchable
class Any
object Indexer extends ZIOAppDefault

Indexer

Indexer

didResolverPrismJVM/runMain fmgp.did.method.prism.indexer.Indexer ../prism-vdr/prismnet preprodTOKEN

Attributes

Supertypes
trait ZIOAppDefault
trait ZIOApp
class Object
trait Matchable
class Any
Self type
Indexer.type
object IndexerExport

IndexerExport

IndexerExport

Dumps every event from a PrismStateRead into one file per ref. The on-disk format matches what Indexer.indexerJobFS produces in <workdir>/events/<ref>: one JSON-encoded fmgp.did.method.prism.proto.MySignedPrismEvent per line, sorted by (b, o).

Supports incremental export via a .cursor file in the export folder.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object IndexerUtils

IndexerUtils

IndexerUtils

Attributes

Example
   IndexerUtils.pipelineTransformCardanoMetadata2Events >>> IndexerUtils.pipelinePrismState >>> IndexerUtils.countEvents
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class VDRPassiveServiceImpl(prismState: PrismStateRead) extends VDRPassiveService

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class VDRServiceImpl(chain: PrismChainService, prismState: PrismStateRead) extends VDRService

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait VDRService
class Object
trait Matchable
class Any
Show all