Abstract: Systems and methods for determining and executing complex multi-route transfers of digital assets are described. A multi-route transfer of a source asset for a destination asset may be determined by analyzing a graph representing a plurality of assets and exchanges to determine a plurality of unique transfer paths. A transfer path may reflect a direct transfer in which the source asset is swapped for the destination asset, or it may reflect a series of intermediate transfers in which the source asset is swapped for intermediate asset(s) that are swapped for the destination asset. Dynamic programming can be used to select the transfer paths to include in the multi-route transfer, how to distribute swaps across those transfer paths, and how to distribute swaps for each transfer of a transfer path-thereby optimizing for the total amount of the destination asset received while accounting for transaction fees.
Abstract: The present disclosure provides a system for decentralized handling of application programming interface (API) calls. The system comprises a peer-to-peer network including a plurality of nodes, each node being a user device, a relayer, or a resolver. Each node includes at least one hardware processor and at least one non-transitory memory storing instructions. When executed, the instructions cause the node to receive an encrypted API request from a user device, forward the encrypted API request to at least one resolver node, process the API request to generate an API response, and transmit the API response back to the user device. The peer-to-peer network may comprise a mesh network and utilize a Remote Procedure Call (RPC) architectural style. The system enables decentralized management of API calls without relying on centralized servers.
Abstract: Systems and methods for determining and executing complex multi-route transfers of digital assets are described. A multi-route transfer of a source asset for a destination asset may be determined by analyzing a graph representing a plurality of assets and exchanges to determine a plurality of unique transfer paths. A transfer path may reflect a direct transfer in which the source asset is swapped for the destination asset, or it may reflect a series of intermediate transfers in which the source asset is swapped for intermediate asset(s) that are swapped for the destination asset. Dynamic programming can be used to select the transfer paths to include in the multi-route transfer, how to distribute swaps across those transfer paths, and how to distribute swaps for each transfer of a transfer path-thereby optimizing for the total amount of the destination asset received while accounting for transaction fees.