Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Document different mapping options #1

Open
ericbutz opened this issue Nov 12, 2020 · 1 comment
Open

Document different mapping options #1

ericbutz opened this issue Nov 12, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@ericbutz
Copy link
Contributor

Requested update to Dev hub:

  • We may want a FIP that would allow a FIO public key to not receive tokens. Meaning the blockchain would reject an attempt to send to this public key. It's an edge case, for sure, but here's the scenario: Exchange sets up deposits@exchange for sending out all FIO Requests and each request has individual public addresses for those deposits. If a user sends FIO directly to deposits@exchange, a FIO mapping that can't be removed or changed or it will break the encryption process, they won't know who to send those tokens to and it creates a support headache for them. If, instead, the chain just refused to accept the tokens on that public key, the problem is avoided.
  • Wallets: bad idea to ever change the FIO public mapping. It breaks the default encryption scheme by using the wrong public key.
  • Exchanges: it can make sense to to allow for mapping changes because there may be two different security models (wallets) in place. One controls individual user account private keys, one controls the FIO side of things (creating mappings, sending FIO requests, etc). In this scenario, they don't want the deposit accounts to own the FIO responsibilities for user1@exchange because then they would need that FIO private key for managing anything related to that FIO public address. As long as they never send a FIO request from user1@exchange (because the lookup of that public key would not map correctly to the on chain actor account for that encrypted request), it should work.

@eric Butz [Dapix] that an okay summary of what we learned on the call? If so, can you update the docs appropriately? I think this nuance is a really important one (Don't change the FIO mapping! ...unless it's okay to do so) for our integration partners to understand because if they don't FIO functionality breaks.

@ericbutz ericbutz added the enhancement New feature or request label Nov 12, 2020
@ericbutz
Copy link
Contributor Author

ericbutz pushed a commit that referenced this issue Dec 30, 2020
chrisoyi pushed a commit that referenced this issue May 20, 2022
Add updateauth, renewdomain setdomainpub examples
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant