Documentation
¶
Overview ¶
Package registry implements the Splice Registry API for external wallet integration.
It exposes contract discovery endpoints that allow wallets like Canton Loop to obtain TransferFactory contract IDs and CreatedEventBlobs for explicit contract disclosure during Splice-standard token transfers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler serves the Splice Registry API endpoints.
func NewHandler ¶
NewHandler creates a registry handler.
type TransferFactoryResponse ¶
type TransferFactoryResponse struct {
ContractID string `json:"contract_id"`
CreatedEventBlob string `json:"created_event_blob"`
TemplateID token.TemplateIdentifier `json:"template_id"`
}
TransferFactoryResponse is the JSON body returned by the transfer-factory endpoint.
Click to show internal directories.
Click to hide internal directories.