Skip to content

Feature Request: ID key-value based approach for interacting with multiple federations #135

@IroncladDev

Description

@IroncladDev

You can use the joinFederation method to join a federation

The method allows you to pass an optional second parameter (the client name)

joinFederation(inviteCode: string, clientName?: string): Promise<void>

Instead of allowing an arbitrary client name, it would be better to automatically set the clientName to the federation's ID after joining.

An additional listClients method will be needed, to list the IDs of the clients the wasm instance is joined to.

For reference, the fedimint-clientd's typescript library (not to be confused with the Fedimint Web SDK) uses an approach like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions