Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
ed61b26
feat: add comprehensive chain integration skill
gomesalexandre Dec 2, 2025
8b2bedd
feat: enhance chain integration skill with swapper and coingecko
gomesalexandre Dec 2, 2025
4813634
fix: clarify EVM chains need zero hdwallet changes
gomesalexandre Dec 2, 2025
6167195
feat: implement hyperevm
gomesalexandre Dec 2, 2025
5a54255
feat: add hyperevm asset generator
gomesalexandre Dec 2, 2025
6e5d82a
feat: add hyperevm to evmChainIds and generate assets
gomesalexandre Dec 2, 2025
600ed7a
fix: add missing hyperevm wallet and portfolio support
gomesalexandre Dec 2, 2025
a63ffc7
chore: bump hdwallet deps to 1.62.20-hyperevm.0 for local testing
gomesalexandre Dec 2, 2025
2aed972
fix: remove unused import and add debug logging
gomesalexandre Dec 2, 2025
b05ae65
fix: add supportsHyperEvm import
gomesalexandre Dec 2, 2025
6bd17f3
fix: add hyperev m account derivation wallet gate
gomesalexandre Dec 2, 2025
4e74d61
debug: add evm account derivation logging
gomesalexandre Dec 2, 2025
7c9f761
fix: add supportsHyperEvm check to EvmBaseAdapter
gomesalexandre Dec 2, 2025
396e901
fix: add HyperEVM to ledgerAppGate
gomesalexandre Dec 2, 2025
a20f060
fix: add HyperEVM to PluginProvider and Portals constants
gomesalexandre Dec 2, 2025
010d4fd
fix: use hyperevm not hyperliquid for portals network name
gomesalexandre Dec 2, 2025
9ba358e
fix: update HyperEVM icon to correct CoinGecko image
gomesalexandre Dec 2, 2025
de0e3ab
fix: add timestamp to HyperEVM icon URL
gomesalexandre Dec 2, 2025
4784dda
[skip ci] feat: remove debug logging and cleanup
gomesalexandre Dec 2, 2025
15322c6
[skip ci] feat: use viem builtin hyperEvm chain
gomesalexandre Dec 2, 2025
c6af42f
[skip ci] feat: regenerate assets with updated hyperevm icon
gomesalexandre Dec 2, 2025
1c12a46
chore: merge develop and keep enhanced chain skill
gomesalexandre Dec 2, 2025
1381eb1
fix: remove all companion file references from swapper skill
gomesalexandre Dec 2, 2025
557486b
Merge branch 'develop' into feat_chain_hyperliquid
gomesalexandre Dec 2, 2025
c26b7c2
Merge branch 'develop' into feat_chain_hyperliquid
gomesalexandre Dec 2, 2025
cade340
[skip ci] chore: bump hdwallet to 1.62.22
gomesalexandre Dec 2, 2025
b974704
Merge branch 'develop' into feat_chain_hyperliquid
gomesalexandre Dec 4, 2025
e6c4766
feat: add HyperEVM support to Portals swapper
gomesalexandre Dec 4, 2025
82631dc
chore: merge origin/develop into feat_chain_hyperliquid
gomesalexandre Dec 10, 2025
1ccdc43
fix: add missing Plasma and Zcash support after merge
gomesalexandre Dec 10, 2025
52ec48f
fix: add Plasma support to coingecko, contracts, and viem client
gomesalexandre Dec 10, 2025
508c203
fix: add PQueue rate limiter to HyperEVM chain adapter
gomesalexandre Dec 10, 2025
cf312b9
fix: restore Plasma and Zcash support, add HyperEVM cleanly
gomesalexandre Dec 10, 2025
4753bd3
fix: add HyperEVM to opportunities mappings and test expectations
gomesalexandre Dec 10, 2025
731fb87
feat: regen
gomesalexandre Dec 10, 2025
80247fe
Merge branch 'develop' into feat_chain_hyperliquid
gomesalexandre Dec 11, 2025
9d3550f
chore: merge develop into feat_chain_hyperliquid
gomesalexandre Dec 11, 2025
066a085
fix: add missing HyperEVM wallet support check
gomesalexandre Dec 11, 2025
263dddd
chore: merge origin/develop and keep generated files from develop
gomesalexandre Dec 11, 2025
75ac265
fix: add feature flag checks for HyperEVM, Monad, and Plasma wallet s…
gomesalexandre Dec 11, 2025
59f10aa
docs: fix HyperEVM CoinGecko platform ID example in SKILL.md
gomesalexandre Dec 11, 2025
3b16789
feat: regen
gomesalexandre Dec 11, 2025
81c42aa
Merge remote-tracking branch 'origin/develop' into feat_chain_hyperli…
gomesalexandre Dec 11, 2025
183e41e
docs: fix markdownlint issues in chain-integration SKILL.md
gomesalexandre Dec 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
646 changes: 424 additions & 222 deletions .claude/skills/chain-integration/SKILL.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,5 @@ VITE_FEATURE_CETUS_SWAP=false
VITE_FEATURE_SUNIO_SWAP=false
VITE_FEATURE_MONAD=false
VITE_FEATURE_PLASMA=false
VITE_HYPEREVM_NODE_URL=https://rpc.hyperliquid.xyz/evm
VITE_FEATURE_HYPEREVM=false
2 changes: 2 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ VITE_ARBITRUM_NOVA_NODE_URL=https://dev-api.arbitrum-nova.shapeshift.com/api/v1/
VITE_BASE_NODE_URL=https://dev-api.base.shapeshift.com/api/v1/jsonrpc
VITE_MONAD_NODE_URL=https://rpc.monad.xyz
VITE_PLASMA_NODE_URL=https://rpc.plasma.to
VITE_HYPEREVM_NODE_URL=https://rpc.hyperliquid.xyz/evm
# Swap me back to 9R as-needed
# VITE_THORCHAIN_NODE_URL=https://thornode.ninerealms.com
VITE_THORCHAIN_NODE_URL=https://dev-api.thorchain.shapeshift.com/lcd
Expand Down Expand Up @@ -95,3 +96,4 @@ VITE_FEATURE_MONAD=true
VITE_FEATURE_PLASMA=true
VITE_FEATURE_CETUS_SWAP=true
VITE_FEATURE_SUNIO_SWAP=true
VITE_FEATURE_HYPEREVM=true
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ VITE_UNCHAINED_BASE_HTTP_URL=https://api.base.shapeshift.com
VITE_UNCHAINED_BASE_WS_URL=wss://api.base.shapeshift.com
VITE_UNCHAINED_MONAD_HTTP_URL=https://rpc.monad.xyz
VITE_UNCHAINED_MONAD_WS_URL=wss://rpc3.monad.xyz
VITE_UNCHAINED_HYPEREVM_HTTP_URL=https://rpc.hyperliquid.xyz/evm
VITE_UNCHAINED_BITCOIN_HTTP_URL=https://api.bitcoin.shapeshift.com
VITE_UNCHAINED_BITCOIN_WS_URL=wss://api.bitcoin.shapeshift.com
VITE_UNCHAINED_DOGECOIN_WS_URL=wss://api.dogecoin.shapeshift.com
Expand Down
4 changes: 1 addition & 3 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ nodeLinker: node-modules

