The Moonbeam plugin for Ethereum's Remix IDE. It support for deploy and interacting on a Moonbeam network.
First, clone the repository:
git clone https://github.com/moonbeam-foundation/moonbeam-remix-plugin
cd moonbeam-remix-plugin
Install dependencies:
yarn install
Run the app:
yarn start
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
When developing the plugin, you can view the changes you're making locally from within Remix by taking the following steps:
-
From Remix, click on the Plugin Manager icon on the left side menu
-
Towards the top, click on Connect to a Local Plugin
-
Fill in the plugin details:
- Plugin Name - Moonbeam Test Plugin
- Url - http://localhost:3000
- Type of connection - iframe
- Location in remix - side panel
-
Click on OK
-
A question mark icon should appear on the left side menu for the local plugin
Once the local plugin has been created, you can navigate to it test out your changes!
To publish changes to the live plugin, all you have to do is run yarn publish-pages
and commit the updated build files!
- Click RemixIDE Plugin Manager Icon and activate Moonbeam Plugin
- Click Moonbeam Plugin Icon
- Connect MetaMask Wallet Account
- Select Network
- Compile your smart contract
- Select Contract to deploy
- Deploy