protostar vs nile
0xBa9E
May 12th, 2022

When starting a new project in a new programming language, there is always this question that is raised.

Which framework should I choose ?

For Starknet projects, there are especially 2 new frameworks I have been trying and would like to compare: protostar and nile.

I have detailed the comparison in this github repository. Several aspects are treated:

  1. Installation
  2. Project initialization
  3. Compilation
  4. Unit testing
    1. Assertions
    2. Mocking
    3. Debugging
  5. Deployment
  6. Performances

And the winner is…

For the more impatient ones, here are the results:

protostar vs nile comparison
protostar vs nile comparison

As a conclusion, protostar offers more features during the development life cycle and is also way faster. Which is a nice advantage especially when using TDD.

nile, on the other hand, offers more feature during the deployment, especially thanks to its compatibility with starknet-devnet for running a local node.

Let's see how both projects evolve in the future and if more features are added.

Arweave TX
fxbLBW9l29uM_ODy2kaOCw525wUMsn-dNHKY23XL4vY
Ethereum Address
0xBa9E280B752B09eA866E9Cc0C8fE0fCef241B63c
Content Digest
1yoQch6XFpOjd9VVzZ48bZbpwtmLO2fOqYg7QxzW3DA