Ondetails is an One place platform to get all the details of the scroll domaains like balance, address, internal & normal txn using the Frames with the help of subgrph
Frontend : https://ondetails.vercel.app/
exsisting subgraph url: https://thegraph.com/explorer/subgraphs/AYMzWnwmKdU7qXswBtCBKCUUTTCGLBCuurTkbDMsahUc?view=Query&chain=arbitrum-one#query-subgraph
const query = `
{
domains(where: {name: "${inputText}"}) {
resolvedAddress {
id
}
}
}
`;
The above query can be found here for the Frames : https://github.com/Omega12Pirme/Ondetails/blob/main/api/index.tsx#L109
- Login page : Anyone can put their scroll domain name and get the details
- Domain Name & Address: AFter Login the user will get the domain name and address associated with this with the help of subgraph
- Balance in the frame: Any user can get the balance of the domain name
- Normal txn hash : Any user can get the txn hash of the normal txn
- Login page : User have to enter the domain name to enter the website
- Home page : This is the home page shown after the Login
- Normal transacttion: User can get the normal txn for this domain
- User Profile: IN this section user can get the info like balance, domain name, and Logout option
const query = `
{
domains(where: {name: "${inputValue}"}) {
resolvedAddress {
id
}
}
}
`;
You can find the above Query code here: https://github.com/Omega12Pirme/Ondetails/blob/main/nextjs/src/pages/Login.jsx#L31