Skip to content

Automatically rotate Noble deposit addresses #4873

@zbuc

Description

@zbuc

Is your feature request related to a problem? Please describe.
Building on #4857, now that we have a basic implementation of Noble forwarding address registration, they should be rotated automatically on use.

Describe the solution you'd like

image

We can keep this simple and use the existing work from #4857 to implement speculative registration:

To figure out the next sequence number, assuming the view service doesn't have it available, submit a register tx starting at index 0 until you get a "account doesn't exist" error, this is the next one in the sequence.

To poll: submit the register tx repeatedly until you get the "successfully registered" message instead of the "doesn't exist" error.

For now, the sequence number should be stored in the view service. We can figure out how to expose it to Prax later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions