Skip to content

Vryx poc anchor#18

Open
bianyuanop wants to merge 18 commits intovryx-pocfrom
vryx-poc-anchor
Open

Vryx poc anchor#18
bianyuanop wants to merge 18 commits intovryx-pocfrom
vryx-poc-anchor

Conversation

@bianyuanop
Copy link

@bianyuanop bianyuanop commented Aug 19, 2024

This PR implements an action based anchor registry where users are free to register/update/delete an Anchor on SEQ, where rollup info related to it will be recorded. The current AnchorInfo spec:

type AnchorInfo struct {
	FeeRecipient codec.Address `json:"feeRecipient"`
	Namespace    []byte        `json:"namespace"`
}

The AnchorRegister action spec

type AnchorRegister struct {
	Info      hactions.AnchorInfo `json:"info"`
	Namespace []byte              `json:"namespace"`
	OpCode    int                 `json:"opcode"` // 0 -> create, 1 -> delete, 2 -> update
}

Future work & Questions

  • Permissioned access for AnchorRegistry such as only admins are allowed to register
  • Naming of the AnchorInfo struct, since it's more related to the metadata of a rollup, should we change it to RollupInfo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant