Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usdc swell #346

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
36 changes: 22 additions & 14 deletions src/consts/chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,25 @@
# Schema here: https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/typescript/sdk/src/metadata/chainMetadataTypes.ts
---
# Example using local anvil chain:
# anvil1:
# chainId: 31337
# domainId: 31337
# name: anvil1
# protocol: ethereum
# rpcUrls:
# - http: http://127.0.0.1:8545
# anvil2:
# chainId: 31338
# domainId: 31338
# name: anvil2
# protocol: ethereum
# rpcUrls:
# - http: http://127.0.0.1:8555
swell:
blocks:
confirmations: 1
estimateBlockTime: 2
reorgPeriod: 5
chainId: 1923
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Swell
domainId: 1923
gasCurrencyCoinGeckoId: ethereum
gnosisSafeTransactionServiceUrl: https://trx-swell.safe.protofire.io
name: swell
nativeToken:
decimals: 18
name: Ether
symbol: ETH
protocol: ethereum
rpcUrls:
- http: https://swell-mainnet.alt.technology
technicalStack: opstack
9 changes: 4 additions & 5 deletions src/consts/warpRouteWhitelist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// Warp Route IDs use format `SYMBOL/chainname1-chainname2...` where chains are ordered alphabetically
// If left null, all warp routes in the configured registry will be included
// If set to a list (including an empty list), only the specified routes will be included
export const warpRouteWhitelist: Array<string> | null = null;
// Example:
// [
// // 'ETH/ethereum-viction'
// ];
export const warpRouteWhitelist: Array<string> | null = [
'USDC/ethereum-swell',
'USDT/ethereum-swell',
];
39 changes: 38 additions & 1 deletion src/consts/warpRoutes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,42 @@
# These configs will be merged with the warp routes in the configured registry
# The input here is typically the output of the Hyperlane CLI warp deploy command
---
tokens: []
tokens:
- addressOrDenom: "0x1fbcc5A3EE1EfC5e920FFF999AE97a0C2DF4A583"
chainName: ethereum
collateralAddressOrDenom: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
connections:
- token: ethereum|swell|0x93D41E41cA545a35A81d11b08D2eE8b852C768df
decimals: 6
logoURI: /deployments/warp_routes/USDC/logo.svg
name: USD Coin
standard: EvmHypCollateral
symbol: USDC
- addressOrDenom: "0x93D41E41cA545a35A81d11b08D2eE8b852C768df"
chainName: swell
collateralAddressOrDenom: "0x99a38322cAF878Ef55AE4d0Eda535535eF8C7960"
connections:
- token: ethereum|ethereum|0x1fbcc5A3EE1EfC5e920FFF999AE97a0C2DF4A583
decimals: 6
logoURI: /deployments/warp_routes/USDC/logo.svg
name: USD Coin
standard: EvmHypCollateralFiat
symbol: USDC
- chainName: ethereum
standard: EvmHypCollateral
decimals: 6
symbol: USDT
name: Tether USD
addressOrDenom: "0x72529594955CeFfc0ac4ECF23C45B9069A24Df14"
collateralAddressOrDenom: "0xdAC17F958D2ee523a2206206994597C13D831ec7"
connections:
- token: ethereum|swell|0xb89c6ED617f5F46175E41551350725A09110bbCE
- chainName: swell
standard: EvmHypSynthetic
decimals: 6
symbol: USDT
name: Tether USD
addressOrDenom: "0xb89c6ED617f5F46175E41551350725A09110bbCE"
connections:
- token: ethereum|ethereum|0x72529594955CeFfc0ac4ECF23C45B9069A24Df14
options: {}
Loading