Commit Graph

23 Commits

Author SHA1 Message Date
David Hyland-Wood ebef6a4e1e
Added legal disclaimers 2024-03-22 06:21:10 +08:00
Evan Gray 5c4d3d440f move examples from wormhole repo 2022-07-15 12:27:45 -04:00
Emanuele Cesena c664796d5d Add Wormhole721: ERC721 impl using Wormhole 2022-07-15 12:17:34 -04:00
Evan Gray b669228722 remove minimal_devnet 2022-07-15 11:59:24 -04:00
Evan Gray 22cb3f0868 update receiver readme 2022-06-03 12:46:58 -04:00
Evan Gray 23b488770c add wormhole receiver 2022-06-03 12:45:46 -04:00
skojenov b70b5b3f1c merged solana and part 2 from intro branch 2022-04-19 12:19:12 -04:00
bruce-riley f6f7e8fa65
Spy relay (#15)
* Initial spy relayer

* Adding "scan" functionality

* try to may spy_rest send to rest_relay

* Refactor into a single process

* Create docker image

* Update README.md

* Have a consistently formatted file

* Remove extraneous err

* remove extraneous error

* Changed keys to scanIterator

* Refactor async/await code

* Add ability to only run certain features

* Fix Broken listener

* Process pyth messages

* Fix async problem

* Initial attempt to submit transfers

* relay method needs an await

* Make redis client local

* Added some constants

* Relay to EVM, Solana and Terra

* Make terra chainID come from the env

* Make relay method figure out the target chain

* Adding worker code

* Start of integration tests

* Eth to Solana integration test

* ETH->Sol test querying of spy relay is wrong

* Upgrade to sdk version 1.4

* Add Eth to Terra test

* Tested multi thread scenario

* Beef up tests to check if redeemed

* Use sleep in helpers

* Make relay verify the redeem happened

* Storing of pyth in redis needs to await

* Handle duplicates

* Remove obsolete pyth stuff

* Update README.md file

* Make listen_only not use redis

Co-authored-by: Paul Noel <panoel007@gmail.com>
Co-authored-by: Bruce Riley <95238258+brucer1963@users.noreply.github.com>
Co-authored-by: Paul Noel <35237584+panoel@users.noreply.github.com>
2022-02-09 08:47:45 -06:00
bruce-riley dc55817d6f
Pyth relay (#14)
* initial commit

* Rework to make it pyth instead of spy

* Add command to listen to mainnet to readme

* More code rework

* Dump productId from messages

* Fixes for message parsing

* Drop duplicate messages

* Start of creating docker file for pyth_relay

* Trying to get docker  to listen to spy_guardian

* Proving that docker image works

* Publish to Terra

* Keep connection to Terra open all the time

* Add timing to terra relayer code

* Not passing fees into transaction

* Use Winston logger

* Update commads to build and run spy guardian

* Specify config file via env variable

* Console logging not honoring log level

* Remove dependence on redis

* Add support for listen only mode

* number of publishes is off by one

* Only one worker should use the wallet at a time

* Add prometheus metrics

* Add ability to query wallet balance

* Add latency histogram

* Use a condition variable rather than sleeping to reduce delays

* Periodically query the wallet balance

* Add wallet balance metrics

* Add incoming packet counter

* Enable strict type checking

* Add design document

* Adding more stuff

* Remove use of deprecated methods.

* Back out bug from "fixing" deprecated code.

* Remove deprecated methods

* fix: Improvements to Dockerfile Wormhole pyth_relay and spy_guardian (#10)

Co-authored-by: Eran Davidovich <edavidovich@jumptrading.com>

* Revert dockerfile

* fix: fix Dockerfile entrypoint (#11)

also modify docs to reflect the change.

Co-authored-by: Eran Davidovich <edavidovich@jumptrading.com>

* Batch messages into a single tx per block

* Update the testnet parms in env.sample

* Reduce lock contention in the worker

* Adding already executed metric

* Adding timeout metric

* Peg already executed and timeout metrics

* Handle "already executed" exception

* Add wallet update time for metrics

* Catch silent failure on relay

* Log file not getting written if error on init

* Add timestamp label to wallet metric

* Add support for readiness probe

* Make spy_relay support listen_only mode

* Add default metrics

* Manage seq num locally

* Manage seq num locally

* Oops! Didn't mean to commit "noEmit"!

* Update docs

* Delete app.js

This file is not relevant to pyth_relay

Co-authored-by: Paul Noel <panoel007@gmail.com>
Co-authored-by: Eran Davidovich <erancx@users.noreply.github.com>
Co-authored-by: Eran Davidovich <edavidovich@jumptrading.com>
Co-authored-by: Paul Noel <35237584+panoel@users.noreply.github.com>
2022-02-09 08:01:45 -06:00
Evan Gray a588ccf8f1 clean up solana intro pt1 2022-01-04 22:32:09 -05:00
Evan Gray 01d4ac4098 add solana to intro part1 2022-01-04 19:41:44 -05:00
skojenov 304c019d1a started adding part3 initial attempt at terra contract 2022-01-04 19:41:44 -05:00
skojenov d31d2430a1 Changed comments in Eth contract code 2022-01-04 19:41:44 -05:00
skojenov 935be726f5 part1 shows chain name in the messages list 2022-01-04 19:41:44 -05:00
skojenov 653d924181 Making sure metamask does switch network, added notistack snackbar etc 2022-01-04 19:41:44 -05:00
skojenov b3efb0eb7e added descriptions to documentation, better exception text to UI 2022-01-04 19:41:44 -05:00
skojenov c17d1169e5 process messages checks originator address and result is in the UI 2022-01-04 19:41:44 -05:00
Evan Gray e72f486bd6
minimal_devnet: pin guardian release (#5) 2021-12-22 10:58:26 -06:00
Evan Gray 82da72b058
Intro (#4)
* initial commit

* minor fixes

* intro/part1: cleanup

* get addresses from deploy

* use named export for address

* message stack and mui

* Added part2, where we retrieve vaa via on chain

Co-authored-by: skojenov <skojenov@jumptrading.com>
2021-12-19 19:23:03 -05:00
Bruce Riley 0d6285b178
Spy relay (#2)
* Initial spy relayer

* Adding "scan" functionality

* try to may spy_rest send to rest_relay

* Refactor into a single process

* Create docker image

* Update README.md

* Have a consistently formatted file

* Remove extraneous err

* remove extraneous error

* Changed keys to scanIterator

* Refactor async/await code

* Add ability to only run certain features

* Fix Broken listener

* Process pyth messages

* Fix async problem

* Initial attempt to submit transfers

* relay method needs an await

* Make redis client local

* Added some constants

* Relay to EVM, Solana and Terra

* Make terra chainID come from the env

* Make relay method figure out the target chain

* Adding worker code

* Start of integration tests

* Eth to Solana integration test

* ETH->Sol test querying of spy relay is wrong

* Upgrade to sdk version 1.4

* Add Eth to Terra test

* Tested multi thread scenario

* Beef up tests to check if redeemed

* Use sleep in helpers

* Make relay verify the redeem happened

* Storing of pyth in redis needs to await

* Handle duplicates

* Remove obsolete pyth stuff

Co-authored-by: Bruce Riley <briley@jumptrading.com>
Co-authored-by: Paul Noel <panoel007@gmail.com>
2021-12-19 19:17:42 -05:00
Evan Gray 753df21315 initial minimal_devnet 2021-12-15 13:22:37 -05:00
brucer1963 5312d47a4d
Initial spy relayer (#1)
Co-authored-by: Bruce Riley <briley@jumptrading.com>
2021-12-08 13:40:53 -06:00
Evan Gray 3c5603dd74
Initial commit 2021-12-08 14:08:08 -05:00