Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nautilus #108

Open
wants to merge 100 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 89 commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
0294a61
Make name, symbol, decimals optional in config
jmrossy Aug 10, 2023
eaf3793
Revert token config changes
jmrossy Aug 10, 2023
efe3bec
Use chain metadata for token protocol
jmrossy Aug 13, 2023
940a211
Update tokendata schema
jmrossy Aug 13, 2023
fc1596b
Setup Eclipse tokens and chains
jmrossy Aug 13, 2023
898bcd6
Fix solanadevnet token config
jmrossy Aug 13, 2023
eb0b2a1
Fetch remote router decimal values during init
jmrossy Aug 13, 2023
ec3a863
Merge branch 'rossy/multi-collateral' into eclipse
jmrossy Aug 13, 2023
a36f1c9
ZBC symbol, hide routes we don't want to see, fix Solana remote balan…
tkporter Aug 14, 2023
fb7da5a
Fix check if there's sufficient collateral at the dest
tkporter Aug 14, 2023
07531fd
Remove Hyperlane explorer link
jmrossy Aug 14, 2023
9aa7126
Merge pull request #44 from hyperlane-xyz/trevor/eclipse-testnet
nambrot Aug 14, 2023
1066e3f
Merge branch 'eclipse' into rossy/eclipse-fixes
nambrot Aug 14, 2023
1c4cdeb
Merge pull request #45 from hyperlane-xyz/rossy/eclipse-fixes
nambrot Aug 14, 2023
35c7246
Catch destination balance checking
nambrot Aug 14, 2023
9a63c29
Merge pull request #46 from hyperlane-xyz/nambrot/catch-destination-b…
nambrot Aug 14, 2023
3f9b6a5
Fix lint
nambrot Aug 14, 2023
8cf1808
Brand Nautilus
nambrot Aug 14, 2023
577670d
Merge pull request #47 from hyperlane-xyz/nambrot/brand-naut
nambrot Aug 14, 2023
5a6e13d
Support deposit-only mode
nambrot Aug 14, 2023
b02b4d6
Reverse direction
nambrot Aug 15, 2023
af7ddaf
Fix collateral checking to Solana; fix nautilus tx explorer url
tkporter Aug 15, 2023
322b406
mainnet
tkporter Aug 15, 2023
30f7a02
Set Rainbowkit initialChain to Proteus
jmrossy Aug 15, 2023
5e99116
Merge pull request #48 from hyperlane-xyz/nambrot/deposit-only-mode
nambrot Aug 15, 2023
db8273c
new warp route deploy
tkporter Aug 15, 2023
4ece298
Merge branch 'eclipse' into eclipse-mainnet
nambrot Aug 15, 2023
1afa6a4
Default to Nautilus
nambrot Aug 15, 2023
5f93080
Branding
nambrot Aug 15, 2023
e61eddd
Small change
nambrot Aug 15, 2023
b6f0834
Undo
nambrot Aug 15, 2023
ca305b1
Update meta
nambrot Aug 15, 2023
13e42c6
Add Nautilus chain logo
nambrot Aug 21, 2023
a5f960b
Merge branch 'main' into eclipse
jmrossy Aug 21, 2023
0ebb55f
Merge branch 'eclipse' of github.com:hyperlane-xyz/hyperlane-warp-ui-…
jmrossy Aug 21, 2023
49cda5b
Fix build error in balances
jmrossy Aug 21, 2023
1014966
Setup Jest unit testing
jmrossy Aug 22, 2023
4d4dffe
Port fixes for collateral balance checking
jmrossy Aug 22, 2023
994b7e0
Merge branch 'improved-multi-collateral' into eclipse
jmrossy Aug 22, 2023
c2bd6da
Remove balance and route hacks
jmrossy Aug 22, 2023
c9e2e1b
Remove dead const
jmrossy Aug 22, 2023
1232b9f
Merge branch 'eclipse' into eclipse-mainnet-test
jmrossy Aug 22, 2023
8b6bc70
Revert minor chains.ts change
jmrossy Aug 22, 2023
e791e29
Fix build error from merge conflict
jmrossy Aug 22, 2023
1e4cda7
Merge branch 'eclipse' into eclipse-mainnet-test
jmrossy Aug 22, 2023
41f93b4
Merge branch 'main' into eclipse
jmrossy Aug 25, 2023
5015bed
Merge branch 'eclipse' into eclipse-mainnet-test
jmrossy Aug 25, 2023
0235fc0
Update zebec token name and logo
jmrossy Aug 25, 2023
6600ac0
Merge branch 'eclipse' into eclipse-mainnet-test
jmrossy Aug 25, 2023
11acfbd
Merge branch 'main' into eclipse
jmrossy Aug 25, 2023
ce5ec5e
Merge branch 'eclipse' into eclipse-mainnet-test
jmrossy Aug 25, 2023
266742f
Remove learn more link
jmrossy Aug 28, 2023
3737166
Set default network to sol mainnet
jmrossy Aug 28, 2023
09b2d61
Merge pull request #52 from hyperlane-xyz/eclipse-mainnet-test
jmrossy Aug 28, 2023
a6eed4b
Fix bug whenever a very small amount is passed in
tkporter Sep 5, 2023
3c64770
Rm console.log
tkporter Sep 5, 2023
e1ab103
Add new warps
tkporter Sep 5, 2023
a2205f9
Merge branch 'main' into eclipse
jmrossy Sep 5, 2023
963bbc3
Merge branch 'eclipse' into eclipse-mainnet
jmrossy Sep 5, 2023
51c42d2
Merge branch 'eclipse-mainnet' into trevor/more-nautilus-warps
jmrossy Sep 5, 2023
fa2ed10
Add token logos
jmrossy Sep 5, 2023
19d52d3
Rm POSE
tkporter Sep 6, 2023
66b854f
Merge pull request #54 from hyperlane-xyz/trevor/more-nautilus-warps
tkporter Sep 6, 2023
c0f5d84
Update TipCard.tsx
nambrot Sep 7, 2023
8386af1
Merge branch 'main' into eclipse
jmrossy Sep 13, 2023
022eb47
Merge branch 'eclipse' into eclipse-mainnet
jmrossy Sep 14, 2023
80f28a2
Merge branch 'eclipse-mainnet' of github.com:hyperlane-xyz/hyperlane-…
jmrossy Sep 14, 2023
0c1489d
Merge pull request #58 from hyperlane-xyz/eclipse-mainnet-test
jmrossy Sep 14, 2023
38bb74e
Merge branch 'main' into eclipse
jmrossy Sep 15, 2023
6202caf
Merge branch 'main' of github.com:hyperlane-xyz/hyperlane-warp-ui-tem…
tkporter Sep 27, 2023
703c17c
Add warning if not enough funds
tkporter Sep 27, 2023
65c6bcb
Merge pull request #60 from hyperlane-xyz/trevor/eclipse-mainnet-no-d…
tkporter Sep 27, 2023
38c1fca
Can't change env vars on vercel atm
tkporter Sep 27, 2023
6b7ef95
Remove deposit only mode part
tkporter Sep 27, 2023
0ba8413
New POSE token
tkporter Sep 27, 2023
b8deeb8
Only wZBC on Solana
tkporter Sep 28, 2023
a2f2895
Merge branch 'main' into eclipse
jmrossy Oct 2, 2023
d6b6409
Merge remote-tracking branch 'origin' into eclipse-mainnet-test
jmrossy Oct 2, 2023
df839ed
Merge branch 'eclipse-mainnet' into eclipse-mainnet-test
jmrossy Oct 2, 2023
fa687d0
Merge pull request #63 from hyperlane-xyz/eclipse-mainnet-test
jmrossy Oct 2, 2023
f58ff19
Merge branch 'eclipse' into eclipse-mainnet
jmrossy Oct 2, 2023
87cd43c
Use token 1.5.1-beta2, which will increase the compute limit to 500k
tkporter Oct 3, 2023
4c4b1e0
Merge branch 'main' into eclipse
jmrossy Oct 3, 2023
ffbbb15
Merge branch 'eclipse' into eclipse-mainnet
jmrossy Oct 3, 2023
7276b10
Disable ledger connector
jmrossy Dec 14, 2023
2a1f74d
Update tip card text
jmrossy Jan 9, 2024
9c1660c
Merge pull request #110 from hyperlane-xyz/rossy/naut-tip-card-text
jmrossy Jan 9, 2024
07b76e8
Replace favicon
jmrossy Feb 1, 2024
5ab8c95
Merge branch 'nautilus' of github.com:hyperlane-xyz/hyperlane-warp-ui…
jmrossy Feb 1, 2024
249e4a7
twitter link from hyperlane_xyz to hyperlane
avious00 May 29, 2024
5a1625a
update rpc url
cmcewen Aug 21, 2024
e0f2b64
add warning
cmcewen Aug 29, 2024
7f3e83c
clarify language
cmcewen Aug 29, 2024
6f4743e
Add destination blacklist and update tip card text
jmrossy Aug 30, 2024
cbc1c96
Merge pull request #235 from hyperlane-xyz/rossy/nautilus-disable-in-…
cmcewen Aug 30, 2024
cde7b64
feat(warpui): Nautilus shutdown
Mo-Hussain Sep 6, 2024
9ef3d0d
Update src/pages/index.tsx
cmcewen Sep 6, 2024
45a994a
Merge pull request #239 from hyperlane-xyz/nautilus-shutdown
cmcewen Sep 10, 2024
699cfc9
Revert "feat(warpui): Nautilus shutdown"
cmcewen Oct 21, 2024
d81032d
Merge pull request #297 from hyperlane-xyz/revert-239-nautilus-shutdown
cmcewen Oct 21, 2024
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
1 change: 0 additions & 1 deletion CUSTOMIZE.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ The links used in the footer can be found here: `./src/consts/links.ts`
### Public assets / Favicons

