-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from open-format/feature/sepolia-network
Feature: Sepolia network
- Loading branch information
Showing
17 changed files
with
115 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@openformat/react": patch | ||
"@openformat/sdk": patch | ||
--- | ||
|
||
- Remove support for old chains |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@openformat/sdk": minor | ||
--- | ||
|
||
Adds support for Arbitrum Sepolia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,8 @@ | ||
import { aurora, auroraTestnet, Chain, foundry, polygon } from '@wagmi/chains'; | ||
|
||
//@dev custom polygonMumbai chain due to failing rpc urls | ||
export const polygonMumbai = { | ||
id: 80_001, | ||
name: 'Polygon Mumbai', | ||
network: 'maticmum', | ||
nativeCurrency: { name: 'MATIC', symbol: 'MATIC', decimals: 18 }, | ||
rpcUrls: { | ||
alchemy: { | ||
http: ['https://polygon-mumbai.g.alchemy.com/v2'], | ||
webSocket: ['wss://polygon-mumbai.g.alchemy.com/v2'], | ||
}, | ||
infura: { | ||
http: ['https://polygon-mumbai.infura.io/v3'], | ||
webSocket: ['wss://polygon-mumbai.infura.io/ws/v3'], | ||
}, | ||
default: { | ||
http: ['https://polygon-testnet.public.blastapi.io'], | ||
}, | ||
public: { | ||
http: ['https://polygon-testnet.public.blastapi.io'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
etherscan: { | ||
name: 'PolygonScan', | ||
url: 'https://mumbai.polygonscan.com', | ||
}, | ||
default: { | ||
name: 'PolygonScan', | ||
url: 'https://mumbai.polygonscan.com', | ||
}, | ||
}, | ||
testnet: true, | ||
} as const satisfies Chain; | ||
|
||
export const arbitrumSepolia = { | ||
id: 421_614, | ||
name: 'Arbitrum Sepolia', | ||
nativeCurrency: { | ||
name: 'Arbitrum Sepolia Ether', | ||
symbol: 'ETH', | ||
decimals: 18, | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://sepolia-rollup.arbitrum.io/rpc'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Arbiscan', | ||
url: 'https://sepolia.arbiscan.io', | ||
apiUrl: 'https://api-sepolia.arbiscan.io/api', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 81930, | ||
}, | ||
}, | ||
testnet: true, | ||
}; | ||
|
||
export const polygonAmoy = { | ||
id: 80002, | ||
name: 'Polygon Amoy', | ||
network: 'amoy', | ||
nativeCurrency: { name: 'MATIC', symbol: 'MATIC', decimals: 18 }, | ||
rpcUrls: { | ||
alchemy: { | ||
http: ['https://polygon-amoy.g.alchemy.com/v2'], | ||
webSocket: ['wss://polygon-amoy.g.alchemy.com/v2'], | ||
}, | ||
infura: { | ||
http: ['https://polygon-amoy.infura.io/v3'], | ||
webSocket: ['wss://polygon-amoy.infura.io/ws/v3'], | ||
}, | ||
default: { | ||
http: ['https://rpc-amoy.polygon.technology'], | ||
}, | ||
public: { | ||
http: ['https://rpc-amoy.polygon.technology'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'OkLink', | ||
url: 'https://www.oklink.com/amoy', | ||
}, | ||
}, | ||
testnet: true, | ||
} as const satisfies Chain; | ||
import { arbitrumSepolia, foundry, polygon, polygonAmoy } from 'viem/chains'; | ||
|
||
export const Chains = { | ||
aurora, | ||
auroraTestnet, | ||
foundry, | ||
polygon, | ||
polygonMumbai, | ||
foundry, | ||
arbitrumSepolia, | ||
polygonAmoy, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.