Skip to content
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

contract-specific supplemental data for a base LCA (local chain account) #10249

Open
turadg opened this issue Oct 9, 2024 · 0 comments · May be fixed by #10250
Open

contract-specific supplemental data for a base LCA (local chain account) #10249

turadg opened this issue Oct 9, 2024 · 0 comments · May be fixed by #10250
Assignees
Labels
enhancement New feature or request needs-design

Comments

@turadg
Copy link
Member

turadg commented Oct 9, 2024

What is the Problem Being Solved?

A user needs some assurance that when they send to an agoric1 address for Orchestration purposes, that the funds will end up where they expect. A UI needs to be able to validate this expectation for them without requesting fresh information from vstorage.

Description of the Design

Support something like "plus addressing" in Gmail addresses (e.g. [email protected] )

A contract can provision an LCA for receiving and staging funds to transfer.
Some new ability allows creation of virtual addresses that specifies an LCA plus supplemental data.

For the use case described, the contract can use the supplemental data to specify the final destination account.
It can publish the LCA so UI libraries can cache the vstorage key (the base account) and automatically create an address that has the final destination encoded.

Scope TBD:

  • Change to vat-transfer
    • hopefully sufficient!
    • get the local virtual destination, extract the base and supplement, forward to the base and notify the contract with the supplemental data
  • Chain change (requiring Software Upgrade)
  • Both?

Security Considerations

Highly powered new capability needs careful review

Scaling Considerations

Test Plan

Upgrade Considerations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-design
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants