Plian
English
English
  • Overview
  • Links
  • Downloads
  • FAQ
    • Node Status
    • Full Balance
    • Flow and FAQ on Becoming a Validator
    • Delegation
    • Staking Rewards
    • Monitor
    • PIScan
    • PIWallet
    • Cross-Chain Transactions
    • DApps
  • About The Blockchain
    • Multichain Framework
    • PDBFT 2.0 Consensus Algorithm
    • Validator Nodes
    • Building with Plian
  • Using The Blockchain
    • Overview
    • Delegating or Staking PI
    • Validator Node Guides
      • Express Node Setup Guide
      • Setting Up a Validator Node
      • Registering Your Node as Validator
      • Submitting Your Vote as Validator
      • Revealing Your Vote
      • Removing Your Node From the Candidate List
      • Alternate Installation Instructions
        • Building From the Source
        • Running Pchain in Docker
        • Installation Instructions for Ubuntu
        • Installation Instructions for Mac OS X
        • Installation Instructions for Windows 10
      • What is FullBalance
    • Token Swaps
    • Plian Javascript Console
    • PIwallet
      • Desktop Wallet
        • Light Wallet Mode
        • Local Node Mode
      • Mobile Wallets
      • How to Deploy a Smart Contract
    • PMetamask
    • MetaMask
      • How to import PIwallet address to MetaMask?
      • How to connect Metamask to Plian
      • How to import wallet address from MetaMask into PIWallet
      • How to deploy smart contract on Plian via Metamask + Remix
    • Advanced Features
      • Command Line Options
      • Management APIs
      • JSON RPC API
      • How to Sync and Run Testnet
    • How to buy Plian $PI
  • For Developers
    • PWeb3 Javascript API
    • How to Create Your Own Subchain
    • Writing Smart Contracts With Solidity
      • Introduction to Smart Contracts
      • Installing the Solidity Compiler
      • Solidity by Example
      • Solidity in Depth
        • Layout of a Solidity Source File
        • Structure of a Contract
        • Types
        • Units and Globally Available Variables
        • Expressions and Control Structures
        • Contracts
        • Solidity Assembly
        • Miscellaneous
      • Security Considerations
      • Resources
      • Using the compiler
      • Contract Metadata
      • Contract ABI Specification
      • Yul
      • Style Guide
      • Common Patterns
      • List of Known Bugs
      • Contributing
      • Frequently Asked Questions
      • LLL
      • Index
Powered by GitBook
On this page
  • Step 1: open MetaMask and choose child_0 subchain.
  • Step 2: open #remix and add the smart contract.
  • Step 3: deploy the contract and connect to MetaMask.
  • Step 4: select the account and select “next” then “connect”. Once successfully connected the address and balance will be displayed.
  • Step 5: select “confirm”. Once successfully connected the address and balance will be displayed.
  • Step 6: fill the parameter and select “transact”.
  • Step 7: select “confirm”.
  • Step 8: once successfully deployed copy the contract address
  • Step 9: check the token in MetaMask, open MetaMask and select “Add Token”
  • Step11: Done! Congratulation!!

Was this helpful?

  1. Using The Blockchain
  2. MetaMask

How to deploy smart contract on Plian via Metamask + Remix

Please find below a step by step tutorial detailing how to use MetaMask and Remix to deploy smart contract on Plian mainnet. We take the following example of deploying ERC-20 token smart contract.

PreviousHow to import wallet address from MetaMask into PIWalletNextAdvanced Features

Last updated 3 years ago

Was this helpful?

Step 1: open MetaMask and choose child_0 subchain.

Child_0 (Subchian 1) RPC: 8007736

If you don't know how to connect Metamask to Plian, please click

Deploying smart contract is only available on Plian subchain.

Step 2: open #remix and add the smart contract.

Step 3: deploy the contract and connect to MetaMask.

Step 4: select the account and select “next” then “connect”. Once successfully connected the address and balance will be displayed.

Step 5: select “confirm”. Once successfully connected the address and balance will be displayed.

Step 6: fill the parameter and select “transact”.

Step 7: select “confirm”.

Step 8: once successfully deployed copy the contract address

Step 9: check the token in MetaMask, open MetaMask and select “Add Token”

Step11: Done! Congratulation!!

If you wanna check the deployment transaction details on , make a copy of the token smart contract or the owner address of the smart contract to piscan to check.

PIscan
https://mainnet.plian.io/child_0
here