Commit Graph

12 Commits

Author SHA1 Message Date
Tom Pointon 2c8efdba2a
Add link to on-demand and update fee docs (#347)
* Add link to update fees section

* Add link to on-demand docs

* Tweak wording
2022-10-16 11:50:38 +01:00
guibescos 4b37fda80c
Guibescos/aptos example 2 (#327)
* Add example

* Subfolder for my example

* Ready to merge

* Cleanup

* Gitignore right

* Renaming

* Named address reset

* Bump pyth-common-js

* Cleanup

* More cleanup

* Cleanup

* dev addresses

* Link to addresses

* Rename app

* Add link

* Fix

* refactor

* Renamed

* Rename

* Add import statement for Price

* Update to pass vaa to get_update_fee

* Update README

* Rename directory

* Comments

* Add recency check

* Format

* Cleanup, remove bad practices

* Better comments

* Get rid of recency check

* Update README
2022-10-13 11:48:57 -05:00
Tom Pointon 412ef5e221
Fix example to reflect breaking api change (#344) 2022-10-13 14:55:20 +01:00
Tom Pointon b820c78ac1
Add comment clarifying deployed addresses (#343) 2022-10-12 14:47:35 +01:00
Tom Pointon 86df3ef997
Make imports used for tests test only (#342) 2022-10-12 14:47:26 +01:00
Tom Pointon 13f2d481d5
Charge update fees per VAA submitted (#340)
* Charge update fees per VAA submitted

* Rename UpdateFee struct to BaseUpdateFee

* Update comment
2022-10-11 18:17:02 +01:00
Tom Pointon 124589da09
Only register account to receive coins if already unregistered (#336) 2022-10-10 17:13:15 +01:00
Tom Pointon 9d4a6b88c4
Ensure initialization data source emitter address and chain ids are the same length (#337) 2022-10-10 15:40:30 +01:00
Tom Pointon 207616d47c
Add explanatory comments (#335)
* Add explanatory comments

* Add second best practices link
2022-10-07 14:48:23 +01:00
Tom Pointon e97b3bd7cf
Add update_price_feeds_if_fresh_with_funder (#329) 2022-10-06 11:28:33 +01:00
Tom Pointon 5ff244941c
Add example Aptos contract (#325)
* Add example Aptos contract

* Remove unneeded dependencies

* Remove comment
2022-10-05 13:46:19 +01:00
Tom Pointon 51080bcf5f
Pyth Aptos Target Chain Contract (#291)
Initial pyth aptos contract
2022-10-04 14:59:34 +01:00