Skip to content

Generate an NWC connection string via the API #74

@danieldaquino

Description

@danieldaquino

I was investigating how we can easily setup lightning wallets for Damus users during onboarding as part of damus-io/damus#1623, and we would love to use the Coinos API to help with making the process as easy as possible for the user.

I was studying the API documentation listed here, but unfortunately I could not find a way to generate an NWC wallet via the API.

Is it possible to generate an NWC wallet using the API, or would it be feasible to implement a new endpoint that does that? Some notes:

  • We probably don't need to customize NWC parameters at this point (such as custom spend limits), just generating an NWC wallet with reasonable defaults and getting the NWC info back would be sufficient for our purposes.
  • I could try to help with implementation if needed!

I appreciate any assistance with this, thank you!

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