πŸ“‘ JackRamp Subgraph

πŸš€ Jackramp Subgraph

A subgraph implementation for tracking Jackramp contract events and entities on the Holesky network. This subgraph indexes mint events, transfers, withdrawals, and off-ramp transactions.

πŸ“§ Docs

Project Documentation : https://kbaji.gitbook.io/jackramparrow-up-right

πŸ“‹ Overview

This subgraph tracks the following events from the Jackramp contract:

  • Off-ramp requests and fills

  • Minting operations

  • Token transfers

  • Withdrawals

Contract Address: 0xaabe76d29cbc05a95557a0db880d83d9bbeeed03 (Holesky Network)

πŸ— Schema

OffRamp

Tracks off-ramping operations with their current status:

Other Entities

  • Mint: Records minting operations

  • Transfer: Tracks token transfers

  • Withdraw: Logs withdrawal events

πŸ›  Setup

  1. Install dependencies:

  1. Generate types:

  1. Build the subgraph:

πŸ“ Configuration

The subgraph is configured to start indexing from block 2609411 on the Holesky network. Key configurations:

  • Spec Version: 1.0.0

  • API Version: 0.0.7

  • Network: Holesky

  • Language: AssemblyScript

πŸ” Event Handlers

The subgraph implements handlers for:

  • handleFillOfframp: Processes off-ramp completion events

  • handleMint: Records new minting operations

  • handleRequestOfframp: Tracks new off-ramp requests

  • handleTransfer: Monitors token transfers

  • handleWithdraw: Records withdrawal events

πŸ“Š Querying Examples

Query off-ramp requests:

Get recent mints:

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ“œ License

This project is licensed under the MIT licensearrow-up-right.


GitHub link: https://github.com/jackramp/jackramp-subgrapharrow-up-right

Last updated