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
62 stars 48 forks source link

feat: Patron integration #518

Closed o-tsaruk closed 10 months ago

o-tsaruk commented 12 months ago

Hi Parity Technologies team! As we said before, Brushfam team wants to add a URL parameter to automatically set bundle.contract file to the/instantiate route on your App. So that we can integrate our Patron product with countracts-ui and fetch our metadata.

I've added file-creating logic to InputFile.tsx and that will affect only the case when a link contains Patron parameter, so it won't change anything for the default flow of your App. Also, I added eslint-disable-next-line on the 77 line, because metadataResponse is always a JSON type, and for this type, we can add a new field using dot syntax.

Thank you for your communication and for any feedback =)

cla-bot-2021[bot] commented 12 months ago

User @o-tsaruk, please sign the CLA here.

netlify[bot] commented 12 months ago

Deploy Preview for contracts-ui ready!

Name Link
Latest commit c6868467bf2c095d985c4d920e03b0583dfe809f
Latest deploy log https://app.netlify.com/sites/contracts-ui/deploys/6557f1f4f41d400008c62d73
Deploy Preview https://deploy-preview-518--contracts-ui.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.