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(htlc-coordinator): New HTLC Coordinator #953

Closed
jordigiam opened this issue May 10, 2021 · 0 comments · Fixed by #976
Closed

feat(htlc-coordinator): New HTLC Coordinator #953

jordigiam opened this issue May 10, 2021 · 0 comments · Fixed by #976
Assignees
Labels
Besu enhancement New feature or request

Comments

@jordigiam
Copy link

Is your feature request related to a problem? Please describe.
As a user I want to exchange funds between different blockchain networks using HTLCs contracts.

Describe the solution you'd like
Generate a new plugin called HTLC Coordinator that can be used as a plugin to make an exchange. The plugin will use the HTLC plugins and will have an interface to interact with them.
The following functions are required:

  • newCoordinator() Function that given the information about the htlc plugin to be used, creates an instance of the plugin, deploy the contract and returns an instance of the coordinator and keep listening the events.
  • newCounterparty() Function that given the information about the htlc plugin to connect to the counterparty network and contract creates an instance of the plugin, and check that contract exists.
  • withdrawCounterparty() Function that withdraw the funds of the counterparty contract.
@jordigiam jordigiam self-assigned this May 10, 2021
@petermetz petermetz added Besu enhancement New feature or request labels Jun 15, 2021
jagpreetsinghsasan added a commit to jagpreetsinghsasan/cactus that referenced this issue Aug 11, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
		2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

		Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
		4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Aug 11, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
		2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

		Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
		4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Aug 11, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
		2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

		Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
		4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Aug 12, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
		2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

		Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
		4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Aug 13, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
		2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

		Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
		4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Aug 13, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
		2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

		Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
		4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Sep 16, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Sep 17, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Sep 17, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Sep 17, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Sep 17, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Sep 29, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Sep 29, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Oct 5, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Oct 5, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
petermetz pushed a commit to kikoncuo/cactus that referenced this issue Oct 6, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Oct 11, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Oct 14, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
jagpreetsinghsasan added a commit to kikoncuo/cactus that referenced this issue Oct 19, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
petermetz pushed a commit that referenced this issue Oct 21, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves #953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
Leeyoungone pushed a commit to Leeyoungone/cactus that referenced this issue Oct 26, 2021
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
RafaelAPB pushed a commit to RafaelAPB/blockchain-integration-framework that referenced this issue Mar 9, 2022
        Primary Change
        ---
        1. Added new package extensions/cactus-plugin-htlc-coordinator
        2. Added keychainId to cactus-plugin-htlc-eth-besu-erc20 plugin

        Refactorings that were also necessary to incorporate 1) and 2)
        ---
        3. Updated learna.json
        4. Updated tsconfig.json

Resolves hyperledger-cacti#953

Signed-off-by: jagpreetsinghsaan <jagpreet.singh.sasan@accenture.com>
@outSH outSH mentioned this issue Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Besu enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants