-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic re-balancing of cryptocurrency #414
Comments
I think currently ilp-connector does not have a concept of 'user' that would link that user's multiple accounts? |
I think this is a great idea. I think it would make sense to implement that as a "connector backend".
I don't think that makes as much sense. If you're sending and receiving your payments through a particular currency, all of your payouts (or payment channel updates) should be in that currency. If you want to start using a different currency, you can send an ILP payment to yourself at the address of your account in the other currency. |
If we wanted to implement this, a hurdle for this would be #413; currently, the multi-plugins act as mini-connectors, and only they know about individual accounts and their balances. The ilp-connector only serves to provide the "plugin-plugins" like Store and Logger, and to deal with cross-currency payments. So implementing something like this would probably require changing the ledger plugin interface. |
Currently no multi-plugins are multicurrency, so I don’t see how that preventa this from being implemented. From your connector’s perspective, having an XRP-asym-server is the same as being peered with another connector over XRP |
ah ok, I was thinking of rebalancing a user's balance, but probably this issue is more about the connector rebalancing its own hot wallets. |
Could have an integration to a decentralized exchange such as Shapeshift for automatic re-balancing of funds, once we have some multi-currency connectors.
Additionally as a feature, a recipient of a settlement may be owed currency X but prefer to receive currency Z instead; some exchange API can provide your multi-currency rates and pull in their order books so you can trade immediately to re-balance.
https://info.shapeshift.io/api
The text was updated successfully, but these errors were encountered: