Cover photo

How to deploy a smart contract in Starknet

Starknet Contract Guide

Step 0) Go to Remix (https://remix.ethereum.org)

Step 1) Click Plugin manager

Step 2) Search "Starknet"

Step 3) Click Activate

Step 4) Starknet logo will pop-up Note: Accept the permission request pop-ups from Remix.

post image

Step 5) Click File explorer

Step 6) Select "cairo_scarb_sample"

Step 7) Click Create new file

Step 8) Name file anythingyouwant.cairo

post image
post image

Step 9) Go to Simple Counter Contract on Starknet by example (https://starknet-by-example.voyager.online/ch00-11-counter.html…)

Step 10) Copy the contract code

Step 11) Paste contract code on Remix

post image
post image

Step 12) Click Starknet logo

Step 13) Change environment and select wallet Note: Braavos will work, but Argent X will not. Argent X will give an error. Await fix from Argent team.

Step 14) Compile file

Step 15) Deploy contract

post image
post image