scuttlebutt / org.apache.tuweni.scuttlebutt / Invite / fromCanonicalForm

fromCanonicalForm

static fun fromCanonicalForm(inviteCode: String): Invite (source)

Takes an invite string in its canonical form and parses it into an Invite object, throwing an error if it is not of the expected format.

Parameters

inviteCode - the invite code in its canonical form

Exceptions

MalformedInviteCodeException -

Return
the invite code