fmgp.prism

package fmgp.prism

Members list

Type members

Classlikes

object CardanoClient extends ZIOAppDefault

https://cardano-client.dev/docs/gettingstarted/simple-transfer

https://cardano-client.dev/docs/gettingstarted/simple-transfer

didResolverPrismJVM/runMain fmgp.prism.CardanoClient

Attributes

Supertypes
trait ZIOAppDefault
trait ZIOApp
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class CardanoMetadataCBOR(index: Int, tx: String, cbor: String) extends CardanoMetadata

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CardanoMetadataJson(index: Int, tx: String, content: Json) extends CardanoMetadata

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CardanoPrismEntry(index: Int, tx: String, content: PrismObject)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CardanoTransactionMetadataPrismCBOR(version: Int, protoBytes: Array[Byte])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CardanoWalletConfig(mnemonic: Seq[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CreateDidOP(publicKeys: Seq[PrismPublicKey], services: Seq[MyService], context: Seq[String]) extends OP

Value parameters

context

(4) The list of @ context values to consider on JSON-LD representations

publicKeys

(2) The keys that belong to this DID Document.

services

(3) The list of services that belong to this DID Document.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all
object CreateDidOP

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CreateStorageEntryOP(value: String) extends OP

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object CrytoUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CrytoUtil.type
case class DeactivateDidOP(previousOperationHash: String, id: String) extends OP

Value parameters

id

(2) - DID Suffix of the DID to be deactivated

previous_operation_hash

(1) - The hash of the most recent operation that was used to create or update the DID.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class EventRef(b: Int, o: Int, opHash: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object EventRef

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
EventRef.type

Attributes

Supertypes
trait Equiv[EventRef]
trait Serializable
trait Comparator[EventRef]
class Object
trait Matchable
class Any
Show all
Self type
object Indexer extends ZIOAppDefault

Attributes

Supertypes
trait ZIOAppDefault
trait ZIOApp
class Object
trait Matchable
class Any
Self type
Indexer.type
case class IndexerConfig(apiKey: Option[String], workdir: String, network: String)

Value parameters

apiKey

blockfrost API key

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class InvalidPrismObject(tx: String, b: Int, reason: String) extends MaybeOperation[Nothing], PrismBlockIndex

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait MaybeOperation[Nothing]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class InvalidSignedPrismOperation(tx: String, b: Int, o: Int, reason: String) extends MaybeOperation[Nothing], PrismOperationIndex

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait MaybeOperation[Nothing]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class IssueCredentialBatchOP(value: String) extends OP

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait MaybeOperation[+T <: OP]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class MyService(id: String, `type`: String, serviceEndpoint: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object MyService

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
MyService.type
case class MySignedPrismOperation[+T <: OP](tx: String, b: Int, o: Int, signedWith: String, signature: Array[Byte], operation: T, protobuf: PrismOperation) extends MaybeOperation[T], PrismOperationIndex

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait MaybeOperation[T]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait OP

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object OP

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
OP.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PrismKeyUsage

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object PrismNode extends ServerMain

Main PrismNode

Main PrismNode

https://scalapb.github.io/docs/

https://scalapb.github.io/zio-grpc/

didPrismNode/runMain fmgp.prism.PrismNode

Attributes

Supertypes
trait ServerMain
trait ZIOAppDefault
trait ZIOApp
class Object
trait Matchable
class Any
Show all
Self type
PrismNode.type
object PrismNodeImpl

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class PrismNodeImpl(refState: Ref[PrismState], walletConfig: CardanoWalletConfig) extends NodeService

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait NodeService
trait GeneratedService
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait PrismPublicKey

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object PrismState

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
PrismState.type
trait PrismState

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class PrismStateInMemory(opHash2op: Map[String, MySignedPrismOperation[OP]], tx2eventRef: Map[String, Seq[EventRef]], ssi2eventRef: Map[String, Seq[EventRef]]) extends PrismState

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait PrismState
class Object
trait Matchable
class Any
Show all
case class ProtocolVersionUpdateOP(value: String) extends OP

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class RevokeCredentialsOP(value: String) extends OP

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SSI(did: String, latestHash: Option[String], keys: Seq[UncompressedECKey | CompressedECKey], services: Seq[MyService], context: Seq[String], disabled: Boolean)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
SSI
object SSI

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SSI.type
object SSIExtension

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object SharedCryto

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class UpdateDidOP(previousOperationHash: String, id: String, actions: Seq[Action]) extends OP

Value parameters

actions

(3) The actual updates to perform on the DID.

id

(2) - exclude TODO: To be redefined after we start using this operation.

previous_operation_hash

(1) - The hash of the most recent operation that was used to create or update the DID.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all
object UpdateDidOP

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class UpdateStorageEntryOP(value: String) extends OP

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class VoidOP(reason: String) extends OP

Attributes

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

Extensions

Extensions

extension (ssi: SSI)
extension (state: PrismState)
def lastSyncedBlockTimestamp: Timestamp