# How to deploy smart contract on Plian via Metamask + Remix

### Step 1: open MetaMask and choose child\_0 subchain. <a href="#id-9545" id="id-9545"></a>

Child\_0 (Subchian 1) RPC: <http://mainnet.plian.io:6969/child_0> 8007736

If you don't know how to connect Metamask to Plian, please click [here](https://pliangroup.gitbook.io/plian/for-developers/how-to-connect-metamask-to-plian)

{% hint style="info" %}
&#x20;Deploying smart contract is only available on Plian subchain.&#x20;
{% endhint %}

![](/files/-Me-EnZobhXFewy6V783)

### Step 2: open #remix and add the smart contract. <a href="#id-99a3" id="id-99a3"></a>

![](/files/-Me-FiI29x965cRyCba6)

### Step 3: deploy the contract and connect to MetaMask. <a href="#id-7bff" id="id-7bff"></a>

![](/files/-Me-Fv_Ccp3t9w4aOPLZ)

### Step 4: select the account and select “next” then “connect”. Once successfully connected the address and balance will be displayed. <a href="#d99b" id="d99b"></a>

![](/files/-Me-HTlNJ1_EPYlvH3VV)

![](/files/-Me-HWVGwr_oNQ2muh_O)

### Step 5: select “confirm”. Once successfully connected the address and balance will be displayed. <a href="#id-1977" id="id-1977"></a>

![](/files/-Me-HkYrnfyNhkdsEXq5)

### Step 6: fill the parameter and select “transact”. <a href="#id-9c3d" id="id-9c3d"></a>

![](/files/-Me-HvFUkMvTb71O522V)

### Step 7: select “confirm”. <a href="#c780" id="c780"></a>

![](/files/-Me-I34XFsP-hlZafE3J)

### Step 8: once successfully deployed copy the contract address <a href="#ea07" id="ea07"></a>

![](/files/-Me-IDOey6RiZebdA9dI)

### Step 9: check the token in MetaMask, open MetaMask and select “Add Token” <a href="#id-4cf6" id="id-4cf6"></a>

![](/files/-Me-IjSzTRnmPneOb5sD)

![](/files/-Me-Id0x-XbaPRD-uOk5)

![](/files/-Me-JVYCqGYdESyKeTcE)

![](/files/-Me-JbmvdyBPxT8AFAuk)

### Step11: Done! Congratulation!! <a href="#id-3233" id="id-3233"></a>

If you wanna check the deployment transaction details on [PIscan](https://piscan.pchain.org/), make a copy of the token smart contract or the owner address of the smart contract to piscan to check.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pliangroup.gitbook.io/plian/for-developers/how-to-deploy-smart-contract-on-plian-via-metamask-+-remix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
