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

feat(rpc/connext): deposit & openchannel calls #1577

Merged
1 commit merged into from
Jun 5, 2020
Merged

Commits on Jun 3, 2020

  1. feat(rpc/connext): deposit & openchannel calls

    This refactors the `Deposit` and `OpenChannel` methods in `SwapClient`
    to make them generic and applicable to Connext. It implements this
    functionality for Connext, namely retrieiving an address for sending
    funds on-chain to the Connext wallet and depositing those funds into
    Connext channels.
    
    It also refactors the `CloseChannel` call similarly, however the
    Connext REST client does not currently implement a `/withdraw` endpoint
    for taking funds out of Connext channels. This adds dummy code to
    construct a withdraw payload and make a request.
    
    Withdrawing coins from the on-chain Connext wallet is not currently
    supported by the Connext client and so the `Withdraw` rpc call remains
    specific to lnd.
    
    Closes #1472. Closes #1473.
    sangaman committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    cdc8259 View commit details
    Browse the repository at this point in the history