The images and manifest files under `./public` should also be updated.
The current collection was generated with [RealFaviconGenerator](https://realfavicongenerator.net)

### Fonts

Expand Down
Binary file modified public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/favicon.ico
Binary file not shown.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logos/POSE.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/logos/USDC.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions public/logos/bitcoin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/logos/tether.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function AppLayout({ children }: PropsWithChildren) {
<Head>
{/* https://nextjs.org/docs/messages/no-document-viewport-meta */}
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hyperlane Warp Route Template UI</title>
<title>Nautilus Bridge</title>
</Head>
<div id="app-content" className="h-full min-h-screen w-full min-w-screen">
<div className="max-w-screen-xl mx-auto flex flex-col justify-between min-h-screen px-4">
Expand Down
4 changes: 2 additions & 2 deletions src/components/nav/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export function Footer() {
</div>
<div className="hidden sm:flex flex-col ml-3">
<p className="leading-6">
Go interchain
Bridge ZBC with the Nautilus Chain Bridge
<br />
with Hyperlane
Build with <Link href="https://www.hyperlane.xyz">Hyperlane</Link>
</p>
</div>
</div>
Expand Down
4 changes: 0 additions & 4 deletions src/components/nav/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ import Image from 'next/image';
import Link from 'next/link';

import { WalletControlBar } from '../../features/wallet/WalletControlBar';
import Logo from '../../images/logos/app-logo.svg';
import Name from '../../images/logos/app-name.svg';
import Title from '../../images/logos/app-title.svg';

export function Header() {
return (
<header className="pt-3 pb-2 w-full">
<div className="flex items-start justify-between">
<Link href="/" className="py-2 flex items-center">
<Image src={Logo} width={19} alt="" />
<Image src={Name} width={110} alt="" className="hidden sm:block mt-0.5 ml-2" />
<Image src={Title} width={185} alt="" className="mt-0.5 ml-2 pb-px" />
</Link>
<div className="flex flex-col items-end md:flex-row-reverse md:items-start gap-2">
Expand Down
19 changes: 3 additions & 16 deletions src/components/tip/TipCard.tsx
Original file line number Diff line number Diff line change
@@ -1,32 +1,19 @@
import Image from 'next/image';
import { useState } from 'react';

import { IconButton } from '../../components/buttons/IconButton';
import { config } from '../../consts/config';
import { links } from '../../consts/links';
import InfoCircle from '../../images/icons/info-circle.svg';
import XCircle from '../../images/icons/x-circle.svg';

export function TipCard() {
const [show, setShow] = useState(config.showTipBox);
if (!show) return null;
return (
<div className="relative px-3 py-3 w-100 sm:w-[31rem] bg-blue-500 shadow-lg rounded opacity-95">
<h2 className="text-white sm:text-lg">Bridge Tokens with Hyperlane Warp Routes!</h2>
<h2 className="text-white sm:text-lg"> ⚠️ Nautilus Bridge is in deposit-only mode.</h2>
<div className="flex items-end justify-between">
<p className="text-white mt-1.5 text-xs sm:text-sm max-w-[70%]">
Warp Routes make it easy to permissionlessly take your tokens interchain. Fork this
template to get started!
<p className="text-white mt-1.5 text-xs sm:text-sm">
Currently, bridge transfers to Nautilus must originate from BSC or Solana.
</p>
<a
href={links.github}
target="_blank"
rel="noopener noreferrer"
className="ml-2 px-3 py-1.5 flex items-center bg-gray-100 hover:bg-gray-200 active:bg-gray-300 text-xs sm:text-sm text-blue-500 rounded-md transition-all"
>
<Image src={InfoCircle} width={16} alt="" />
<span className="ml-1.5">Learn More</span>
</a>
</div>
<div className="absolute right-3 top-3 invert">
<IconButton
Expand Down
56 changes: 54 additions & 2 deletions src/consts/chains.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ChainMap, ChainMetadata, chainMetadata } from '@hyperlane-xyz/sdk';
import { ChainMap, ChainMetadata, ExplorerFamily, chainMetadata } from '@hyperlane-xyz/sdk';
import { ProtocolType } from '@hyperlane-xyz/utils';

// A map of chain names to ChainMetadata
export const chains: ChainMap<ChainMetadata & { mailbox?: Address }> = {
Expand Down Expand Up @@ -36,7 +37,7 @@ export const chains: ChainMap<ChainMetadata & { mailbox?: Address }> = {
http: process.env.NEXT_PUBLIC_SOLANA_RPC_URL || 'https://api.mainnet-beta.solana.com',
},
],
mailbox: 'TODO',
mailbox: 'Ge9atjAc3Ltu91VTbNpJDCjZ9CFxFyck4h3YBcTF9XPq',
},
solanatestnet: {
...chainMetadata.solanatestnet,
Expand All @@ -46,4 +47,55 @@ export const chains: ChainMap<ChainMetadata & { mailbox?: Address }> = {
...chainMetadata.solanadevnet,
mailbox: '4v25Dz9RccqUrTzmfHzJMsjd1iVoNrWzeJ4o6GYuJrVn',
},
proteustestnet: {
chainId: 88002,
domainId: 88002,
name: 'proteustestnet',
protocol: ProtocolType.Ethereum,
displayName: 'Proteus Testnet',
displayNameShort: 'Proteus',
nativeToken: {
name: 'Zebec',
symbol: 'ZBC',
decimals: 18,
},
rpcUrls: [
{
http: 'https://api.proteus.nautchain.xyz/solana',
},
],
blockExplorers: [
{
name: 'Proteus Explorer',
url: 'https://proteus.nautscan.com/proteus',
apiUrl: 'https://proteus.nautscan.com/proteus',
family: ExplorerFamily.Other,
},
],
mailbox: '0x918D3924Fad8F71551D9081172e9Bb169745461e',
},
nautilus: {
chainId: 22222,
domainId: 22222,
name: 'nautilus',
protocol: ProtocolType.Ethereum,
displayName: 'Nautilus',
logoURI: 'https://www.nautchain.xyz/media/nuatchain_media_kit/naut_sq.png',
nativeToken: {
name: 'Zebec',
symbol: 'ZBC',
decimals: 18,
},
rpcUrls: [
{
http: 'https://api.nautilus.nautchain.xyz',
},
],
blocks: {
confirmations: 1,
reorgPeriod: 1,
estimateBlockTime: 1,
},
mailbox: '0xF59557dfacDc5a1cb8A36Af43aA4819a6A891e88',
},
};
4 changes: 2 additions & 2 deletions src/consts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const config: Config = Object.freeze({
debug: isDevMode,
version,
explorerApiKeys,
showTipBox: true,
showDisabledTokens: true,
showTipBox: !!withdrawalWhitelist,
showDisabledTokens: false,
walletConnectProjectId,
withdrawalWhitelist,
transferBlacklist,
Expand Down
99 changes: 78 additions & 21 deletions src/consts/tokens.ts
Original file line number Diff line number Diff line change
@@ -1,38 +1,95 @@
import { WarpTokenConfig } from '../features/tokens/types';

export const tokenList: WarpTokenConfig = [
// Example collateral token for an EVM chain
// bsc
{
type: 'collateral',
chainId: 5,
address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
hypCollateralAddress: '0x145de8760021c4ac6676376691b78038d3DE9097',
name: 'Weth',
symbol: 'WETH',
decimals: 18,
logoURI: '/logos/weth.png', // See public/logos/
chainId: 56,
address: '0x37a56cdcD83Dce2868f721De58cB3830C44C6303',
hypCollateralAddress: '0xC27980812E2E66491FD457D488509b7E04144b98',
name: 'Zebec',
symbol: 'ZBC',
decimals: 9,
logoURI: '/logos/zebec.png',
},

// Example native token for an EVM chain
// nautilus
{
type: 'native',
chainId: 11155111,
name: 'Ether',
chainId: 22222,
hypNativeAddress: '0x4501bBE6e731A4bC5c60C03A77435b2f6d5e9Fe7',
name: 'Zebec',
symbol: 'ZBC',
decimals: 18,
logoURI: '/logos/zebec.png',
},

// solana
{
type: 'collateral',
chainId: 1399811149,
address: 'wzbcJyhGhQDLTV1S99apZiiBdE4jmYfbw99saMMdP59',
hypCollateralAddress: 'EJqwFjvVJSAxH8Ur2PYuMfdvoJeutjmH6GkoEFQ4MdSa',
name: 'Zebec',
symbol: 'wZBC',
decimals: 9,
isSpl2022: false,
logoURI: '/logos/zebec.png',
},

{
chainId: 56,
name: 'Ethereum Token',
symbol: 'ETH',
decimals: 18,
hypNativeAddress: '0xEa44A29da87B5464774978e6A4F4072A4c048949',
type: 'collateral',
address: '0x2170ed0880ac9a755fd29b2688956bd959f933f8',
hypCollateralAddress: '0x2a6822dc5639b3fe70de6b65b9ff872e554162fa',
isNft: false,
logoURI: '/logos/weth.png',
},

// Example NFT (ERC721) token for an EVM chain
{
chainId: 5,
name: 'Test721',
symbol: 'TEST721',
decimals: 0,
chainId: 56,
name: 'USD Coin',
symbol: 'USDC',
decimals: 18,
type: 'collateral',
address: '0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d',
hypCollateralAddress: '0x6937a62f93a56D2AE9392Fa1649b830ca37F3ea4',
isNft: false,
logoURI: '/logos/USDC.svg',
},
{
chainId: 56,
name: 'Tether USD',
symbol: 'USDT',
decimals: 18,
type: 'collateral',
address: '0x55d398326f99059ff775485246999027b3197955',
hypCollateralAddress: '0xb7d36720a16A1F9Cfc1f7910Ac49f03965401a36',
isNft: false,
logoURI: '/logos/tether.svg',
},
{
chainId: 56,
name: 'BTCB Token',
symbol: 'BTCB',
decimals: 18,
type: 'collateral',
address: '0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c',
hypCollateralAddress: '0xB3545006A532E8C23ebC4e33d5ab2232Cafc35Ad',
isNft: false,
logoURI: '/logos/bitcoin.svg',
},
{
chainId: 22222,
name: 'PoseiSwap Token',
symbol: 'POSE',
decimals: 18,
type: 'collateral',
address: '0x77566D540d1E207dFf8DA205ed78750F9a1e7c55',
hypCollateralAddress: '0xDcbc0faAA269Cf649AC8950838664BB7B355BD6B',
isNft: true,
address: '0xB883935B47B0508b479CEE642DB4b9E2de387920',
hypCollateralAddress: '0x79B1257BDBCaeF98Da685A7c225b6e61a119Cb7a',
isNft: false,
logoURI: '/logos/POSE.jpg',
},
];
4 changes: 2 additions & 2 deletions src/features/transfer/TransferTokenForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,8 @@ function useFormInitialValues(
(routes) => routes.length,
)[0][0];
return {
originCaip2Id: firstRoute.originCaip2Id,
destinationCaip2Id: firstRoute.destCaip2Id,
originCaip2Id: firstRoute.destCaip2Id,
destinationCaip2Id: firstRoute.originCaip2Id,
amount: '',
tokenCaip19Id: '' as TokenCaip19Id,
recipientAddress: '',
Expand Down
5 changes: 2 additions & 3 deletions src/features/wallet/EvmWalletContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import '@rainbow-me/rainbowkit/styles.css';
import {
argentWallet,
coinbaseWallet,
injectedWallet,
ledgerWallet,
injectedWallet, // ledgerWallet,
metaMaskWallet,
omniWallet,
rainbowWallet,
Expand Down Expand Up @@ -35,7 +34,7 @@ const connectors = connectorsForWallets([
metaMaskWallet(connectorConfig),
injectedWallet(connectorConfig),
walletConnectWallet(connectorConfig),
ledgerWallet(connectorConfig),
// ledgerWallet(connectorConfig),
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/features/wallet/SolanaWalletContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { logger } from '../../utils/logger';

export function SolanaWalletContext({ children }: PropsWithChildren<unknown>) {
// TODO support multiple networks
const network = WalletAdapterNetwork.Devnet;
const network = WalletAdapterNetwork.Mainnet;
const endpoint = useMemo(() => clusterApiUrl(network), [network]);
const wallets = useMemo(
() => [
Expand Down
32 changes: 31 additions & 1 deletion src/images/logos/app-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading