Skip to content

smart-order-router can't be used in React Native #876

Open
@morleyzhi

Description

@morleyzhi

Here's an example Expo Snack that displays an error in package.json on @uniswap/smart-order-router:

https://snack.expo.dev/@morley_daylight/uniswap-smart-order-router

The Tenderly simulation provider uses the http and https libraries, which isn't included in the RN environment. (It also can't easily be shimmed because one of the downstream reqs is the fs library, which DEFINITELY can't easily be shimmed.)

Can you make the Tenderly simulation provider optional so we don't have this problem in RN?

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