-
Notifications
You must be signed in to change notification settings - Fork 16
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
use pyth oracle for price calc #57
Conversation
…into at/pyth-oracle
…to at/pyth-oracle
@0xaslan can we actually convert all of this into move 2024 syntax? |
@@ -14,7 +14,8 @@ | |||
"disable-discounts": "ts-node transactions/quest3/disable_discounts.ts", | |||
"create-deepbook-pools": "ts-node transactions/deepbook/create_pools.ts", | |||
"authorize-renewals": "ts-node transactions/renewals/authorize_renewals.ts", | |||
"renew-reserved-names": "ts-node transactions/reserved_names/extend_reserved_names.ts" | |||
"renew-reserved-names": "ts-node transactions/reserved_names/extend_reserved_names.ts", | |||
"register-with-oracle": "ts-node register_with_oracle/register_with_oracle.ts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need this one, this is only for multi-sig operations!
@@ -25,6 +26,7 @@ | |||
"@mysten/sui.js": "0.51.0", | |||
"@noble/hashes": "^1.4.0", | |||
"@pythnetwork/pyth-sui-js": "2.0.0", | |||
"bn.js": "^5.2.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this dependency do?
@0xaslan closing it but forever in our heart |
Buying a $20 name on testnet: https://explorer.polymedia.app/txblock/BHr9u9TaBztDP37JUJgb1r9AEReYyJzLPKo9HF65ghbH?module=price_info&network=testnet
test coverage