foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
279 stars 139 forks source link

Test import/export e2e flow and usage with different wallets #2204

Closed Arcticae closed 2 weeks ago

Arcticae commented 3 weeks ago

Which components does the task require to be changed? (think hard pls)

sncast

Description

This task could result in some takeaways or perhaps different tasks that make the flow better and with less friction

Arcticae commented 3 weeks ago

Findings:

Specific to import procedure

  1. Needlessly complicated interface for importing account (why do i need to pass the class hash? why is the URL needed if it's not used?)
  2. Guide is hidden away and not clear
  3. Account is saved in openzeppelin file? Even if it's argent?

General cast jabs:

  1. Confusing ordering of arguments and unhelpful messages
  2. Not possible to save a node URL (i need to pass it every time)
  3. Impossible to display the output in other format?

Other thoughts and ideas

  1. Would be nice to link to block explorers after submitting the transactions
Arcticae commented 2 weeks ago

Created relevant issues:

2218 #2219 #2220 #276