G

Deploy GlobalPay (GPYC) with Remix

No private key ever leaves your wallet

Never paste a private key or seed phrase into Remix, this page, or any other website. Remix connects to your wallet (MetaMask / Trust Wallet) and asks the wallet to sign. If something asks you to type a key, it is a drainer — close it.

Before you start

Step 1 — Open Remix

Go to https://remix.ethereum.org. It runs in the browser; nothing is installed.

Step 2 — Create the contract file

  1. Left sidebar → File explorer → Create new file.
  2. Name it GlobalPay.sol.
  3. Paste this exactly:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract GlobalPay is ERC20 {
    constructor(uint256 initialSupply) ERC20("GlobalPay", "GPYC") {
        _mint(msg.sender, initialSupply * 10 ** decimals());
    }
}

Remix downloads the OpenZeppelin import automatically — you do not need to install anything.

Step 3 — Compile

  1. Left sidebar → Solidity compiler.
  2. Compiler version: 0.8.24 (or any 0.8.24+).
  3. Tick Enable optimization (runs: 200).
  4. Press Compile GlobalPay.sol — you should see a green check.

Step 4 — Connect your wallet

  1. Left sidebar → Deploy & run transactions.
  2. Environment → Injected Provider - MetaMask (this also works for Trust Wallet when Remix is opened inside Trust's dApp browser).
  3. Approve the connection in the wallet.

Step 5 — Choose the network

NetworkChain IDRPCExplorer
BSC Testnet97https://data-seed-prebsc-1-s1.binance.org:8545https://testnet.bscscan.com
BSC Mainnet56https://bsc-dataseed.bnbchain.orghttps://bscscan.com

Switch the network in your wallet (or add it with the values above). Remix shows the current chain under Environment — check it before deploying.

Step 6 — Deploy

  1. Contract: GlobalPay.
  2. Next to Deploy, enter the whole token supply, e.g. 1000000 (18 decimals are added by the contract).
  3. Press Deploy → confirm in your wallet.
  4. When it confirms, the contract appears under Deployed Contracts. Copy its address.

Step 7 — Add the token to your wallet

Trust Wallet / MetaMask → Add custom token → network BSC → paste the contract address → symbol GPYC, decimals 18. You should see your full supply.

Step 8 — Verify on BscScan (recommended)

Open the contract on BscScan → Contract → Verify & Publish → compiler 0.8.24, optimization on (200), paste the same source. Verified source is what makes a token look legitimate to buyers and tools.

Step 9 — Liquidity

Then follow the liquidity guide: add GPYC + USDT/BNB on PancakeSwap V2, then lock the LP tokens and publish the lock link.

Troubleshooting

Prefer one click? The same contract is already compiled at /deploy-gpyc.html — connect the wallet there and it deploys the exact same bytecode.