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

Restrict set_signer_contract_id to trusted account #19

Open
PiVortex opened this issue Jun 11, 2024 · 0 comments
Open

Restrict set_signer_contract_id to trusted account #19

PiVortex opened this issue Jun 11, 2024 · 0 comments

Comments

@PiVortex
Copy link

Currently set_signer_contract_id which sets which MPC contract to be used, is open for anyone to use. I changed the MPC contract to pivortex.testnet for the v2.nft.kagi.testnet contract. For mainnet release I expect that this method will either be removed or restricted.

For testnet this method should be restricted anyway so only contract_owner_id can call this method for which contract_owner_id can be set on initialisation of the contract. Anyone can just decide to be annoying and keep changing the signer_contract_id and mess up the contract currently.

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

No branches or pull requests

1 participant