use-ink / contracts-ui

Web application for deploying wasm smart contracts on Substrate chains that include the FRAME contracts pallet
https://contracts-ui.substrate.io/
GNU General Public License v3.0
61 stars 44 forks source link

Re-use metadata when adding contract #464

Closed wottpal closed 4 months ago

wottpal commented 1 year ago

It would be awesome if when I "Add contract from address", it would be possible to re-use uploaded matadata.json from previously added contracts with just a click.

cc @statictype

peetzweg commented 1 year ago

So in addition to the option of uploading a new metadata.json, offering a dropdown of already used metadata json. Sounds helpful to me. 👍

SCR-20230419-kkck
statictype commented 1 year ago

would be a nice UX improvement but we have other priorities atm. why would users have the need to attach the same metadata to different addresses? doesn't sound like something that comes up too often as for UI, we could reuse the code hashes list

wottpal commented 1 year ago

happens to me many times on a daily basis during development when re-deploying the same contract (let it be because of test scripts running and i want to try some manual interactions as well, or the frontend needs a fresh start, or deploying to a local/live testnet, etc.)

peetzweg commented 4 months ago

@wottpal does #454 resolves this issue for you as intended?

wottpal commented 4 months ago

@wottpal does #454 resolves this issue for you as intended?

Yes great, big improvement. 🚀 You probably mean #545, though :P