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

Epic: Send Ojo Price Data via Axlear GMP Transactions #3

Open
5 of 7 tasks
adamewozniak opened this issue Oct 30, 2023 · 2 comments
Open
5 of 7 tasks

Epic: Send Ojo Price Data via Axlear GMP Transactions #3

adamewozniak opened this issue Oct 30, 2023 · 2 comments
Assignees

Comments

@adamewozniak
Copy link
Member

adamewozniak commented Oct 30, 2023

This should likely have its own module for governance transactions.

We need to create a override the IBC transaction type on Ojo which allows ojo to pass information from the KV store directly to axelar's GMP.
Here are the docs for Cosmos -> EVM GMP.

This transaction should:

  • Take price info from Ojo's KV store and submit it as metadata to the GMP caller.
  • Be trustless - anyone can execute this transaction safely.

Here is the current branch: ojo-network/ojo#304

Here are the rest of the TODOs after this branch is merged in:

@adamewozniak adamewozniak changed the title Epic: Send block proofs via axelar's GMP Epic: Send Ojo Price Data via Axlear GMP Transactions Oct 30, 2023
@adamewozniak
Copy link
Member Author

adamewozniak commented Oct 30, 2023

There's one issue with this method - anyone can do these IBC transfers without a wrapper, and axelar can't verify the data passed along belongs to Ojo.

We need to override the IBC transfer functionality to query for oracle data when using axelar's GMP.

Here is the IBC function to override

Cc @rbajollari

@adamewozniak
Copy link
Member Author

adamewozniak commented Nov 5, 2023

Great docs: https://github.com/axelarnetwork/evm-cosmos-gmp-sample/tree/main/native-integration

Using this, we might actually be able to do an implementation where the customer only performs relaying txs against the EVM chain. The message would go from EVM -> Ojo -> EVM

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

1 participant