# How to deploy a smart contract in Starknet 



By [xiao7](https://paragraph.com/@halfws) · 2023-07-13

---

Starknet Contract Guide

Step 0) Go to Remix ([https://remix.ethereum.org](https://t.co/f1pFCLPwKF))

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.

![](https://storage.googleapis.com/papyrus_images/b9e6220df22146c952202ebceeb14c830515fd471038f4fe6894dad089b02374.jpg)

Step 5) Click File explorer

Step 6) Select "cairo\_scarb\_sample"

Step 7) Click Create new file

Step 8) Name file anythingyouwant.cairo

![](https://storage.googleapis.com/papyrus_images/dcbeedfacd91359fc9cad74a9264a8daa23f7c2ac248870fba6892b404fe7b23.jpg)

![](https://storage.googleapis.com/papyrus_images/dc9f68f69217803bab5795b6f5b712809d0c216629b5f49baf8373ed7f04cb62.jpg)

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

Step 10) Copy the contract code

Step 11) Paste contract code on Remix

![](https://storage.googleapis.com/papyrus_images/9e796d00829be20dde6ff3eb0d838366e04d4356774ea04d2dc4065de9b63859.jpg)

![](https://storage.googleapis.com/papyrus_images/e1ae57aad22dfbc81075719868b262d39f0f94997af99b725b45886d6781693d.jpg)

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

![](https://storage.googleapis.com/papyrus_images/4c24dda82e4b0714f1ca1515af43c81046bc01142f228fc4503a3371b4874edc.jpg)

![](https://storage.googleapis.com/papyrus_images/29d74c6164cedd1f5cabce8eb05cdbefb804b7a9b6876f68373895d23753d635.jpg)

---

*Originally published on [xiao7](https://paragraph.com/@halfws/how-to-deploy-a-smart-contract-in-starknet)*
