Skip to content

Copper Riverlight is a Base-aligned read-only onchain console that connects a Coinbase Wallet, validates Base chainIds (8453/84532), and inspects balances/blocks via official Base RPC endpoints with Basescan references.

License

Notifications You must be signed in to change notification settings

petiole-planks/copper-riverlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copper Riverlight (Built for Base)

Deployed on Base Mainnet.

Copper Riverlight is a compact browser-based reference project that validates Base connectivity (chainId 8453 / 84532), connects a Coinbase Wallet, and performs read-only inspections of balances and blocks with Basescan links.


Base ecosystem alignment

Supported networks:

Base Mainnet
chainId (decimal): 8453
Explorer: https://basescan.org

Base Sepolia
chainId (decimal): 84532
Explorer: https://sepolia.basescan.org

The application explicitly targets Base networks and uses official Base RPC endpoints.


Repository structure

  • app/copper-riverlight.ts
    Browser-based script for wallet connection and Base RPC inspection.

  • contracts/
    Solidity contracts deployed to Base Sepolia for testnet validation:

    • contract.sol — minimal contract used to validate deployment and verification flow
    • arrays.sol — simple stateful contract for interaction testing
    • mapping.sol — lightweight registry contract used for read-only queries
  • package.json
    Dependency manifest referencing Coinbase SDKs and multiple Base repositories.

  • README.md
    Technical documentation and deployment records.


Installation and execution

Install dependencies using Node.js.
Serve the project with a modern dev server and open it in a browser.

Expected result:

  • Wallet address and ETH balance displayed
  • Active Base chainId visible
  • Latest block data readable
  • Basescan links provided

Libraries used

  • @coinbase/wallet-sdk
    Wallet connection and account access.

  • @coinbase/onchainkit
    Base-aligned primitives and account abstraction tooling references.

  • viem
    Read-only RPC client for Base Mainnet and Base Sepolia.

  • Base GitHub repositories and Coinbase GitHub repositories
    Included as dependencies to reflect ecosystem linkage and tooling alignment.


What the script does

  1. Connects a Coinbase Wallet
  2. Validates Base chainId (8453 / 84532)
  3. Reads ETH balances for arbitrary addresses
  4. Fetches latest block metadata
  5. Outputs Basescan links for verification

All interactions are strictly read-only. No transactions are broadcast.


License

MIT License

Copyright (c) 2025 petiole-planks


Author

GitHub: https://github.com/petiole-planks
Email: petiole.planks-0x@icloud.com
Public contact: discord/melar3401


Testnet Deployment (Base Sepolia)

As part of pre-production validation, one or more contracts may be deployed to the Base Sepolia test network to confirm correct behavior and tooling compatibility.

Network: Base Sepolia
chainId (decimal): 84532
Explorer: https://sepolia.basescan.org

Contract #1 address:
0xaA7468DB00dBe29a9C2A3a4Db56D6B0c9cb2868e

Deployment and verification:

Contract #2 address:
0x301E949D85E8FdEE2638Bc4bE530ab34D5f3123f

Deployment and verification:

Contract #3 address:
0xcB312a05465c1D2e48e33D80561185531FEdDDB4

Deployment and verification:

About

Copper Riverlight is a Base-aligned read-only onchain console that connects a Coinbase Wallet, validates Base chainIds (8453/84532), and inspects balances/blocks via official Base RPC endpoints with Basescan references.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published