protostar vs nile

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.

Subscribe to Only Dust
Receive the latest updates directly to your inbox.
Verification
This entry has been permanently stored onchain and signed by its creator.