button-icon

Iniciarsesión

Iniciarsesión
Archi's Academy
    Cursos
    Cursos
    #
  • Proyectos
    Proyectos
  • Archi's Academy

    Tracks

    #
  • Blog
    Blog
  • Precios
    Precios
  • Contacto
    Contacto
  • Para clubs universitarios
    Para clubs universitarios

BLACK FRIDAY

85% de descuento durante todo noviembre

whatsapp
Contáctanos
Archi's Academy

Navegación

  • Cursos
  • Proyectos
  • Blog
  • Precios
  • Para clubs universitarios
  • Contacto

Cursos

    Tracks

    • Desarrollo Frontend
    • Desarrollo Backend
    • Control de Calidad (QA)
    • Programación con IA Agentica y LLMs
    • Desarrollo Móvil
    • DevOps

    Legal

    • Política de privacidad
    • Términos de servicio

    Contacto

    +1 (217) 200 90 93
    Suite No: 8, 400 Emmet Street
    Kissimmee, Florida 34741 USA
    [email protected]

    Copyright © Tech Career Yazılım Danışmanlık A.Ş. 2026

    instagramlinkedingithubyoutubexfacebook
    visamastercardstripeiyzicoamerican-express
    ETBIS
    1. Home›
    2. Blog›
    3. Creating Upgradeable ERC20 Tokens

    Blockchain

    Computer Networking

    Creating Upgradeable ERC20 Tokens

    As you know one of the most popular Ethereum tokens is ERC20.
    But what is ERC20?
    The ERC-20 Ethereum token standard is a blueprint for creating fungible tokens that are compatible with the broader Ethereum network. The most important feature of ERC20 is that tokens are fungible. This means that each token is equal to all the other tokens like BNB, USDT. (Other ERC20 tokens)
    Smart Contracts in Ethereum are immutable by default. If we want to make changes to our contract in the future, we may want to use the Upgradeable Contract feature. There are many advantages of making the contract upgradeable instead of deploying a new contract. As we create and deploy a new contract, the contract address will change. So you will need to update all contracts that interacted with the old contract to use the address of the new version. You will also have to reach out to all of your users and convince them to start using the new contract and handle both contracts being used simultaneously, as users are slow to migrate.
    We can use a proxy contract with an interface where each method delegates to the implementation contract.
    et.png
    The first contract is a simple wrapper or “proxy” with which users interact directly and is in charge of forwarding transactions to and from the second contract, which contains the logic. The key concept to understand is that the logic contract can be replaced while the proxy or the access point is never changed. Both contracts are still immutable in the sense that their code cannot be changed, but the logic contract can simply be swapped by another contract. The wrapper can thus point to different logic implementation and in doing so, the software is “upgraded”.
    Whenever you deploy a new contract using deploy proxy in the OpenZeppelin Upgrades Plugins, that contract instance can be upgraded later.By default, only the address that originally deployed the contract has the rights to upgrade it.
    Here is a sample upgradeable smart contract, you can download the full project from the here and modify it according to your project.
    archis-trainee

    Seher Saylık

    Cuma, Nis 2, 2021

    ¿Listo para convertir el conocimiento en habilidades reales?

    Empieza a construir con formación guiada por proyectos y gana experiencia práctica desde el primer día.

    TOC

    Table of Content

    No sections found