Skip to content
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

[Core] Development of an oracle service #16

Open
thomas-nguy opened this issue Jul 10, 2023 · 2 comments
Open

[Core] Development of an oracle service #16

thomas-nguy opened this issue Jul 10, 2023 · 2 comments
Assignees

Comments

@thomas-nguy
Copy link
Member

  • Need to define how the gas token price can be fetched (where the token will be listed)
  • Create a system that will fetch the price of the gas token and ETH at continuous interval
  • Compare the price of the gas token with eth and update the adjustement coefficient in the DB
@thomas-nguy thomas-nguy changed the title [Testnet] Development of an oracle service [Ecosystem] Development of an oracle service Jul 10, 2023
@thomas-nguy
Copy link
Member Author

we may just modify the gas_adjuster project instead

https://github.com/cronos-labs/zksync-era/tree/internal/core/bin/zksync_core/src/l1_gas_price/gas_adjuster

however it depends how the token price will be fetched (if its DEX or CEX, we may need to develop a separate service)

@thomas-nguy thomas-nguy changed the title [Ecosystem] Development of an oracle service [Ecosystem/Core] Development of an oracle service Jul 10, 2023
@thomas-nguy thomas-nguy changed the title [Ecosystem/Core] Development of an oracle service [Core] Development of an oracle service Jul 10, 2023
@thomas-nguy
Copy link
Member Author

Most likely, the gas token contract will be listed on uniswap (main source of liquidity)

thomas-nguy pushed a commit that referenced this issue Nov 1, 2023
occurence -> occurrence

Co-authored-by: Roman Brodetski <Roman.Brodetski@gmail.com>
Co-authored-by: Danil <deniallugo@gmail.com>
Co-authored-by: Igor Borodin <hatemosphere@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants