The BuildBear plugin for Remix IDE. It support for deploy and interacting on BuildBear Sandbox (BuildBear Node).
First, clone the repository:
git clone https://github.com/BuildBearLabs/buildbear-remix-plugin
cd buildbear-remix-plugin
Rename Configuration File: Rename the provided .env.example file to .env. Add your REACT_APP_BASE_URL and REACT_APP_SANDBOX_TOKEN values.
REACT_APP_BASE_URL="YOUR_BASE_URL"
REACT_APP_SANDBOX_TOKEN="YOUR_SANDBOX_TOKEN"
Install dependencies:
yarn install
Run the app:
yarn start
Branch : Master
Open http://localhost:3000 to view it in the browser.
Once the plugin starts running on localhost. You can view the changes you're making locally within Remix Ide by following step :
- In Remix, click on the Plugin Manager icon on the left-bottom side of the menu
- Towards the top, click on Connect to a Local Plugin.
- Fill the Details:
- Plugin Name - BuildBear SandBox
- Url - http://localhost:3000
- Connection Type - iframe
- Location Type - side panel (Left Side)
- Click on OK
- A question mark icon will appear on the left side menu for the local plugin.
- Once the local plugin has been created, you can test the changes locally
- Once your Sandbox is live, copy the RPC.
- Visit the 4th plugin "Deploy and Run Transactions"
- Drop down on the Environment
- Select "Custom External Http Provider"
- In the input box "External HTTP Provider Endpoint, paste the RPC (copied in Step 1)
- Your Remix IDE will be connected to the BuildBear Sandbox you just created.
If you have any issues, you can reach out to us on [email protected] or https://t.me/Web3_dApp_Developers
Additional Notes:
- If you want to reset your sandbox, you can use the "Reset" button on the top-right corner of this plugin