Skip to content

Commit

Permalink
monad activated and tranfers its now All
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinoConti committed Dec 4, 2024
1 parent a876b62 commit 43c8b93
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/pages/Txs/Information/Filters/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ const Filters = ({ params, setIsPaginationLoading }: Props) => {
ariaLabel="Select type"
className="filters-top-toggle"
items={[
{ label: "All", value: "0", ariaLabel: "All" },
{ label: "Transfers", value: "1,3", ariaLabel: "Transfers" },
{ label: "Transfers", value: "0", ariaLabel: "All Transfers" },
// { label: "All", value: "0", ariaLabel: "All" },
// { label: "Transfers", value: "1,3", ariaLabel: "Transfers" },
{ label: "Attestation", value: "2", ariaLabel: "Attestation" },
]}
onValueChange={value => {
Expand Down
10 changes: 10 additions & 0 deletions src/utils/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const TESTNET_RPCS = {
blast: "https://sepolia.blast.io",
xlayer: "https://xlayertestrpc.okx.com",
snaxchain: "https://testnet.snaxchain.io/",
monad_devnet: `${process.env.WORMSCAN_BFF_URL}/monadRpcCall`,
};

export type Environment = {
Expand Down Expand Up @@ -133,6 +134,7 @@ export const testnetNativeCurrencies: { [key: string]: string } = {
[chainIdToChain(10005)]: "ETH",
[chainIdToChain(10006)]: "ETH",
[chainIdToChain(10007)]: "MATIC",
[chainIdToChain(10008)]: "MON",
};

export const mainnetNativeCurrencies: { [key: string]: string } = {
Expand Down Expand Up @@ -227,6 +229,14 @@ export const testnetEnv: Environment = {
nativeCurrencyDecimals: 18,
rpcUrl: TESTNET_RPCS.polygon_sepolia || "",
},
{
chainId: 10008 as ChainId,
chainName: "MonadDevnet",
defaultDeliveryProviderContractAddress: testnetDefaultDeliveryProviderContractAddress,
evmNetworkId: 20143, // https://chainlist.org/chain/20143
nativeCurrencyDecimals: 18,
rpcUrl: TESTNET_RPCS.monad_devnet || "",
},
{
chainId: 4 as ChainId,
chainName: "BSC - Testnet",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/filterUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const ChainFilterTestnet = [
chainToChainId("Karura"),
chainToChainId("Klaytn"),
chainToChainId("Mantle"),
// chainToChainId("MonadDevnet"),
chainToChainId("MonadDevnet"),
chainToChainId("Moonbeam"),
// chainToChainId("Polygon"),
chainToChainId("Near"),
Expand Down

0 comments on commit 43c8b93

Please sign in to comment.