Skip to main content

RibbleChain Explorer

The RibbleChain Explorer is a web-based tool for tracking transactions, smart contracts, and rollup activity on RibbleChain's Layer 1 (L1) and Layer 3 (L3) rollups. It provides real-time insights into network activity, making it essential for developers and users.

Accessing the Explorer

Visit the RibbleChain Explorer at testnet.ribblescan.io. Switch between testnet and mainnet using the network selector.

Key Features

1. Transaction Tracking

Search for a transaction by hash:

  • Example: 0x1234...abcd
  • Displays gas used, block number, and status (pending, confirmed).

2. Rollup Monitoring

View L3 rollup activity:

  • Select a rollup (e.g., my-rollup) from the "Rollups" tab.
  • Monitor batch submissions, proof statuses, and sequencer health.

3. Smart Contract Verification

Verify and interact with smart contracts:

  • Upload the contract source code and ABI.
  • Use the "Read Contract" and "Write Contract" interfaces to call functions.

4. Cross-Chain Insights

Track cross-chain messages and asset transfers:

  • Search by message ID (e.g., msg_1234).
  • View source and destination chain details.

Using the Explorer Programmatically

Query the Explorer API:

curl https://testnet.ribblescan.io/api/tx/0x1234...abcd

Response:
{
"txHash": "0x1234...abcd",
"status": "confirmed",
"blockNumber": 1001,
"gasUsed": 21000,
"rollupId": "my-rollup"
}

Integrate with a dApp:
const axios = require('axios');

async function getTxStatus(txHash) {
const response = await axios.get(`https://testnet.ribblescan.io/api/tx/${txHash}`);
console.log('Transaction status:', response.data.status);
}

getTxStatus('0x1234...abcd');

Best Practices

Bookmarking: Save frequently accessed rollups or contracts for quick access.
Filtering: Use filters (e.g., "Rollup ID", "Block Range") to narrow results.
Verification: Always verify contracts to ensure transparency.
Debugging: Cross-reference Explorer data with Debugging Tools.

Next Steps

Use the RibbleChain CLI for transaction submission.
Learn about Debugging Tools.
Explore Cross-Chain Messaging for bridge activity.