# Lazy Minting/EIP712 - how to get Signature from Minter\_role

**URL:** <https://forum.openzeppelin.com/t/lazy-minting-eip712-how-to-get-signature-from-minter-role/20922>\
**Category:** Smart Contracts\
**Created:** [December 13, 2021, 9:18pm UTC](https://forum.openzeppelin.com/t/lazy-minting-eip712-how-to-get-signature-from-minter-role/20922 "2021-12-13T21:18:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dabblinDanthedino64](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@dabblinDanthedino64](https://forum.openzeppelin.com/u/dabblinDanthedino64)\
**Post date:** [December 13, 2021, 9:18pm UTC](https://forum.openzeppelin.com/t/lazy-minting-eip712-how-to-get-signature-from-minter-role/20922/1 "2021-12-13T21:18:40Z")

</div>

So I've been doing a lot of reading on Lazy Minting, and I watched the [video](https://www.youtube.com/watch?v=SF-XOwWIwRo) on it, and looked at the workshop. I think I understand everything except for one part.

How does the minter\_role address sign the message for the user? In the hardhat tests, they make the account and assign the role in the test, but I don't think that works for a live app, and putting a private key is a security risk.
