Skip to content

feat: Add Avalanche#201

Merged
dijanin-brat merged 4 commits intomasterfrom
dijanin-brat/initialAvalancheSetup
Apr 24, 2026
Merged

feat: Add Avalanche#201
dijanin-brat merged 4 commits intomasterfrom
dijanin-brat/initialAvalancheSetup

Conversation

@dijanin-brat
Copy link
Copy Markdown
Contributor

No description provided.

@dijanin-brat dijanin-brat self-assigned this Apr 24, 2026
Comment thread src/networks.ts Outdated
Comment thread src/networks.ts
publicRPC: "https://api.avax.network/ext/bc/C/rpc",
blockExplorer: "https://snowscan.xyz",
cctpDomain: 1, // V1?
oftEid: PRODUCTION_OFT_EIDs.AVALANCHE,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avalanche is an OFT chain, but there is no USDT(0) nor WBTC oft tokens. Should we explore others?

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0a48fbdfc8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/tokens.ts Outdated
[CHAIN_IDs.AVALANCHE]: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
[CHAIN_IDs.MAINNET]: "0x85f138bfEE4ef8e540890CFb48F620571d67Eda3",
},
coingeckoId: "avalanche",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Set AVAX CoinGecko ID to avalanche-2

The new AVAX token entry uses coingeckoId: "avalanche", but CoinGecko’s AVAX page exposes API ID avalanche-2; consumers that call CoinGecko with this field (e.g., /simple/price?ids=...) will fail to resolve AVAX pricing or get empty results, so Avalanche support will ship with broken price lookups.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread src/networks.ts
nativeToken: "AVAX",
publicRPC: "https://api.avax.network/ext/bc/C/rpc",
blockExplorer: "https://snowscan.xyz",
cctpDomain: 1,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow - I almost thought this was a typo, but it checks out. Avalanche is a CCTP OG.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, i checked it few times just to be sure 🤣

@dijanin-brat
Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@dijanin-brat dijanin-brat merged commit 622ed00 into master Apr 24, 2026
@dijanin-brat dijanin-brat deleted the dijanin-brat/initialAvalancheSetup branch April 24, 2026 10:11
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