Understanding deterministic smart contract deployment on CELO with create2

Introduction

In this tutorial i introduce the create2 precompile which for EVM chains which is also supported on CELO, and explain how smart contract developers can leverage this feature to deploy smart contract to a precomputed address.

Prerequisite

  1. Familiarity with solidty
  2. Understanding of basic EVM fundamentals
7 Likes

i guess you intend to put this under “New Proposals” and not tutorial .

5 Likes

Oh yea, just figured out thanks :green_heart:

1 Like

Sure brother

6 Likes

I’m truly impressed by the clarity and structure of your proposal for a Celo blockchain tutorial.

2 Likes

So much anticipation

2 Likes

Thank you.

Welcome to celo Academy.

First, what do you mean by "deterministic smart contract deployment"? I suppose you mean to say "Deterministic smart contract addresses since that’s what create2 is used for.

Here are what you proposed:

Title:

Understanding deterministic smart contract deployment on CELO with create2

11 Likes

Yea that’s what was intended, essentially pre-computing the address of the smart contract, this has several benefits which I’d spell out in the tutorial, also I’d show how to a contracts constructor allows for this.

1 Like

nice proposal man

1 Like

Gracias amigosđź’š