The Ultimate StarkNet Dev Environment

drspacemn
Starknet Edu
Published in
5 min readMar 24, 2022

--

This tutorial is overkill for most Cairo/StarkNet developers. The hope is you can cherry-pick the details relevant for your personal developer environment. Blockchain development can be tedious so it’s important to have enough low hassle tooling to create a “relatively” easy development flow.

Postman

The StarkNet EDU team has assembled a Postman workspace that includes relevant API calls for developing and testing your Cairo code in various environments. I recommend the desktop version:

Once downloaded search in the search bar and select the workspace “starknet-edu” . Verify the id is correct: 5cf35dcd-9230–4e4a-aa1e-c52a4e910d02(info icon next to “workplace settings”). Notice the environments drop down on the top right:

These are populated with the default values for each StarkNet environment. Select the ellipses(three dots) on the right of each collection. Then select “create fork”. Navigate to the Environments tab on the left nav and do the same for the environments.

Environments

MacOS

For setting up on macOS I recommend running the environments using Docker. Install build tools, home brew, docker and pull the environment docker containers for…

--

--