virto-connect
  • GETTING STARTED
    • Introduction
    • Requirements and Infrastructure
    • Quick Start Guide
    • Local Testing
  • Basics
    • virto-connect Component
    • Low-level SDK
  • API
    • Vos Mock
  • Resources
    • Adittional resources
Powered by GitBook
On this page
  • Properties
  • Methods
  • Events
  1. Basics

virto-connect Component

Properties

Property
Type
Description
Required

server

string

Backend URL for registration and login

Yes

provider-url

string

Blockchain node URL (ws:// or wss://)

Yes

Methods

Method
Description
Parameters

initSDK()

Initializes the SDK with configured URLs

None

open()

Opens the authentication dialog

None

close()

Closes the authentication dialog

None

setSessionId(sessionId)

Sets an external session ID

sessionId: string

Events

Event
Description
Detail

register-start

Registration process begins

None

register-success

Registration completed successfully

{ address }

register-error

Error during registration

{ error }

login-start

Login process begins

None

login-success

Login completed successfully

{ username }

login-error

Error during login

{ error }

PreviousLocal TestingNextLow-level SDK

Last updated 19 days ago