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

Enhance cross chain swap functionality #13

Closed
kaiyzen opened this Issue Jan 11, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@kaiyzen
Copy link
Collaborator

kaiyzen commented Jan 11, 2019

Currently catapult supports Op_Keccak_256 and Op_Sha3_512, its desired to add some more algorithms to increase the number of compatible ledgers that can be interacted with.

Other ones tbd such as also looking into allowing for interactivity with layer 2 solutions such as lightning

@kaiyzen kaiyzen added this to the dragon milestone Jan 11, 2019

@kaiyzen kaiyzen added the enhancement label Jan 11, 2019

@gimer gimer modified the milestones: dragon, Cow Jan 31, 2019

@Jaguar0625

This comment has been minimized.

Copy link
Member

Jaguar0625 commented Feb 5, 2019

catapult should support all of following lock hash algorithms for secret locks:

  1. Op_Sha3_512: Input is hashed using Sha-3-512. (Catapult native)
  2. Op_Keccak_256: input is hashed using Keccak-256. (ETH compat)
  3. Op_Hash_160: input is hashed twice: first with SHA-256 and then with RIPEMD-160. (BTC compat)
  4. Op_Hash_256: input is hashed twice with SHA-256. (BTC compat)
@Jaguar0625

This comment has been minimized.

Copy link
Member

Jaguar0625 commented Feb 6, 2019

decided to change catapult native to sha3 256 instead of sha3 512

@Jaguar0625

This comment has been minimized.

Copy link
Member

Jaguar0625 commented Feb 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment