chore: sync submodule state (parent ref update)
Made-with: Cursor
This commit is contained in:
30
scripts/verify-tezos-etherlink-support.js
Normal file
30
scripts/verify-tezos-etherlink-support.js
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env node
|
||||
// Verify CCIP/LiFi support for 138, 42793, 651940. Run: node scripts/verify-tezos-etherlink-support.js
|
||||
|
||||
const LIFI_URL = 'https://li.quest/v1/chains';
|
||||
const CCIP_URL = 'https://docs.chain.link/ccip/supported-networks';
|
||||
|
||||
async function main() {
|
||||
console.log('Tezos/Etherlink support check\n');
|
||||
try {
|
||||
const lifiRes = await fetch(LIFI_URL);
|
||||
const lifi = await lifiRes.json();
|
||||
const ids = (lifi.chains || []).map((c) => c.id || c.chainId).filter(Boolean);
|
||||
console.log('LiFi chains include 138:', ids.includes(138));
|
||||
console.log('LiFi chains include 42793:', ids.includes(42793));
|
||||
console.log('LiFi chains include 651940:', ids.includes(651940));
|
||||
} catch (e) {
|
||||
console.log('LiFi error:', e.message);
|
||||
}
|
||||
try {
|
||||
const ccipRes = await fetch(CCIP_URL);
|
||||
const html = await ccipRes.text();
|
||||
console.log('\nCCIP page mentions 42793:', html.includes('42793') || html.toLowerCase().includes('etherlink'));
|
||||
console.log('CCIP page mentions 138:', html.includes('138'));
|
||||
} catch (e) {
|
||||
console.log('CCIP error:', e.message);
|
||||
}
|
||||
console.log('\nJumper: verify manually; see docs/07-ccip/TEZOS_JUMPER_SUPPORT_MATRIX.md');
|
||||
}
|
||||
|
||||
main().catch((e) => { console.error(e); process.exit(1); });
|
||||
Reference in New Issue
Block a user