* 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>
* 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>
* 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>
* 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>