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

Develop a robust token contract update mechanism #118

Open
kantp opened this issue Jan 17, 2025 · 0 comments
Open

Develop a robust token contract update mechanism #118

kantp opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@kantp
Copy link
Collaborator

kantp commented Jan 17, 2025

Proposed feature

A go-to solution for updating a deployed fungible token contract to the newest version

Why

We expect the fungible token contract to evolve over time, as new features are implemented, performance is improved, etc. Even if there were no new features, the code would occasionally need to change just in order to keep up with upstream changes in o1js.

The current status is that the admin contract allows updating the main token contract. The default/example admin contract requires a signature from the deployer for an update of the token contract. This is not idea, as it establishes the deployer as a central authority who is needed for updating the contract, and who also has the power to do arbitrary changes.

We want to avoid this, and ensure that token contracts can be updated without relying on the deployer. We also want to ensure that when a contract is updated, it is updated to a legitimate newer version of the fungible token standard, as opposed to changed arbitrarily.

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

No branches or pull requests

1 participant