All Products
Search
Document Center

Blockchain as a Service:Using Remix Solidity IDE

Last Updated:Jan 18, 2019

Remix is a browser-based compiler and IDE that enables users to build Ethereum contracts with Solidity language and to debug transactions. MetaMask allows you to run Ethereum DApps (Decentrailized Applications) right in your browser without running a full Ethereum node. Through the following steps, you can use the online Remix-IDE to connect to the Quorum node of the Alibaba Cloud BaaS for development and debugging.

  1. Get the Quorum node’s username username and password password. If you have not configured a username and password, you can configure it following the steps in Node Security Management.

  2. Get the Quorum node’s RPC service address noderpcaddress, you can find this information in the Access Endpoint column of My Nodes table.

  3. Get the network ID networkid of the Quorum network which the node has joined. You can find this information in the Network ID column of My Ethereum table.

  4. Download the MetaMask browser extension on the official website of [MetaMask] (https://metamask.io). You can also download the source code from [MetaMask Github] (https://github.com/MetaMask/metamask-extension) and compile it into a browser extension.

  5. After completing the MetaMask Initialization Wizard, click the Networks drop-down list at the top and select Custom RPC

  6. Find New Network setting on the MetaMask settings page, and click Show Advanced Options on the right, and then fill in your node’s RPC connection information http://${username}:${userpassword}@${noderpcaddress} and network ID networkid.MetaMask

  7. Click Save to save the custom network and select the custom network AliyunQuorum that you just created in the Networks drop-down list at the top.

  8. Visit Online Remix IDE and select Injected Web3 in the Environment config of the Run tab on the right.Remix