In the project directory
-
To install dependencies run
yarn
. -
To start the app in the development mode run
yarn start
. Open http://localhost:3000 to view it in the browser.
After you start the development server, go to http://remix.ethereum.org/, navigate to plugin section.
- Click 'Connect to a Local Plugin'.
- Provide a plugin name and a display name.
- in the URL field add 'http://localhost:3000'.
- Click OK
Now you will see the new plugin in the left bar.
Welcome to the remix-contract-deployer-plugin!
This plugin will help you to work with compiled solidity contracts. This plugin is under a development so most features are under construction.
The plugin aims to deploy multiple contracts to multiple networks with same deterministic address.
NOTE: This plugin currenlty only supports Metamask.
Supported networks: Ropsten, Rinkeby, Goerli, Kovan.
- Open the plugin (you will see compile button).
- Select compiled solidity contract.
- Hit load.
- After loading you will be prompted to enter a hash salt, then if you contract has constructor arguments, you should enter them too.
- Choose the network from the list which is powered by Metamask.
- Deploy and sign the transaction.
To run plugins locally, please refer to official Remix IDE documentation.
Currently plugin uses Metamask as an injected provider, the Remix IDE itself is also "providing" provider whether it's a injected or manually connected. But this plugin does not yet rely on Remix IDEs provider. So for now we are limited to the networks supported or added from metamask. This part is heavily under R&D to find best approaches.