Skip to content

Call Reach API from node.js backend application #1334

Discussion options

You must be logged in to vote

If you are going to be sending publications, then you need to have a real account with money in it. You should not share your secrets with your users. So, they need to use their own account, or you need to provide a traditional Web2 frontend where your secrets are known.

If you are just observing the chain, then you just need a Reach account abstraction, so you should use stdlib.createAccount --- https://docs.reach.sh/frontend/#js_createAccount --- to get one. It will have no money, but that doesn't matter, because you won't be sending any transactions.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lorenzopolidori
Comment options

@jeapostrophe
Comment options

@lorenzopolidori
Comment options

@jeapostrophe
Comment options

Answer selected by jeapostrophe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants