How to deploy a contract on starknet

TLDR;
Let’s learn how to deploy a contract on starknet!

We will be using the Remix Ethereum editor and follow a step-by-step guide throughout the process.

Let’s begin our journey!
How to deploy a contract on starknet 🚀

Step 1️⃣: Open https://remix.ethereum.org/ and click on the plugin manager. Search for "starknet" and activate it.

activate starknet plugin
activate starknet plugin

Step 2️⃣: Click on the file explorer and select the "cairo_scrab_sample" folder.

choose space
choose space

Step 3️⃣: Select the cairo contract located in the "src" directory.

choose one cairo contract
choose one cairo contract

Step 4️⃣: Click on "Compile" to compile the contract.

compile and accept
compile and accept

Step 5️⃣: Choose your preferred wallet provider for connecting to starknet.

choose wallet
choose wallet
connect your wallet
connect your wallet

Step 6️⃣: Click on "Deploy Contract".

input value and deploy contract!
input value and deploy contract!

Step 7️⃣: Confirm the transaction in your wallet.

post image

Step 8️⃣: Voila! Your contract is deployed on starknet.

That's it! You have successfully deployed a contract on starknet. 🎉

Thanks for your support!I'll keep bringing more tutorials on starknet!

Starknet is a Validity Rollup Layer 2. It provides high throughput, low gas costs, and retains Ethereum Layer 1 levels of security.