Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove dependency on sm_account to query kwenta #57

@idiom-bytes

Description

@idiom-bytes

problem

I'm in your stack, touching your bits and playing with your stack and wrappers (fantastic work!!!)
However, to play with data I need to bridge to OP + create a smart margin account.

proposal

Enable user to instantiate with Kwenta(wallet_address=None, ...)
Handling sm_account to be None.

kwenta.py
ln 207: sm_account = self.get_sm_accounts()[0] if self.wallet_address else None

DoD

  • user can interact with all queries and functionality that do not rely on an sm_account

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