Skip to content

Commit

Permalink
remove devnet sol
Browse files Browse the repository at this point in the history
  • Loading branch information
toandq2009 committed Dec 2, 2024
1 parent 2d0f2fb commit bc3d2ea
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 57 deletions.
1 change: 0 additions & 1 deletion apps/extension/src/pages/account/select-account-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export const SelectAccountPage = observer(() => {
});
return;
};
console.log(wallets, "wallets");
return (
<LayoutWithButtonBottom
titleButton={"Add Wallet"}
Expand Down
1 change: 0 additions & 1 deletion apps/extension/src/pages/sign/sign-svm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ export const SignSvmPage: FunctionComponent = observer(() => {
}
}, [signInteractionStore.waitingSvmData]);
const isLoaded = useMemo(() => {
console.log(data, chainId, "data chainId");
if (data?.data?.chainId) {
return true;
} else if (!data?.data?.chainId) {
Expand Down
110 changes: 55 additions & 55 deletions packages/common/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1193,61 +1193,61 @@ export const EmbedChainInfos: AppChainInfo[] = [
accountUrl: "https://solscan.io/address/{address}",
},
},
{
rpc: "https://devnet.helius-rpc.com/?api-key=791e2c4e-4495-45c4-b873-c8f35344e0c0",
rest: "https://devnet.helius-rpc.com/?api-key=791e2c4e-4495-45c4-b873-c8f35344e0c0",
chainId: "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
chainName: "Solana Devnet",
bip44: {
coinType: 501,
},
bech32Config: Bech32Address.defaultBech32Config("sol"),
stakeCurrency: {
coinDenom: "SOL",
coinMinimalDenom: "sol",
coinDecimals: 9,
coinGeckoId: "solana",
coinImageUrl:
"https://assets.coingecko.com/coins/images/4128/standard/solana.png?1718769756",
},
chainSymbolImageUrl:
"https://upload.wikimedia.org/wikipedia/en/b/b9/Solana_logo.png",
networkType: "svm",
currencies: [
{
coinDenom: "SOL",
coinMinimalDenom: "sol",
coinDecimals: 9,
coinGeckoId: "solana",
coinImageUrl:
"https://assets.coingecko.com/coins/images/4128/standard/solana.png?1718769756",
},
],
get feeCurrencies() {
return [
{
coinDenom: "SOL",
coinMinimalDenom: "sol",
coinDecimals: 9,
coinGeckoId: "solana",
coinImageUrl:
"https://assets.coingecko.com/coins/images/4128/standard/solana.png?1718769756",
gasPriceStep: {
low: 1,
average: 1.25,
high: 1.5,
},
},
];
},

features: [],
txExplorer: {
name: "Sol Scan",
txUrl: "https://solscan.io/tx/{txHash}",
accountUrl: "https://solscan.io/address/{address}",
},
},
// {
// rpc: "https://devnet.helius-rpc.com/?api-key=791e2c4e-4495-45c4-b873-c8f35344e0c0",
// rest: "https://devnet.helius-rpc.com/?api-key=791e2c4e-4495-45c4-b873-c8f35344e0c0",
// chainId: "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
// chainName: "Solana Devnet",
// bip44: {
// coinType: 501,
// },
// bech32Config: Bech32Address.defaultBech32Config("sol"),
// stakeCurrency: {
// coinDenom: "SOL",
// coinMinimalDenom: "sol",
// coinDecimals: 9,
// coinGeckoId: "solana",
// coinImageUrl:
// "https://assets.coingecko.com/coins/images/4128/standard/solana.png?1718769756",
// },
// chainSymbolImageUrl:
// "https://upload.wikimedia.org/wikipedia/en/b/b9/Solana_logo.png",
// networkType: "svm",
// currencies: [
// {
// coinDenom: "SOL",
// coinMinimalDenom: "sol",
// coinDecimals: 9,
// coinGeckoId: "solana",
// coinImageUrl:
// "https://assets.coingecko.com/coins/images/4128/standard/solana.png?1718769756",
// },
// ],
// get feeCurrencies() {
// return [
// {
// coinDenom: "SOL",
// coinMinimalDenom: "sol",
// coinDecimals: 9,
// coinGeckoId: "solana",
// coinImageUrl:
// "https://assets.coingecko.com/coins/images/4128/standard/solana.png?1718769756",
// gasPriceStep: {
// low: 1,
// average: 1.25,
// high: 1.5,
// },
// },
// ];
// },
//
// features: [],
// txExplorer: {
// name: "Sol Scan",
// txUrl: "https://solscan.io/tx/{txHash}",
// accountUrl: "https://solscan.io/address/{address}",
// },
// },
{
rpc: "https://evm-56.keplr.app",
rest: "https://evm-56.keplr.app",
Expand Down

0 comments on commit bc3d2ea

Please sign in to comment.