Skip to content

cannot use AA ac in normal dapp like Uniswap #73

@cwhcheng

Description

@cwhcheng

I create an AA account in snap and I can connect the AA ac to Uniswap. But when i try to perform a token swap, it throws me an error Invalid options to add user operation smartContractAccount - Expected an object, but received: undefined { "originalError": {} }. Then I try to add some debug log msg in packages/snap/src/index.ts of onRpcRequest and onKeyringRequest, but i cannot get any log msg, so i suspect it never go into the snap when i try to do a swap. Do you know how to deal with this issue? Appreciate any help!

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