Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 21 additions & 15 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,24 @@
"lint": "next lint"
},
"dependencies": {
"@near-wallet-selector/bitte-wallet": "9.5.1",
"@near-wallet-selector/core": "9.5.1",
"@near-wallet-selector/ethereum-wallets": "9.5.1",
"@near-wallet-selector/here-wallet": "9.5.1",
"@near-wallet-selector/hot-wallet": "9.5.1",
"@near-wallet-selector/ledger": "9.5.1",
"@near-wallet-selector/meteor-wallet": "9.5.1",
"@near-wallet-selector/meteor-wallet-app": "9.5.1",
"@near-wallet-selector/modal-ui": "9.5.1",
"@near-wallet-selector/my-near-wallet": "9.5.1",
"@near-wallet-selector/near-mobile-wallet": "9.5.1",
"@near-wallet-selector/react-hook": "9.5.1",
"@near-wallet-selector/sender": "9.5.1",
"@near-wallet-selector/welldone-wallet": "9.5.1",
"@near-wallet-selector/bitget-wallet": "9.5.4",
"@near-wallet-selector/coin98-wallet": "9.5.4",
"@near-wallet-selector/core": "9.5.4",
"@near-wallet-selector/ethereum-wallets": "9.5.4",
"@near-wallet-selector/hot-wallet": "9.5.4",
"@near-wallet-selector/intear-wallet": "9.5.4",
"@near-wallet-selector/ledger": "9.5.4",
"@near-wallet-selector/math-wallet": "9.5.4",
"@near-wallet-selector/meteor-wallet": "9.5.4",
"@near-wallet-selector/meteor-wallet-app": "9.5.4",
"@near-wallet-selector/modal-ui": "9.5.4",
"@near-wallet-selector/near-mobile-wallet": "9.5.4",
"@near-wallet-selector/okx-wallet": "9.5.4",
"@near-wallet-selector/ramper-wallet": "9.5.4",
"@near-wallet-selector/react-hook": "9.5.4",
"@near-wallet-selector/sender": "9.5.4",
"@near-wallet-selector/unity-wallet": "9.5.4",
"@near-wallet-selector/welldone-wallet": "9.5.4",
"@reown/appkit": "^1.7.7",
"@reown/appkit-adapter-wagmi": "^1.7.7",
"@wagmi/core": "^2.17.2",
Expand All @@ -38,9 +42,11 @@
},
"devDependencies": {
"@types/node": "^22.10.1",
"@types/react": "19.2.1",
"encoding": "^0.1.13",
"eslint": "^9.16.0",
"eslint-config-next": "15.0.3",
"pino-pretty": "^13.0.0"
"pino-pretty": "^13.0.0",
"typescript": "5.9.3"
}
}
30 changes: 23 additions & 7 deletions frontend/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ import { Navigation } from "@/components/navigation";
import { HelloNearContract, NetworkId } from "@/config";

// Wallet setups
import { setupMyNearWallet } from "@near-wallet-selector/my-near-wallet";
import { setupMeteorWallet } from "@near-wallet-selector/meteor-wallet";
import { setupMeteorWalletApp } from "@near-wallet-selector/meteor-wallet-app";
import { setupBitteWallet } from "@near-wallet-selector/bitte-wallet";
import { setupEthereumWallets } from "@near-wallet-selector/ethereum-wallets";
import { setupHotWallet } from "@near-wallet-selector/hot-wallet";
import { setupLedger } from "@near-wallet-selector/ledger";
import { setupSender } from "@near-wallet-selector/sender";
import { setupHereWallet } from "@near-wallet-selector/here-wallet";
import { setupNearMobileWallet } from "@near-wallet-selector/near-mobile-wallet";
import { setupWelldoneWallet } from "@near-wallet-selector/welldone-wallet";
import { setupMathWallet } from "@near-wallet-selector/math-wallet";
import { setupBitgetWallet } from "@near-wallet-selector/bitget-wallet";
import { setupRamperWallet } from "@near-wallet-selector/ramper-wallet";
import { setupUnityWallet } from "@near-wallet-selector/unity-wallet";
import { setupOKXWallet } from "@near-wallet-selector/okx-wallet";
import { setupCoin98Wallet } from "@near-wallet-selector/coin98-wallet";
import { setupIntearWallet } from "@near-wallet-selector/intear-wallet";

// Ethereum adapters
import { wagmiAdapter, web3Modal } from "@/wallets/web3modal";
Expand All @@ -29,17 +33,29 @@ const walletSelectorConfig = {
network: NetworkId,
modules: [
setupEthereumWallets({ wagmiConfig: wagmiAdapter.wagmiConfig, web3Modal }),
setupBitteWallet(),
setupMeteorWallet(),
setupMeteorWalletApp({ contractId: HelloNearContract }),
setupHotWallet(),
setupLedger(),
setupSender(),
setupHereWallet(),
setupNearMobileWallet(),
setupWelldoneWallet(),
setupMyNearWallet(),
] as WalletModuleFactory[], // ✅ force correct typing
setupMathWallet(),
setupBitgetWallet(),
setupRamperWallet(),
setupUnityWallet({
projectId: "your-project-id",
metadata: {
name: "Hello NEAR",
description: "Hello NEAR Example",
url: "https://near.org",
icons: ["https://near.org/favicon.ico"],
}
}),
setupOKXWallet(),
setupCoin98Wallet(),
setupIntearWallet(),
] as WalletModuleFactory[]
};

export default function App({ Component, pageProps }: AppProps) {
Expand Down
Loading