npmAuthToken: "${NPM_AUTH-fallback}"

npmRegistryServer: "https://registry.npmjs.org"
npmRegistryServer: "http://localhost:4873"

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
Expand All @@ -11,8 +11,6 @@ plugins:
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-postinstall.cjs
spec: "https://raw.githubusercontent.com/gravitywelluk/yarn-plugin-postinstall/master/bundles/%40yarnpkg/plugin-postinstall.js"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"

unsafeHttpWhitelist:
- localhost
Expand Down
10 changes: 10 additions & 0 deletions headers/csps/chains/hyperevm.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { loadEnv } from 'vite'

import type { Csp } from '../../types'

const mode = process.env.MODE ?? process.env.NODE_ENV ?? 'development'
const env = loadEnv(mode, process.cwd(), '')

export const csp: Csp = {
'connect-src': [env.VITE_HYPEREVM_NODE_URL],
}
2 changes: 2 additions & 0 deletions headers/csps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { csp as cosmos } from './chains/cosmos'
import { csp as dogecoin } from './chains/dogecoin'
import { csp as ethereum } from './chains/ethereum'
import { csp as gnosis } from './chains/gnosis'
import { csp as hyperevm } from './chains/hyperevm'
import { csp as litecoin } from './chains/litecoin'
import { csp as mayachain } from './chains/mayachain'
import { csp as monad } from './chains/monad'
Expand Down Expand Up @@ -100,6 +101,7 @@ export const csps = [
dogecoin,
ethereum,
gnosis,
hyperevm,
litecoin,
optimism,
polygon,
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"eip155:999/slip44:60":"hyperliquid","eip155:999/erc20:0x47bb061c0204af921f43dc73c7d7768d2672ddee":"alright-buddy","eip155:999/erc20:0x99ed8c89d6ed3a05e73bfa0ce0213bb942061a65":"amped-finance","eip155:999/erc20:0xdfc7d2d003a053b2e0490531e9317a59962b511e":"bedrock-btc","eip155:999/erc20:0x0725a349f733cc13c84232a706d9ca99d2a1ef23":"boros","eip155:999/erc20:0x99750393c5b40093a53ccd2d8e9f61ef4f401826":"bulbul2dao","eip155:999/erc20:0x11735dbd0b97cfa7accf47d005673ba185f7fd49":"catbal","eip155:999/erc20:0x1ac2ee68b8d038c982c1e1f73f596927dd70de59":"chainlink","eip155:999/erc20:0x211cc4dd073734da055fbf44a2b4667d5e5fe5d2":"ethena-staked-usde","eip155:999/erc20:0x5d3a1ff2b6bab83b63cd9ad0787074081a52ef34":"ethena-usde","eip155:999/erc20:0x02c6a2fa58cc01a18b8d9e00ea48d65e4df26c70":"felix-feusd","eip155:999/erc20:0x5875fc0d25a48c17da1147dd1f432c6b54fb7e67":"flip","eip155:999/erc20:0x4ae080eccd89cf1dc2965dbd5198b7a4efdfa7b8":"glo","eip155:999/erc20:0xfde5b0626fc80e36885e2fa9cd5ad9d7768d725c":"hahype","eip155:999/erc20:0x1368ee9d1212ae5b26ff166049220051a9eebc42":"harmonix-khype","eip155:999/erc20:0x9b530b0ac8817f4b6c29cff236df85ed33ece660":"harrypotterhypermarioliquidfentjeffspectrum47i","eip155:999/erc20:0x79bbf4508b1391af3a0f4b30bb5fc4aa9ab0e07c":"heyanon","eip155:999/erc20:0xb2589c360fbb7b3a6ee061359c5a9a2714d26006":"hl-gato","eip155:999/erc20:0x3d75f2bb8abcdbd1e27443cb5cbce8a668046c81":"hlp0","eip155:999/erc20:0x738dd55c272b0b686382f62dd4a590056839f4f6":"holy-liquid","eip155:999/erc20:0xa2f8da4a55898b6c947fa392ef8d6bfd87a4ff77":"hwusd","eip155:999/erc20:0x29dbf86a8c48ea4331e28b3c1eae824a2a45996a":"hybridge","eip155:999/erc20:0x9a12cb8869498d8826567437abea27be1c2ba9ab":"hybridge-bridged-link-hyperevm","eip155:999/erc20:0x8fdcac157fa99c67015a44f39b2662976bb90d68":"hypefun","eip155:999/erc20:0x81e064d0eb539de7c3170edf38c1a42cbd752a76":"hyperbeat-lst-vault","eip155:999/erc20:0x96c6cbb6251ee1c257b2162ca0f39aa5fa44b1fb":"hyperbeat-ultra-hype","eip155:999/erc20:0x5e105266db42f78fa814322bce7f388b4c2e61eb":"hyperbeat-usdt","eip155:999/erc20:0xd8fc8f0b03eba61f64d08b0bef69d80916e5dda9":"hyperbeat-x-ether-fi-hype","eip155:999/erc20:0x06fd9d03b3d0f18e4919919b72d30c582f0a97e5":"hyperlend-interest-bearing-usdt0-wrapped-hlp","eip155:999/erc20:0xdabb040c428436d41cecd0fb06bcfdbaad3a9aa8":"hyperpie-staked-mhype","eip155:999/erc20:0x8ff0dd9f9c40a0d76ef1bcfaf5f98c1610c74bd8":"hyperstable","eip155:999/erc20:0x3fa145cad2c8108a68cfc803a8e1ae246c36df3e":"hyperstrategy","eip155:999/erc20:0x03832767bdf9a8ef007449942125ad605acfadb8":"hyperswap","eip155:999/erc20:0x125d8c0fa5707e928cda279195313f0ad6e9fefe":"hypertrics","eip155:999/erc20:0xb50a96253abdf803d85efcdce07ad8becbc52bd5":"hyper-usd","eip155:999/erc20:0x0e01e3afd147c7f079ea19d0eca166ad3a22e79d":"hyperwave","eip155:999/erc20:0x9fd7466f987fd4c45a5bbde22ed8aba5bc8d72d1":"hyperwave-hlp","eip155:999/erc20:0x4de03ca1f02591b717495cfa19913ad56a2f5858":"hyperwave-hype","eip155:999/erc20:0x3e5fba5dd52e931276b3c84df7542c2eeea1440b":"hype-sphere","eip155:999/erc20:0xa320d9f65ec992eff38622c63627856382db726c":"hypurr-fun","eip155:999/erc20:0x92eb91ac8bc3abe1812c0064e05e667335440d8e":"hypurrstrategy","eip155:999/erc20:0x2c910f67dbf81099e6f8e126e7265d7595dc20ad":"hyusdt0-hwhlp-11","eip155:999/erc20:0x52e444545fbe9e5972a7a371299522f7871aec1f":"jeff-3","eip155:999/erc20:0xb5fe77d323d69eb352a02006ea8ecc38d882620c":"kei-stablecoin","eip155:999/erc20:0xfd739d4e423301ce9385c1fb8850539d657c296d":"kinetic-staked-hype","eip155:999/erc20:0x000000000000780555bd0bca3791f89f9542c2d6":"kinetiq","eip155:999/erc20:0x9ba2edc44e0a4632eb4723e81d4142353e1bb160":"kinetiq-earn-vault","eip155:999/erc20:0xbef0142a0955a7d5dcce5c2a13fb84e332669d2d":"kintsu-staked-hype","eip155:999/erc20:0x618275f8efe54c2afa87bfb9f210a52f0ff89364":"kittenswap","eip155:999/erc20:0xca79db4b49f608ef54a5cb813fbed3a6387bc645":"last-usd","eip155:999/erc20:0xbf7f2b530c073e21ea0627f36deeaec21a6adfec":"licko","eip155:999/erc20:0xf2e6a23b1aa09565fdb3a77af7772709de3f4f95":"lilly","eip155:999/erc20:0x441794d6a8f9a3739f5d4e98a728937b33489d29":"liquid-hype-yield","eip155:999/erc20:0x1ecd15865d7f8019d546f76d095d9c93cc34edfa":"liquidlaunch","eip155:999/erc20:0xcb0ac0aa94c67dde8688ac34c8e4d6c18e78b638":"liquidscan","eip155:999/erc20:0x343c40d90298e132f4ad68b4aafeada3dabab300":"locked-ultrasolid","eip155:999/erc20:0x5748ae796ae46a4f1348a1693de4b50560485562":"looped-hype","eip155:999/erc20:0x00fdbc53719604d924226215bc871d55e40a1009":"looping-collective","eip155:999/erc20:0x866a2bf4e572cbcf37d5071a7a58503bfb36be1b":"m-2","eip155:999/erc20:0xe6829d9a7ee3040e1276fa75293bde931859e8fa":"mantle-restaked-eth","eip155:999/erc20:0x3bcc0a5a66bb5bdceef5dd8a659a4ec75f3834d8":"mev-capital-usdt0","eip155:999/erc20:0xd3a9cb7312b9c29113290758f5adfe12304cd16a":"mev-capital-usr","eip155:999/erc20:0x226702c0ca528c29eb9252b773c4f06492510f4c":"neiro-3","eip155:999/erc20:0xbe65f0f410a72bec163dc65d46c83699e957d588":"parallel-usdp","eip155:999/erc20:0x28245ab01298eaef7933bc90d35bd9dbca5c89db":"peg","eip155:999/erc20:0xd6eb81136884713e843936843e286fd2a85a205a":"pendle","eip155:999/erc20:0xd2567ee20d75e8b74b44875173054365f6eb5052":"perpcoin","eip155:999/erc20:0x1bee6762f0b522c606dc2ffb106c0bb391b2e309":"pip-3","eip155:999/erc20:0x7bbcf1b600565ae023a1806ef637af4739de3255":"primefi","eip155:999/erc20:0xfa44c2634ff17cbe26dc3007d36bd61c79068c14":"pudgy-penguins","eip155:999/erc20:0x876e7f2f30935118a654fc0e1f807afc49efe500":"pup-token","eip155:999/erc20:0x9b498c3c8a0b8cd8ba1d9851d40d186f1872b44e":"purr-2","eip155:999/erc20:0x555570a286f15ebdfe42b66ede2f724aa1ab5555":"ramses","eip155:999/erc20:0xc12e26ab94d1e62f18373cf25e43afa7b2af1cdc":"rekt-4","eip155:999/erc20:0x9ab96a4668456896d45c301bc3a15cee76aa7b8d":"relend-network-usdc-hyperevm","eip155:999/erc20:0x866d66f64fb81461903e1e38d998e747ecf35e78":"reservoir-rusd","eip155:999/erc20:0x0a3d8466f5de586fa5f6de117301e2f90bcc5c48":"resolv-rlp","eip155:999/erc20:0x0ad339d66bf4aed5ce31c64bc37b3244b6394a77":"resolv-usr","eip155:999/erc20:0x46c1c168ca597b9e5423aa7081a0dce782caeaab":"resolv-wstusr","eip155:999/erc20:0x7dcffcb06b40344eeced2d1cbf096b299fe4b405":"reverse-unit-bias","eip155:999/erc20:0x9efdfc72c1bc90b36f8aae35247e62310c58eacf":"satlayer","eip155:999/erc20:0x4f96b683714377c38123631f2d17cdf18b3f46a7":"seda-2","eip155:999/erc20:0xae4efbc7736f963982aacb17efa37fcbab924cb3":"solv-btc","eip155:999/erc20:0xc99f5c922dae05b6e2ff83463ce705ef7c91f077":"solv-protocol-solvbtc-bbn","eip155:999/erc20:0x1b25ca174c158440621ff96e4b1262cb5cc8942f":"solv-protocol-solvbtc-bnb","eip155:999/erc20:0xffaa4a3d97fe9107cef8a3f48c069f577ff76cc1":"staked-hype","eip155:999/erc20:0x94e8396e0869c9f2200760af0621afd240e1cf38":"staked-hype-shares","eip155:999/erc20:0x502ee789b448aa692901fe27ab03174c90f07dd1":"staked-loop","eip155:999/erc20:0xd704254eb350e0d3baecd194d095862267897ae0":"static-hyperlend-hyperevm-whype-v2","eip155:999/erc20:0xf4d9235269a96aadafc9adae454a0618ebe37949":"tether-gold-tokens","eip155:999/erc20:0xfdd22ce6d1f66bc0ec89b20bf16ccb6670f55a5a":"theo-short-duration-us-treasury-fund","eip155:999/erc20:0xae60eafb73eb0516951ab20089cff32ac9dc63b7":"ultrasolid","eip155:999/erc20:0x9fdbda0a5e284c32744d2f17ee5c74b284993463":"unit-bitcoin","eip155:999/erc20:0xbe6727b535545c67d5caa73dea54865b92cf7907":"unit-ethereum","eip155:999/erc20:0x3b4575e689ded21caad31d64c4df1f10f3b2cedf":"unit-fartcoin","eip155:999/erc20:0x33af3c2540ba72054e044efe504867b39ae421f5":"unit-plasma","eip155:999/erc20:0x27ec642013bcb3d80ca3706599d3cda04f6f4452":"unit-pump","eip155:999/erc20:0x068f321fa8fb9f0d135f290ef6a3e2813e1c8a29":"unit-solana","eip155:999/erc20:0xf9775085d726e782e83585033b58606f7731ab18":"universal-btc","eip155:999/erc20:0x9c3bcc457862dd6d8907ba11f8c7fe7e43a8c08b":"upheaval","eip155:999/erc20:0xb88339cb7199b77e23db6e890353e22632ba630f":"usd-coin","eip155:999/erc20:0x111111a1a0667d36bd57c0a9f569b98057111111":"usdh-2","eip155:999/erc20:0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb":"usdt0","eip155:999/erc20:0xb5ee887259f792e613edbd20dde8970c10fefda1":"validao","eip155:999/erc20:0xb09158c8297acee00b900dc1f8715df46b7246a6":"vegas","eip155:999/erc20:0x8888888fdaac0e7cf8c6523c8955bf7954c216fa":"ventuals-vhype","eip155:999/erc20:0x9c84d78839ade4d3211a9b5fa73ef079eca4f739":"wet","eip155:999/erc20:0xc53ac24320e3a54c7211e4993c8095078a0cb3cf":"wild-goat-coin-2","eip155:999/erc20:0xab11329560fa9c9c860bb21a9342215a1265bbb0":"wrapped-apecoin","eip155:999/erc20:0xa3d68b74bf0528fdd07263c60d6488749044914b":"wrapped-eeth","eip155:999/erc20:0x1359b05241ca5076c9f59605214f4f84114c0de8":"wrapped-hlp","eip155:999/erc20:0x5555555555555555555555555555555555555555":"wrapped-hype","eip155:999/erc20:0x04716db62c085d9e08050fcf6f7d775a03d07720":"wrapped-savings-rusd","eip155:999/erc20:0xac962fa04bf91b7fd0dc0c5c32414e0ce3c51e03":"xhype-2","eip155:999/erc20:0x5555c2542836e7a6c8d3e133d5aa9773b65d5555":"xram-liquid-staking-token"}

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions packages/caip/src/adapters/coingecko/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
cosmosChainId,
ethChainId,
gnosisChainId,
hyperEvmChainId,
mayachainChainId,
monadChainId,
optimismChainId,
Expand Down Expand Up @@ -44,6 +45,7 @@ export enum CoingeckoAssetPlatform {
ArbitrumNova = 'arbitrum-nova',
Base = 'base',
Monad = 'monad',
HyperEvm = 'hyperevm',
Plasma = 'plasma',
Solana = 'solana',
Tron = 'tron',
Expand Down Expand Up @@ -98,6 +100,8 @@ export const chainIdToCoingeckoAssetPlatform = (chainId: ChainId): string => {
return CoingeckoAssetPlatform.Base
case CHAIN_REFERENCE.MonadMainnet:
return CoingeckoAssetPlatform.Monad
case CHAIN_REFERENCE.HyperEvmMainnet:
return CoingeckoAssetPlatform.HyperEvm
case CHAIN_REFERENCE.PlasmaMainnet:
return CoingeckoAssetPlatform.Plasma
default:
Expand Down Expand Up @@ -176,6 +180,8 @@ export const coingeckoAssetPlatformToChainId = (
return baseChainId
case CoingeckoAssetPlatform.Monad:
return monadChainId
case CoingeckoAssetPlatform.HyperEvm:
return hyperEvmChainId
case CoingeckoAssetPlatform.Plasma:
return plasmaChainId
case CoingeckoAssetPlatform.Cosmos:
Expand Down
3 changes: 3 additions & 0 deletions packages/caip/src/adapters/coingecko/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ describe('adapters:coingecko:utils', () => {
'eip155:143': {
'eip155:143/slip44:60': 'monad',
},
'eip155:999': {
'eip155:999/slip44:60': 'hyperliquid',
},
'eip155:9745': {
'eip155:9745/slip44:60': 'plasma',
},
Expand Down
17 changes: 17 additions & 0 deletions packages/caip/src/adapters/coingecko/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import {
ethChainId,
gnosisAssetId,
gnosisChainId,
hyperEvmAssetId,
hyperEvmChainId,
ltcChainId,
mayachainChainId,
monadAssetId,
Expand Down Expand Up @@ -195,6 +197,20 @@ export const parseData = (coins: CoingeckoCoin[]): AssetMap => {
}
}

if (Object.keys(platforms).includes(CoingeckoAssetPlatform.HyperEvm)) {
try {
const assetId = toAssetId({
chainNamespace: CHAIN_NAMESPACE.Evm,
chainReference: CHAIN_REFERENCE.HyperEvmMainnet,
assetNamespace: 'erc20',
assetReference: platforms[CoingeckoAssetPlatform.HyperEvm],
})
prev[hyperEvmChainId][assetId] = id
} catch {
// unable to create assetId, skip token
}
}

if (Object.keys(platforms).includes(CoingeckoAssetPlatform.Solana)) {
try {
const assetId = toAssetId({
Expand Down Expand Up @@ -277,6 +293,7 @@ export const parseData = (coins: CoingeckoCoin[]): AssetMap => {
[arbitrumChainId]: { [arbitrumAssetId]: 'ethereum' },
[arbitrumNovaChainId]: { [arbitrumNovaAssetId]: 'ethereum' },
[baseChainId]: { [baseAssetId]: 'ethereum' },
[hyperEvmChainId]: { [hyperEvmAssetId]: 'hyperliquid' },
[monadChainId]: { [monadAssetId]: 'monad' },
[plasmaChainId]: { [plasmaAssetId]: 'plasma' },
[solanaChainId]: { [solAssetId]: 'solana' },
Expand Down
5 changes: 5 additions & 0 deletions packages/caip/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const arbitrumAssetId: AssetId = 'eip155:42161/slip44:60'
export const arbitrumNovaAssetId: AssetId = 'eip155:42170/slip44:60'
export const baseAssetId: AssetId = 'eip155:8453/slip44:60'
export const monadAssetId: AssetId = 'eip155:143/slip44:60'
export const hyperEvmAssetId: AssetId = 'eip155:999/slip44:60'
export const plasmaAssetId: AssetId = 'eip155:9745/slip44:60'
export const solAssetId: AssetId = 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501'
export const wrappedSolAssetId: AssetId =
Expand Down Expand Up @@ -73,6 +74,7 @@ export const arbitrumChainId: ChainId = 'eip155:42161'
export const arbitrumNovaChainId: ChainId = 'eip155:42170'
export const baseChainId: ChainId = 'eip155:8453'
export const monadChainId: ChainId = 'eip155:143'
export const hyperEvmChainId: ChainId = 'eip155:999'
export const plasmaChainId: ChainId = 'eip155:9745'

export const cosmosChainId: ChainId = 'cosmos:cosmoshub-4'
Expand Down Expand Up @@ -117,6 +119,7 @@ export const CHAIN_REFERENCE = {
ArbitrumNovaMainnet: '42170', // https://chainlist.org/chain/42170
BaseMainnet: '8453', // https://chainlist.org/chain/8453
MonadMainnet: '143', // https://docs.monad.xyz/developer-essentials/network-information
HyperEvmMainnet: '999', // https://chainlist.org/chain/999
PlasmaMainnet: '9745', // https://chainlist.org/chain/9745
SolanaMainnet: '5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp', // https://namespaces.chainagnostic.org/solana/caip2
TronMainnet: '0x2b6653dc', // https://developers.tron.network/docs/networks
Expand Down Expand Up @@ -154,6 +157,7 @@ export const ASSET_REFERENCE = {
ArbitrumNova: '60', // evm chain which uses ethereum derivation path as common practice
Base: '60', // evm chain which uses ethereum derivation path as common practice
Monad: '60', // evm chain which uses ethereum derivation path as common practice
HyperEvm: '60', // evm chain which uses ethereum derivation path as common practice
Plasma: '60', // evm chain which uses ethereum derivation path as common practice
Solana: '501',
Tron: '195',
Expand All @@ -179,6 +183,7 @@ export const VALID_CHAIN_IDS: ValidChainMap = Object.freeze({
CHAIN_REFERENCE.ArbitrumNovaMainnet,
CHAIN_REFERENCE.BaseMainnet,
CHAIN_REFERENCE.MonadMainnet,
CHAIN_REFERENCE.HyperEvmMainnet,
CHAIN_REFERENCE.PlasmaMainnet,
],
[CHAIN_NAMESPACE.CosmosSdk]: [
Expand Down
9 changes: 9 additions & 0 deletions packages/chain-adapters/src/evm/EvmBaseAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
supportsBSC,
supportsETH,
supportsGnosis,
supportsHyperEvm,
supportsMonad,
supportsOptimism,
supportsPlasma,
Expand Down Expand Up @@ -79,6 +80,7 @@ export const evmChainIds = [
KnownChainIds.ArbitrumNovaMainnet,
KnownChainIds.BaseMainnet,
KnownChainIds.MonadMainnet,
KnownChainIds.HyperEvmMainnet,
KnownChainIds.PlasmaMainnet,
] as const

Expand Down Expand Up @@ -178,6 +180,8 @@ export abstract class EvmBaseAdapter<T extends EvmChainId> implements IChainAdap
return supportsBase(wallet)
case Number(fromChainId(KnownChainIds.MonadMainnet).chainReference):
return supportsMonad(wallet)
case Number(fromChainId(KnownChainIds.HyperEvmMainnet).chainReference):
return supportsHyperEvm(wallet)
case Number(fromChainId(KnownChainIds.PlasmaMainnet).chainReference):
return supportsPlasma(wallet)
default:
Expand Down Expand Up @@ -262,6 +266,11 @@ export abstract class EvmBaseAdapter<T extends EvmChainId> implements IChainAdap
symbol: 'MON',
explorer: 'https://monadvision.com',
},
[KnownChainIds.HyperEvmMainnet]: {
name: 'HYPE',
symbol: 'HYPE',
explorer: 'https://hyperevmscan.io',
},
[KnownChainIds.PlasmaMainnet]: {
name: 'Plasma',
symbol: 'XPL',
Expand Down
Loading