Skip to content

Commit

Permalink
Change display name and logo of Klaytn to Kaia (#2716)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuli-ferna committed Sep 25, 2024
1 parent 0c0b803 commit 7946931
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 31 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ See [`chains.ts`](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/ma
| Evmos | Evmos |
| Kujira | Kujira |
| Injective | Injective |
| Klaytn | Klaytn |
| Kaia | Kaia |
| Arbitrum | ArbitrumSepolia |
| Optimism | OptimismSepolia |
| Scroll | Scroll |
Expand Down
6 changes: 3 additions & 3 deletions wormhole-connect/src/config/mainnet/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ export const MAINNET_CHAINS: ChainsConfig = {
},
Klaytn: {
...chains.Klaytn!,
displayName: 'Klaytn',
explorerUrl: 'https://klaytnscope.com/',
explorerName: 'Klaytn Scope',
displayName: 'Kaia',
explorerUrl: 'https://kaiascope.com/',
explorerName: 'Kaia Scope',
gasToken: 'KLAY',
chainId: 8217,
icon: Icon.KLAY,
Expand Down
6 changes: 3 additions & 3 deletions wormhole-connect/src/config/testnet/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ export const TESTNET_CHAINS: ChainsConfig = {
},
Klaytn: {
...chains.Klaytn!,
displayName: 'Klaytn',
explorerUrl: 'https://baobab.klaytnscope.com/',
explorerName: 'Klaytn Scope',
displayName: 'Kaia',
explorerUrl: 'https://kairos.kaiascope.com/',
explorerName: 'Kaia Scope',
gasToken: 'KLAY',
chainId: 1001,
icon: Icon.KLAY,
Expand Down
36 changes: 12 additions & 24 deletions wormhole-connect/src/icons/Tokens/KLAY.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,22 @@ import React from 'react';
function KLAY() {
return (
<svg
version="1.1"
style={{ maxHeight: '100%', maxWidth: '100%' }}
width="512"
height="512"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
width="72"
height="72"
viewBox="0 0 72 72"
fill="none"
>
<path
fill="#BD072F"
d="M254.8,288.1c53.9,53.8,107,106.8,160,159.7c-87.9,75.2-225.9,78.4-319.7-1.2
C148.5,393.7,201.7,340.9,254.8,288.1z"
/>
<path
fill="#FA4212"
d="M291.5,255.9c35.2-36.2,70.9-73.2,107-109.9c15-15.3,30.5-29.9,46.1-44.6c1.2-1.1,5.2-1.3,5.9-0.4
c27.4,36,47.8,75.3,53.2,120.8c8.2,69.4-7.7,132.6-51.3,188.1c-1.2,1.5-2.3,3.2-2.9,4.1C396.3,360.7,343.1,307.6,291.5,255.9z"
/>
<path
fill="#FF8000"
d="M139.1,337.8c5.9-15.6,11.9-31.2,17.8-46.8c24.5-64.5,49-129,73.5-193.4c7.7-20,16.4-39.7,24.3-59.7
c3-7.7,5.3-15.7,7.7-23.6c1.8-5.9,5.4-8.1,11.6-7.5c24.4,2.4,48.4,6.2,70.9,16.5c13,6,26.3,11.4,38.7,18.5
c10.1,5.8,18.9,13.7,30.1,22L140.7,339L139.1,337.8z"
/>
<path
fill="#B70C02"
d="M200.2,47.7c-45.9,121.5-91.7,242.9-138.5,366.9c-8.8-13.4-17-24.7-23.9-36.7c-15.8-27.5-25.9-57.9-29.9-89.4
c-1.9-15-1.5-30.4-1.6-45.6c0-2.4,2.2-5.3,4.1-7.2C69.5,176.4,128.8,117.3,188,58.2c3.6-3.6,7.1-7.4,10.7-11.2L200.2,47.7z"
d="M0 35.9864C0 16.2622 15.9896 0 35.7138 0V0C55.438 0 71.4276 16.2622 71.4276 35.9864V35.9864C71.4276 55.7106 55.438 71.9728 35.7138 71.9728V71.9728C15.9896 71.9728 0 55.7106 0 35.9864V35.9864Z"
fill="#040404"
/>
<g clip-path="url(#clip0_2310_14480)">
<path
d="M34.6646 25.2973C34.6646 23.701 35.9571 22.4006 37.5438 22.4006H42.6955V15.353H40.1196H37.5438C32.0857 15.353 27.6598 19.8059 27.6598 25.2973C27.6598 26.7302 27.963 28.0923 28.5052 29.3217C24.2661 31.1245 21.4514 34.9549 20.7959 39.8022C20.0302 45.1241 22.1497 50.865 26.7655 53.6385C30.885 56.2486 37.3262 56.076 40.8057 52.4551V54.8588H47.9759V28.1939H37.5467C35.9602 28.1939 34.6646 26.8936 34.6646 25.2973ZM40.965 35.2446V41.9377C40.965 45.6356 37.9848 48.6309 34.3124 48.6309C30.64 48.6309 27.6598 45.6325 27.6598 41.9377C27.6598 38.2429 30.64 35.2446 34.3124 35.2446H40.965Z"
fill="#BFF009"
/>
</g>
</svg>
);
}
Expand Down

0 comments on commit 7946931

Please sign in to comment.