Skip to content

Question: TRUAPI/Host development mode #515

Description

@peetzweg

Hey when developing SPA using truapi there are several pain points we can easily relief if there would be a way to say that the host/truapi is running in development mode. Is there already infra for this in this project? Otherwise I would like to kick this off. Here are a few points I encountered trying to develop SPAs with truapi which are annoying to work around.

  • all hosts should be able load a SPA from a webserver and assign it any requested product-id
    -> i can open localhost:3000 form any host and it is i.e. peopl.dot for truapi. So i get the same accounts and permissions as if it was a deployed app.

  • no vrf proof context restrictions
    -> even when i opened my app as dim2.dot from my local dev server, i need to make a proof from the trusted partner app peopl.dot, i can do this. This whole manifest thing is not dropped yet and even if it does it most likely not working in a local development setup.
    -> short term fix could be to just lift the restriction in this "development" mode of truapi
    -> feat(truapi): development_createAccountProof for raw proof contexts to unblock Humanity as a Product #457

  • tbc

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