Skip to content

Mint from specific wallet #962

Answered by jeapostrophe
jtsimmons108 asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think I understand what you're building, so my advice may be bad.

I think that you want to create an account handle for your user with stdlib.getDefaultAccount and it will use their wallet.

If instead you mean that you want to mint on their behalf automatically, then you should absolutely not include any secret in the file that you ship to users. Instead, you'd run a traditional Web2 server that is running a server that is using Reach and it would use newAccountFromMnemonic.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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