Skip to content

Add RPC to compute optimal trading path #927

@gregdhill

Description

@gregdhill

Is your feature request related to a problem? Please describe.
Calculating the optimal trading path in the UI is computationally expensive and the result could be quickly invalidated.

Describe the solution you'd like
Add an RPC to dex-general that computes the optimal trading path for an input and output amount.

Describe alternatives you've considered
Uniswap and Sushiswap outsource the computation to an external API service.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Todo ⏳

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions