Celo data encryption key. #247
Replies: 0 comments 8 replies
-
Would you be able to dig into @Allen-Muhani's question and see if you can help him @therealharpaljadeja ? |
Beta Was this translation helpful? Give feedback.
-
If I understood the question right, you are asking how we can let users set a DEK for their Account when they are just starting and don't have any balance. There are multiple ways to tackle this. I would recommend doing meta-tx, where you sponsor this transaction for the user. One very intuitive way to implement this is using Openzeppelin's Relay service. Here's a link to that https://www.youtube.com/watch?v=mhAUmULLV44 Do let me know If I understood your question correctly. Happy to help! |
Beta Was this translation helpful? Give feedback.
-
If I have understood the tutorial correctly. I do need to alter the smart contracts to have the necessary openzeppeling contract dependencies. However in this case the accounts smart contract is managed by cLabs and not me. Was wondering if I could get help around komenci as they seem to already have it for this specific purpose. |
Beta Was this translation helpful? Give feedback.
-
Cool. Let me create one that's quasi-free.
Thanks for offering your time to help.
…On Mon, Feb 27, 2023, 9:21 PM Harpal Jadeja ***@***.***> wrote:
Currently, there is no way to set DEK without gas, since msg.sender is
being used in Accounts.sol
—
Reply to this email directly, view it on GitHub
<https://github.com/celo-org/SocialConnect/discussions/59#discussioncomment-5126538>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJU2U7BKWYCBJK2YGTJNGTWZTWC7ANCNFSM6AAAAAAUVRZYPQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
How do you support saving the DEK on the accounts smart contracts with 0 as the net balance on all tokens?? I thought of doing a cloud function to send like 0.05 celo/cUSD for this purpose could there be a better option out there
Beta Was this translation helpful? Give feedback.
All reactions