I'm adding a custom network (local and L3) to ArgentX from my dapp using wallet_addStarknetChain.
There is no specification for account class hash in AddStarknetChainParameters, but it is important to specify it.
Trying to pass accountClassHash or classHash does not have any effect (just being hopeful...):
Looking at ArgentX source code, it looks like you should accept the class hash in accountImplementation, but it results a strangeZodError. But something is happening! Only bugged, it seems
Hello,
I'm adding a custom network (local and L3) to ArgentX from my dapp using
wallet_addStarknetChain
. There is no specification for account class hash inAddStarknetChainParameters
, but it is important to specify it.Trying to pass
accountClassHash
orclassHash
does not have any effect (just being hopeful...):Looking at ArgentX source code, it looks like you should accept the class hash in
accountImplementation
, but it results a strangeZodError
. But something is happening! Only bugged, it seemshttps://github.com/argentlabs/argent-x/blob/main/packages/extension/src/inpage/requestMessageHandlers/addStarknetChain.ts#L6-L22
the error...