Overview
The Gotchipus protocol is open and permissionless. Any application can read Gotchipus data, query attributes, and — with proper authorization — execute actions on behalf of Gotchipus owners.Reading On-Chain Data
All Gotchipus data is accessible through the Diamond proxy contract. Use any Ethereum-compatible library (viem, ethers.js, web3.js) to query:Basic Queries
Rich Data
Building on Hooks
The most powerful integration point is the Hook system. By deploying a Hook contract, your application can:- React to Gotchipus TBA executions
- Add validation logic before transactions
- Distribute rewards after successful actions
- Create composable behavior modules
Wearable Integration
The Wearable Diamond (ERC-1155) is a separate contract. Query wearable balances and metadata independently:Contract Addresses
See Deployed Contracts for current testnet addresses.Network Configuration
| Parameter | Value |
|---|---|
| Network | Pharos Atlantic Testnet |
| Chain ID | 688689 |
| Block Explorer | atlantic.pharosscan.xyz |
Best Practices
- Use the Diamond address for all Gotchipus queries — it routes to the correct facet automatically
- Cache TBA addresses — they are deterministic and don’t change
- Check token status — distinguish between Pharos (status 0) and summoned Gotchipus (status 1)
- Respect session boundaries — if executing on behalf of users, use the Session system for proper authorization
- Gas optimization — batch reads using
ownedTokenInfo()instead of querying tokens individually