Skip to content

Commit 5910b76

Browse files
authored
Merge pull request #105 from bgd-labs/feat/add-soneium
feat: add soneium network
2 parents 89c0397 + e2c3523 commit 5910b76

File tree

19 files changed

+97
-3
lines changed

19 files changed

+97
-3
lines changed

icons/full/soneium.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/icons.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2979,6 +2979,17 @@
29792979
}
29802980
}
29812981
},
2982+
{
2983+
"type": [
2984+
"chain"
2985+
],
2986+
"chainId": 1868,
2987+
"chainName": "Soneium",
2988+
"icons": {
2989+
"mono": "icons/mono/soneium.svg",
2990+
"full": "icons/full/soneium.svg"
2991+
}
2992+
},
29822993
{
29832994
"type": [
29842995
"asset",

icons/mono/soneium.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// GENERATED BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconSoneium } from "../../../icons/full/build/icon-soneium.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const SoneiumIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconSoneium.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
SoneiumIcon.displayName = 'SoneiumIcon';
16+
}
17+
18+
export default SoneiumIcon;

packages/react-web3-icons/src/components/icons/full/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ export { default as SequencewalletIcon } from './SequencewalletIcon';
268268
export { default as SethIcon } from './SethIcon';
269269
export { default as SfrxethIcon } from './SfrxethIcon';
270270
export { default as SnxIcon } from './SnxIcon';
271+
export { default as SoneiumIcon } from './SoneiumIcon';
271272
export { default as SonicIcon } from './SonicIcon';
272273
export { default as StataOneInchIcon } from './StataOneInchIcon';
273274
export { default as StataaaveIcon } from './StataaaveIcon';
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// GENERATED BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconSoneium } from "../../../icons/mono/build/icon-soneium.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const SoneiumIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconSoneium.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
SoneiumIcon.displayName = 'SoneiumIcon';
16+
}
17+
18+
export default SoneiumIcon;

packages/react-web3-icons/src/components/icons/mono/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ export { default as SequencewalletIcon } from './SequencewalletIcon';
268268
export { default as SethIcon } from './SethIcon';
269269
export { default as SfrxethIcon } from './SfrxethIcon';
270270
export { default as SnxIcon } from './SnxIcon';
271+
export { default as SoneiumIcon } from './SoneiumIcon';
271272
export { default as SonicIcon } from './SonicIcon';
272273
export { default as StataOneInchIcon } from './StataOneInchIcon';
273274
export { default as StataaaveIcon } from './StataaaveIcon';

packages/react-web3-icons/src/helpers/assetsAliases.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const chainsNames: Record<number, string> = {"1":"Ethereum","10":"OP Mainnet","56":"BNB Smart Chain","100":"Gnosis","137":"Polygon","146":"Sonic","250":"Fantom","324":"zkSync Era","420":"Optimism Testnet","1088":"Metis","1101":"Polygon zkEVM","4002":"Fantom Testnet","5000":"Mantle","8453":"Base","42161":"Arbitrum","42220":"Celo","43113":"Avalanche Testnet","43114":"Avalanche","59141":"Linea Sepolia","59144":"Linea","80001":"Mumbai","84532":"Base sepolia testnet","421613":"Arbitrum Goerli","421614":"Arbitrum Sepolia","534351":"Scroll Testnet","534352":"Scroll","11155111":"Sepolia","1666600000":"Harmony One"};
1+
export const chainsNames: Record<number, string> = {"1":"Ethereum","10":"OP Mainnet","56":"BNB Smart Chain","100":"Gnosis","137":"Polygon","146":"Sonic","250":"Fantom","324":"zkSync Era","420":"Optimism Testnet","1088":"Metis","1101":"Polygon zkEVM","1868":"Soneium","4002":"Fantom Testnet","5000":"Mantle","8453":"Base","42161":"Arbitrum","42220":"Celo","43113":"Avalanche Testnet","43114":"Avalanche","59141":"Linea Sepolia","59144":"Linea","80001":"Mumbai","84532":"Base sepolia testnet","421613":"Arbitrum Goerli","421614":"Arbitrum Sepolia","534351":"Scroll Testnet","534352":"Scroll","11155111":"Sepolia","1666600000":"Harmony One"};
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* 🤖 this file was generated by svg-to-ts */
2+
export const iconSoneium: {
3+
name: 'soneium';
4+
data: string;
5+
} = {
6+
name: 'soneium',
7+
data: `<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 32 32"><g clip-path="url(#soneium__clip0_2563_5)"><path fill="#fff" d="M32 16c0-8.837-7.163-16-16-16S0 7.163 0 16s7.163 16 16 16 16-7.163 16-16"/><path fill="#000" d="M17.581 22.698a6.91 6.91 0 0 1-6.491-1.837c-2.276-2.275-2.72-5.65-1.076-8.325.679-1.104 1.323-1.764 1.88-2.319a2916 2916 0 0 1 6.514-6.45c-3.938-.78-8.18.355-11.23 3.406-4.86 4.86-4.86 12.74 0 17.599a12.4 12.4 0 0 0 5.211 3.118z"/><path fill="#000" d="M14.375 9.248a6.91 6.91 0 0 1 6.491 1.836c2.276 2.275 2.72 5.651 1.076 8.325-.679 1.105-1.323 1.765-1.88 2.32a2916 2916 0 0 1-6.514 6.45c3.938.779 8.18-.356 11.23-3.407 4.86-4.86 4.86-12.74 0-17.598a12.4 12.4 0 0 0-5.211-3.119z"/></g><defs><clipPath id="soneium__clip0_2563_5"><path fill="#fff" d="M0 0h32v32H0z"/></clipPath></defs></svg>`,
8+
};

0 commit comments

Comments
 (0)