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 45 forks source link

Allow users to copy the code hash of the contract #427

Closed buraktabn closed 1 year ago

buraktabn commented 1 year ago

Is your feature request related to a problem? Please describe. I can't copy the code hash of the contract. I can see the partial code hash under "Add New Contract > Use On-Chain Contract Code".

Describe the solution you'd like The contract page should show the code hash and allow copying easily.

Describe alternatives you've considered I have to call the chain store of the contract pallet in order to obtain the code hash of my contract.

statictype commented 1 year ago

@buraktabn i agree we need a better way to handle this, but as a quick workaround you can copy the code hash from the URL during the re-instantiation process