rather is it possible to call out from my contract to stake contract like this? like my contract would stake on behalf of the user, passing on pretty much everything user gave to my contract?

May 9, 2023, 10:29 PM
idea is to effectively make EIP-712 structured data edible for staking contract
May 9, 2023, 10:31 PM
that's an whole idea of permit
relayer can use signature to make contract call for user
May 9, 2023, 10:31 PM
relayer in this context is what exactly?
I'd keep this on chain as much as possible
hm, need to read more about permit etc.
so seems like I'm on right track after all 🤔
well good luck to me, this rabbit hole is deeper than I thought
thank you both 🙏
May 9, 2023, 10:41 PM
relayer in this case is the EOA using the signed transaction do to it instead of the user
can be done, i've used eip712 to generate random NFTs off-chain instead of using chainLink.
When you require an NFT, you pay the price of it, even is fetched by a script and a signature is generated.
That signature is broadcasted to the dapp where the user will mint it's random NFT
May 9, 2023, 11:27 PM

© 2024 Draquery.com All rights reserved.