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

ROFL: How do you obtain a list of ROFL apps you registered? #817

Open
matevz opened this issue Dec 3, 2024 · 1 comment
Open

ROFL: How do you obtain a list of ROFL apps you registered? #817

matevz opened this issue Dec 3, 2024 · 1 comment
Assignees
Labels

Comments

@matevz
Copy link
Member

matevz commented Dec 3, 2024

My current approach is:

  1. use explorer and check your account e.g. https://explorer.oasis.io/testnet/sapphire/address/0x90adE3B7065fa715c7a150313877dF1d33e777D5
  2. then find your rofl create tx, found it on page 4 https://explorer.oasis.io/testnet/sapphire/address/0x90adE3B7065fa715c7a150313877dF1d33e777D5?page=4
  3. then open the tx to get the hash https://explorer.dev.oasis.io/testnet/sapphire/tx/d6183a900ec6e145f6696bf0a59d53476c2c34f12a4b78af1c3ef727947cb9ac
  4. use the block number + tx id with Oasis CLI: oasis pt show 8405731 d6183a900ec6e145f6696bf0a59d53476c2c34f12a4b78af1c3ef727947cb9ac
  5. probably the app ID is inside the Event 2 output?
--- Event 2 ---
  Module: rofl
  Code:   1
  Data:
    [
      {
        "id": "00d795c033fb4b94873d81b6327f5371768ffc6fcf"
      }
    ]
  1. Convert this ID into rofl1 scheme (client-sdk/go: Add pretty printing for rofl.Create event oasis-sdk#2088)

Or, we could use Explorer? Either by filtering out ROFL.Create transactions or have all registered ROFLs (and ParaTimes?) listed somewhere above? cc @ptrus

@matevz matevz self-assigned this Dec 3, 2024
@matevz matevz added the rofl label Dec 3, 2024
@matevz matevz assigned ptrus and unassigned matevz Dec 3, 2024
@ptrus
Copy link
Member

ptrus commented Dec 3, 2024

As a first step, when #812 is deployed, explorer frontend will be able to display the body ROFL transactions and events, which contain most/all of the relevant info.
This will significantly improve the usability with little work. You will get all the relevant info when looking at the transaction.

Long(er)-term we should do #807 where we would track ROFL state on the nexus (and display it in explorer). Then we will be able to display list ROFL apps, it's details, policies, instances and things like that. But that will require a bit more work both on the frontend and backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants