load.network
  • Load Network
  • Quickstart
  • About Load Network
    • Overview
    • Network Releases Nomenclature
    • Load Network Alphanets
    • Key Features
    • ELI5
  • Using Load Network
    • Compatibility & Performance
    • Network configurations
    • Load Network Bundler
    • 0xbabe2: Large Data Uploads
    • Load Network Bundler Gateways
    • Load Network Precompiles
    • LN-Native JSON-RPC Methods
    • load:// Data Protocol
    • Self-Hosted RPC Proxies
      • Rust Proxy
      • JavaScript Proxy
    • Code & Integrations Examples
      • ethers (etherjs)
      • Deploying an ERC20 Token
  • Load Network Cloud Platform
    • Cloud Platform (LNCP)
    • Load S3 Protocol
    • load0 data layer
  • Load Network for evm chains
    • Ledger Archiver (any chain)
    • Ledger Archivers: State Reconstruction
    • DA ExEx (Reth-only)
    • Deploying OP-Stack Rollups
  • Load Network ExEx
    • About ExExes
    • ExEx.rs
    • Load Network ExExes
      • Google BigQuery ETL
      • Borsh Serializer
      • Arweave Data Uploader
      • Load Network DA ExEx
      • Load Network WeaveDrive ExEx
  • Load Network Arweave Data Protocols
    • LN-ExEx Data Protocol
    • Load Network Precompiles Data Protocol
  • DA Integrations
    • LN-EigenDA Proxy Server
    • LN-Dymension: DA client for RollAP
  • load hyperbeam
    • About Load HyperBEAM
Powered by GitBook
On this page
  • Add Load Network Alphanet to MetaMask
  • ERC20 Contract
  • Deployment
Export as PDF
  1. Using Load Network
  2. Code & Integrations Examples

Deploying an ERC20 Token

Deploy an ERC20 token on Load Network

Previousethers (etherjs)NextCloud Platform (LNCP)

Last updated 2 months ago

Add Load Network Alphanet to MetaMask

Before deploying, make sure the Load Network network is configured in your MetaMask wallet. .

ERC20 Contract

For this example, we will use the ERC20 token template provided by the smart contract library.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title Useless Testing Token
/// @notice Just a testing shitcoin
/// @dev SupLoad gmgm
/// @author pepe frog
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract WeaveGM is ERC20 {
    constructor(uint256 initialSupply) ERC20("supLoad", "LOAD") {
        _mint(msg.sender, initialSupply);
    }
}

Deployment

Now that you have your contract source code ready, compile the contract and hit deploy with an initial supply.

After deploying the contract successfully, check your EOA balance!

Check the Network Configurations
OpenZeppelin's
69420 LOADs because why not
Success!