-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding withdraw address to Profile #258
Comments
I really like this idea. However, I think it might be better to act as follows:
This way with (1) we would also extend the Cosmos SDK (maybe merging our changes into it to make it publicly available, and with (2) we would obtain what you @kwunyeung have described inside the issue. I've thought about this separation of concerns since I think that adding different addresses will have complications on the Cosmos SDK as a whole (the |
Great! That's a better structure. |
I think this can be closed? @RiccardoM |
@bragaz Instead of closing it let's keep it on hold. It might be interesting to still work on in the future |
Closing this since it can be implemented using |
One security concern on Desmos is if a user is using the an account key controlling assets to do social interactions, the key is being accessed too frequently. This is not desired especially when a user would like to store the assets in hardware wallets and use another associated key to operate any social interactions. With the current establishment of Desmos Profile, we can enhance it, make it the core of the social identity which associate different keys on Desmos. Instead of using the account concept in Cosmos SDK, which is a pubkey, we can treat
Profile
as anAccount
.In our tokenomics, users will be rewarded with their social engagements. To isolate the key that is being used to operate social interactions and crypto assets, we can simply add a
WithdrawAddress
in the existingProfile
structure.When a users request to withdraw the rewards, the rewards will be distributed to the associated address instead of the
Creator
address.WithdrawAddress
can only be associated with a singleProfile
. This is similar to theAccount
structure inFlow
.With is structure, we can add more functionalities to an identity on Desmos which different keys can be used in different features. For example, we can add another associate key which is only being used for voting.
By using
Profile
as a user identity, we basically solve #45 . When a dapp query the account, it can directly query the @dtag and get all associated information.@RiccardoM @bragaz @terencesflam please comment.
The text was updated successfully, but these errors were encountered: