Skip to content

Access via the frontend #10

Discussion options

You must be logged in to vote

Hello @Kayanski !

It is possible to use it this way, yes, but we don't recommend it.
As you said, anyone would be able to take your endpoint URL + token and exhaust your quota.

In a perfect scenario you'd not need to expose it on your front-end tho, here are two ways we recommend architecting DAPPs depending on what you are looking to achieve:

  1. The "true" dapp
    [+] decentralized, close to no infra on your side
    [-] slow, lesser UX
    This is done by having a frontend with no API or backend, relying only on the user's wallet LCD/RPC provider.
    Meaning the user has the sole responsibility for the data source by setting up his wallet accordingly.
    This architecture is seen a lot on Ethereum dapps …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Kayanski
Comment options

@etienne-napoleone
Comment options

@Kayanski
Comment options

Answer selected by etienne-napoleone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants