Skip to content
Roman Gascoin RG-003
All articles

Technical note TN-09 Spec sheet

Solidity & Proxy

Creating a course on Solidity proxies

Issued
Reading
2 min read
Class
Freelance
Keywords
  • Freelance
  • Solidity
  • Course
Format
Raw Markdown

Over the past month, I spent time creating a course on the use of proxies in Solidity. This course is available on Udemy, in French:

Solidity et Proxy: devenez scalable

What is a Solidity proxy?

A Solidity proxy is a design pattern that allows smart contracts to be upgraded without breaking existing ones. It does this by separating the implementation logic of a contract from its interface. When a contract is upgraded, the implementation logic can be changed, while the interface remains the same. This allows contracts to be upgraded without changing their address or breaking existing contracts that depend on them.

There are several types of proxies that can be used in Solidity. Here are some of the most common ones:

  1. Transparent Proxy: A transparent proxy is a contract that forwards all function calls and data to another contract. The forwarding is done using the low-level delegatecall function, which allows the called contract to access the storage and state of the proxy contract. Transparent proxies are the most commonly used type of proxy in Solidity.
  2. UUPS (Universal Upgradeable Proxy Standard): UUPS is a standard for upgradeable proxies that was introduced in Solidity version 0.8. It simplifies the process of creating upgradeable contracts by providing a standardized interface for implementing upgradeable proxies. UUPS contracts use a separate proxy contract to hold the implementation logic, which can be upgraded using an upgradeTo function. The UUPS standard is designed to be compatible with other upgradeable proxy standards, such as EIP-1967.

These are just a few examples of the types of proxies covered in the course. Depending on your use case, you may need to use a combination of different types of proxies to achieve the desired functionality.

How long is the course?

The course contains about 2 hours of video, and it should take around half a day to complete if you follow along with the examples.

Of course, once you have the course, you can access it 24/7 and learn at your own pace.