harmony-one / horizon

Horizon - a trustless harmony to ethereum bridge
MIT License
36 stars 29 forks source link

can transfer erc20 token to hrc20 token in a truly decentralised trustless fashion #1

Closed harshabakku closed 3 years ago

harshabakku commented 3 years ago

horizon trustless bridge from eth to harmony (end to end tested uni directional as of now)

can transfer erc20 token to hrc20 token in a truly decentralised trustless fashion as of now.

repos used (code reused/enhanced):

  1. https://github.com/near/rainbow-bridge //cli and eth2-hmy relayer code
  2. https://github.com/JackyWYX/harmony_rainbow //everifier, eprover, hverifier, hprover, bridge contracts
  3. https://github.com/rlan35/ethClient // ethclient contract

development was done sticking to the documentation, clear cut comments added, commit messages explaining clear progress every step of the way,

README.md documentation to run, test, deploy added , sample logs included in horizon/logs folder

for more info on the work please also watch hackathon submission video https://www.youtube.com/watch?v=TceBfqmSAbQ&ab_channel=HarshaBakku

gupadhyaya commented 3 years ago

@harshabakku thanks for your PR. we will review soon and get back to you.

peekpi commented 3 years ago

@harshabakku hey, thanks for your PR. The trustless bridge is still under development, the latest code can be seen here:

harshabakku commented 3 years ago

good work @peekpi , I understand that elc contracts are semi-finished, and I wanted to submit something that works end-end on testnet so anyone can run my code and further development can continue. but looks like a lot has been developed in last 2 months

to give u an update my code does not really have block provers( validating merkfle proofs of dag entries), it only validates merkle proofs of transaction logs.

also note that I'm happy to help if you want to use my cli, relayers or any submodule of my code.

peekpi commented 3 years ago

@harshabakku there is definitely some code that can be used. But the project is still under development and many interfaces will change, so it is difficult to merge them directly.

harshabakku commented 3 years ago

thanks @peekpi, not a problem at all, (if cant be merged directly)