Skip to content

Current browser wallets don't support declareDeploy #9

@JaniAnttonen

Description

@JaniAnttonen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions