Parex Network
Block ExplorerCommunityParex NetworkDAO
  • 🦝Parex Network Docs
  • Welcome
    • 🚩Quick Start
      • Parex Network in a nutshell
      • Connect to Mainnet and Testnet
      • Deploy and verify a contract
        • Deploy with Remix IDE
          • ERC-20 smart contract
        • Deploy with thirdweb
        • Verify with Parex Block Explorer
      • Run a Parex Chain Node
      • Become a Validator
        • Run a Validator node
        • Authorization of Other Validators
        • nametag for Validator
        • Validator slashing
        • Validator Locked
      • Parex Halving
  • How we Work
    • 📖Learn
      • About Parex Network
        • Tokenomics
        • Parex Networks Labs
      • Parex Bridge
        • How to bridge PRX PEP20 to BEP20
        • How to bridge PRX BEP20 to PEP20
      • Staking on Parex Chain
        • Locked Stake your PRX on dAPP
        • Unlocked Stake your PRX on dAPP
        • Staking Rewards
        • Staking PRX from your Ledger
      • Become a Validator
        • Run a Validator node
        • Authorization of Other Validators
        • nametag for Validator
        • Validator slashing
        • Validator Locked
      • Glossary
        • Blockchain
        • Consensus mechanisms
        • Governance
        • Validator
        • Staking
        • Wallet
        • PEP-20
        • Wrapped PRX (wPRX)
        • Dead Contract Wallet
      • Parex Halving
  • For Developers
    • 💻Develop
      • Basics
        • Use MetaMask
          • Install MetaMask
          • Link Parex Testnet to MetaMask
          • Link Parex Chain to MetaMask
        • Connect to Parex Chain
          • Connect using RPC
          • Run a Parex Chain Node
          • Use a hardware wallet
        • Block Explorer
        • Parex Testnet Faucets
          • Obtain testnet tokens
          • Obtain TPRX with Parex Testnet Faucet
        • Obtain wPRX or PRX
          • PRX to wPRX
          • wPRX to PRX
        • Deploy and verify a contract
          • Deploy with Remix IDE
            • ERC-20 smart contract
          • Deploy with thirdweb
          • Verify with Parex Block Explorer
        • Tips & Tricks
  • For Community
    • 🫂Community
  • information
    • 🗺️Roadmap
    • ♻️Doc updates
Powered by GitBook
On this page
  • Create your own token
  • ERC-20 smart contract

Was this helpful?

  1. Welcome
  2. Quick Start
  3. Deploy and verify a contract
  4. Deploy with Remix IDE

ERC-20 smart contract

Customise and use the ERC-20 smart contract to create a token

PreviousDeploy with Remix IDENextDeploy with thirdweb

Last updated 1 year ago

Was this helpful?

Create your own token

As a best practice, you can choose to create your own token using the ERC-20 standard template.

Use the following smart contract in the code editor of your choice, customise your cryptocurrency, and compile your code after approving the connection using your preferred digital wallet (here, MetaMask Wallet is used).

ERC-20 smart contract

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts@4.9.6/token/ERC20/ERC20.sol";

contract InterchainToken is ERC20 {
   
    constructor() ERC20("TestToken", "TST") {

        // Mint 77000000 tokens to the creator
        _mint(msg.sender, 77000000 * 10 ** 18);
    }

}
🚩
LogoOpenZeppelin Contracts Wizard