Skip to content
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

List token on OpenDEX #1956

Open
ghost opened this issue Oct 22, 2020 · 0 comments
Open

List token on OpenDEX #1956

ghost opened this issue Oct 22, 2020 · 0 comments
Assignees
Labels
connext P2 mid priority question/tbd Further information or discussion needed

Comments

@ghost
Copy link

ghost commented Oct 22, 2020

This issue is about enabling users to list arbitrary ERC20 tokens on OpenDEX via xud. Connext relies on the router node holding the asset in order to collateralize inbound liquidity for non-routing nodes.

Proposed flow:

  • xud periodically fetches all the supported tokens from Connext router node.
  • when user attempts to call addcurrency for ERC20 token that is not supported xud will throw an error to indicate that the token is currently not listed. The user can list the token via xucli list-token 0xTokenAddress command.
  • xucli list-token command hits http://routing.node/api/list-token/0xTokenAddress endpoint which returns the signer address of the routing node. The signer address is then monitored for new deposits for 0xTokenAddress. Once the routing node has enough funds the system will add the token to supported tokens configuration (and restart the node if necessary).
@ghost ghost added the question/tbd Further information or discussion needed label Oct 22, 2020
@ghost ghost self-assigned this Oct 22, 2020
@kilrau kilrau added P2 mid priority connext labels Oct 22, 2020
@kilrau kilrau self-assigned this Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connext P2 mid priority question/tbd Further information or discussion needed
Projects
None yet
Development

No branches or pull requests

1 participant