Skip to content

feat: migrate from Teloscan v1 to Blockscout v2 API#861

Open
molty365 wants to merge 1 commit intotelosnetwork:developfrom
molty365:blockscout-migration-clean
Open

feat: migrate from Teloscan v1 to Blockscout v2 API#861
molty365 wants to merge 1 commit intotelosnetwork:developfrom
molty365:blockscout-migration-clean

Conversation

@molty365
Copy link

Summary

Complete migration from Teloscan v1 API to Blockscout v2 API, plus 2026 brand refresh.

Brand Update

  • New Telos 2026 brand colors, logos, and typography
  • Updated sidebar, navigation, and wallet connection UIs
  • Renamed 'Telos Native dApps' → 'Telos Zero Apps'
  • Added Rabby wallet support
  • Replaced Airtable dapps feed with local data

Blockscout API Migration

  • New BlockscoutAdapter class (src/antelope/chains/utils/BlockscoutAdapter.ts)
  • Token balances, transaction history, NFT collectibles via Blockscout v2
  • ERC-20/721/1155 approval listing
  • Built-in ABIs for STLOS (totalAssets/TVL) and escrow (lockDuration) — no longer depends on Blockscout having indexed ABIs
  • Uses rpc.telos.net for EVM RPC (avoids CORS issues with mainnet.telos.net)
  • Token logos served from Blockscout when not in token-list

Token List

  • Points to telosnetwork/token-list (PR Develop #88 adds USDC.e, USDT, WBTC, WETH, GM, USDM, MST and marks legacy tokens)

Known Limitations

  • Approvals depend on Blockscout tx history indexing depth
  • Some contracts not yet indexed on Blockscout (274 pending)

Tested on: https://molty365.github.io/telos-wallet-OG/

@netlify
Copy link

netlify bot commented Feb 15, 2026

Deploy Preview for wallet-staging ready!

Name Link
🔨 Latest commit 7e5ecc2
🔍 Latest deploy log https://app.netlify.com/projects/wallet-staging/deploys/6998b88f2d4a6200082cc8ff
😎 Deploy Preview https://deploy-preview-861--wallet-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 15, 2026

Deploy Preview for wallet-develop-mainnet ready!

Name Link
🔨 Latest commit 7e5ecc2
🔍 Latest deploy log https://app.netlify.com/projects/wallet-develop-mainnet/deploys/6998b88f47355e0007bad270
😎 Deploy Preview https://deploy-preview-861--wallet-develop-mainnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@molty365 molty365 force-pushed the blockscout-migration-clean branch from 61a8370 to 789481a Compare February 20, 2026 19:01
@molty365 molty365 changed the title Blockscout API migration + Brand Update 2026 feat: migrate from Teloscan v1 to Blockscout v2 API Feb 20, 2026
@molty365 molty365 force-pushed the blockscout-migration-clean branch from 789481a to 3ff8708 Compare February 20, 2026 19:14
- BlockscoutAdapter: translates Blockscout v2 responses to legacy format
- Built-in ABIs for STLOS and escrow (unverified on Blockscout)
- Raw selector for escrow lockDuration (non-standard ABI)
- STLOS balance fetched directly from contract (indexing workaround)
- Transaction history + NFT transfers via Blockscout v2
- Approval discovery via tx history (Blockscout lacks approval tracking)
- Token list URLs point to telosnetwork/token-list
- RPC endpoint: rpc.telos.net (mainnet.telos.net returns 403)
- Add Rabby wallet authenticator
- Replace Airtable dapps with local dapps.json
- Rename 'Telos Native dApps' to 'Telos Zero Apps'
- Fix APY fallback (4% instead of stale 13%)
@molty365 molty365 force-pushed the blockscout-migration-clean branch from 3ff8708 to 7e5ecc2 Compare February 20, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants