Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call the mint function from Javascript #11

Open
sharmapn opened this issue Apr 10, 2022 · 0 comments
Open

Call the mint function from Javascript #11

sharmapn opened this issue Apr 10, 2022 · 0 comments

Comments

@sharmapn
Copy link

sharmapn commented Apr 10, 2022

Thank you for the code.

I have used the exact code to mint some hash values on my ubuntu server. Users can easily mint the hash values from the website.

Now I want users from other websites to mint the hash values using JavaScript.
How can they call this mint function remotely using JavaScript?
Maybe use a API POST?

But how do we integrate the call?
Should I have a separate process running to listen for these API POSTs?
And how do these API POSTs call the mint function?

Thanking you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant