diff --git a/src/remixAppManager.js b/src/remixAppManager.js index 8687c0883a..e7eba45ad7 100644 --- a/src/remixAppManager.js +++ b/src/remixAppManager.js @@ -200,6 +200,21 @@ export class RemixAppManager extends PluginEngine { icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiCiAgIHhtbG5zOmlua3NjYXBlPSJodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy9uYW1lc3BhY2VzL2lua3NjYXBlIgogICB3aWR0aD0iMTAyNCIKICAgaGVpZ2h0PSIxMDI0IgogICB2aWV3Qm94PSIwIDAgMjcwLjkzMzMzIDI3MC45MzMzMyIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnOCIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMC45Mi4yIDVjM2U4MGQsIDIwMTctMDgtMDYiCiAgIHNvZGlwb2RpOmRvY25hbWU9ImxpYnJhLnN2ZyI+CiAgPGRlZnMKICAgICBpZD0iZGVmczIiIC8+CiAgPHNvZG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dHQ7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K', location: 'sidePanel' } + const oneClickDapp = { + name: 'oneClickDapp', + displayName: 'One Click Dapp', + events: [], + methods: [], + version: '0.1.0', + notifications: { + solidity: ['compilationFinished'] + }, + url: 'https://remix-one-click-dapp.surge.sh', + description: 'A free tool to generate smart contract interfaces.', + documentation: 'https://github.com/pi0neerpat/remix-plugin-one-click-dapp', + icon: 'https://remix-one-click-dapp.surge.sh/icon.png', + location: 'sidePanel' + } const gasProfiler = { name: 'gasProfiler', displayName: 'Gas Profiler', @@ -222,6 +237,7 @@ export class RemixAppManager extends PluginEngine { new IframePlugin(remixWorkshop), new IframePlugin(debugPlugin), new IframePlugin(libraTools), + new IframePlugin(oneClickDapp), new IframePlugin(gasProfiler) ] }