-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Saving this here so it does not get buried:
"neither injected wallet (Argent & Braavos) seem to include methods for deploying contracts in their injected wallet object, so there must be a way of signing a declareDeploy and actually publishing the transaction with our own provider config in the dApp itself."
Also asked on Discord:
"How are injected wallets meant to be used with declareDeploy? The account interface of Braavos & Argent X does not have the method in it. Wondering if there's a way of crafting a declareDeploy transaction in starknet.js and then just request a signature from an injected wallet, actually submitting the transaction using the dApp's own provider & RPC?"
So, somehow we might need to create a declare and a deploy call that gets signed by the user's wallet but gets broadcasted with our own provider that has the needed methods.