Skip to content

Commit

Permalink
feat: replace plume config
Browse files Browse the repository at this point in the history
  • Loading branch information
junjieit committed Dec 9, 2024
1 parent 36b1560 commit e302c6c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/dodoex-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dodoex/api",
"version": "3.0.1-taiko.7",
"version": "3.0.1-taiko.8",
"description": "DODO API Kit",
"source": "src/index.ts",
"types": "dist/types/index.d.ts",
Expand Down
7 changes: 3 additions & 4 deletions packages/dodoex-widgets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dodoex/widgets",
"version": "3.0.1-taiko.17",
"version": "3.0.1-taiko.18",
"description": "DODO Widgets",
"source": "src/index.tsx",
"types": "dist/types/index.d.ts",
Expand Down Expand Up @@ -58,7 +58,7 @@
},
"dependencies": {
"@babel/runtime": "^7.17.0",
"@dodoex/api": "3.0.1-taiko.7",
"@dodoex/api": "3.0.1-taiko.8",
"@dodoex/components": "3.0.1-taiko.4",
"@dodoex/contract-request": "^1.3.0",
"@dodoex/dodo-contract-request": "1.7.0-alpha.2",
Expand Down Expand Up @@ -154,5 +154,4 @@
"ts-jest": "^29.0.1",
"typescript": "^5.6.3"
}
}

}
11 changes: 11 additions & 0 deletions packages/dodoex-widgets/src/assets/logo/networks/plume.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/dodoex-widgets/src/constants/chainList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { ReactComponent as MantaLogo } from '../assets/logo/networks/manta.svg';
import { ReactComponent as MantleLogo } from '../assets/logo/networks/mantle.svg';
import { ReactComponent as DODOchainLogo } from '../assets/logo/networks/dodochain.svg';
import { ReactComponent as TaikoLogo } from '../assets/logo/networks/taiko.svg';
import { ReactComponent as PlumeLogo } from '../assets/logo/networks/plume.svg';

export interface ChainListItem {
chainId: ChainId;
Expand Down Expand Up @@ -173,8 +174,7 @@ export const chainListMap: Map<ChainId, ChainListItem> = new Map([
ChainId.PLUME,
{
chainId: ChainId.PLUME,
// TODO: need replace
logo: TaikoLogo,
logo: PlumeLogo,
name: 'Plume',
},
],
Expand Down
4 changes: 2 additions & 2 deletions packages/dodoex-widgets/src/constants/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const rpcServerMap: {
[ChainId.SEPOLIA]: ['https://ethereum-sepolia-rpc.publicnode.com'],
[ChainId.DODO_CHAIN_TESTNET]: ['https://dodochain-testnet.alt.technology'],
[ChainId.TAIKO]: ['https://rpc.mainnet.taiko.xyz'],
[ChainId.PLUME]: ['https://rpc.plumenetwork.xyz'],
[ChainId.PLUME]: ['https://phoenix-rpc.plumenetwork.xyz'],
};
export const getRpcSingleUrlMap = (newRpcServerMap?: {
[chainId: number]: string[];
Expand Down Expand Up @@ -92,7 +92,7 @@ export const scanUrlDomainMap: {
[ChainId.SEPOLIA]: 'sepolia.etherscan.io',
[ChainId.DODO_CHAIN_TESTNET]: 'dodochain-testnet-explorer.alt.technology',
[ChainId.TAIKO]: 'taikoscan.io',
[ChainId.PLUME]: 'phoenix-explorer.plumenetwork.xyz/',
[ChainId.PLUME]: 'phoenix-explorer.plumenetwork.xyz',
};

export const ThegraphKeyMap: {
Expand Down

0 comments on commit e302c6c

Please sign in to comment.