Replies: 3 comments 4 replies
-
I think in general a user of starknet.js doesn't care about the underlying implementation, as long as the interfaces stay the same, or close to being the same / are still compatible. that being said I think
I dont think dapps would care a lot about the underlying implementation, but mostly about the interface they use to interact with starknet.js, so I dont see a problem in Tom's statement and agree with Dhruv. |
Beta Was this translation helpful? Give feedback.
-
The problem as I see it - The network will be upgraded to allow both transaction versions this week on Goerli and next week on Mainnet. Transaction v0 will only be removed on the following network major upgrade (v0.11.0). In the meantime, if we won't release a version that supports both transactions, we will create a time when dapps do not support some wallets. There will be a difference between the time the wallets update to the new version and the dapps update to the new version. It will be very hard to coordinate an upgrade simultaneously for all the parties. It's unrelated to the underlying implementation but to the ability to support all users during the transition period. |
Beta Was this translation helpful? Give feedback.
-
Possible Issue: Let's say there are 2 wallets - X and Y. X updates AccountContract for v0.10 by decoupling I think this is what @bbrandtom was trying to explain. I am not sure about the best solution though other than all wallets simultaneously using the latest starknet.js . I don't see a way of supporting both versions at the same time. |
Beta Was this translation helpful? Give feedback.
-
Hello!
Opening a discussion about support for v1 transactions in Starknet.js.
This discussion is meant to focus on the new, Starknet.js v5. The current (v4) does not support v1 transactions.
There are 2 possibilities as I see it:
Option 2) is cleaner and based on discussion with Argent, they plan to support only v1 transactions in their new release (I believe Braavos will do the same)
Comment from Tom from dm-s regarding option 2:
The problem I see with it -
Assume I’m a dapp and wallets want to interact with me. There might be a wallet that uses tx v0 and a wallet that uses tx v1. By making it different versions on StarkNet.js we are forcing the dapps to choose one type of users. wdyt?
Comment from @dhruvkelawala :
On ArgentX, we were thinking of forcing user to upgrade account. Instead of “Upgrade Available”, we would just say “Upgrade Required”, without which user won’t be able to make transactions on ArgentX. On starknet.js, we can update documentation to say account.execute() is now mandatory
Hey, I don’t think so dApps will have to make any changes regardless of which starknetjs version the wallet is using
account.execute
still has the same signature. Using Transaction Version v1 solely depends on the wallet. If they want to support both or one of them. dApps just have to do
account.execute()
Beta Was this translation helpful? Give feedback.
All reactions