Private key on backend best practices

Hello to all,

I want to give minting capabilities toa contract just through my webpage. Is there a safe way to run the private key of the wallet on backend so the web is the only gateway besides the wallet to access the contract? And is this a good and safe approach?

Thanks in advance, Best Regards,

Luis

Try give the Openzeppelin Defender a look, their relay might be what you are looking for.

Openzeppelin Defender:

Relay docs: https://docs.openzeppelin.com/defender/relay