0

How can I create an NFT that people can only mint by my website? Instead of people can mint directly from the contract or other ways. Thanks!

1 Answer 1

1

If you trust yourself, you can create a backend server. With this server, you can sign an object like:

{
   requestID: 123,
}

Send this signature and object to your contract and verify, is it sent from your backend. If it is sent from your backend server, check other parameters. Don't forget to mark these signatures as true when a transaction is successful.

4
  • thankyou! it's really helpful. do you have recommmend tutorial about this?
    – JESSE Bin
    Jun 5, 2022 at 7:11
  • Maybe something like this will be helpful Jun 5, 2022 at 7:14
  • another question, Do you know any server website I can use to create the backend server? I am a noob about server - - (maybe something like moralis?)
    – JESSE Bin
    Jun 5, 2022 at 7:38
  • Maybe you can create an ubuntu linux machine from a cloud and write the API in this machine. Jun 5, 2022 at 8:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.