diff --git a/src/components/nav/Footer.tsx b/src/components/nav/Footer.tsx index 7af62209..41fb214b 100644 --- a/src/components/nav/Footer.tsx +++ b/src/components/nav/Footer.tsx @@ -18,9 +18,9 @@ export function Footer() {

- Go interchain + Bridge ZBC with the Nautilus Chain Bridge
- with Hyperlane + Build with Hyperlane

diff --git a/src/components/nav/Header.tsx b/src/components/nav/Header.tsx index 96eae461..e22f343e 100644 --- a/src/components/nav/Header.tsx +++ b/src/components/nav/Header.tsx @@ -2,8 +2,6 @@ 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() { @@ -11,8 +9,6 @@ export function Header() {
- -
diff --git a/src/components/tip/TipCard.tsx b/src/components/tip/TipCard.tsx index 0b1c69c0..d4d779ff 100644 --- a/src/components/tip/TipCard.tsx +++ b/src/components/tip/TipCard.tsx @@ -12,11 +12,11 @@ export function TipCard() { if (!show) return null; return (
-

Bridge Tokens with Hyperlane Warp Routes!

+

⚠️ Nautilus Bridge is in deposit-only mode.

- Warp Routes make it easy to permissionlessly take your tokens interchain. Fork this - template to get started! + Currently, you can bridge from BSC and Solana to Nautilus. Transfers originating Nautilus + are expected to go live September 1st.

= { @@ -46,4 +47,31 @@ export const chains: ChainMap = { ...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', + }, }; diff --git a/src/consts/config.ts b/src/consts/config.ts index 39fa836b..a56d3a29 100644 --- a/src/consts/config.ts +++ b/src/consts/config.ts @@ -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, diff --git a/src/consts/tokens.ts b/src/consts/tokens.ts index 3194d124..eaa3a357 100644 --- a/src/consts/tokens.ts +++ b/src/consts/tokens.ts @@ -1,38 +1,39 @@ import { WarpTokenConfig } from '../features/tokens/types'; export const tokenList: WarpTokenConfig = [ - // Example collateral token for an EVM chain + // bsctestnet { type: 'collateral', - chainId: 5, - address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6', - hypCollateralAddress: '0x145de8760021c4ac6676376691b78038d3DE9097', - name: 'Weth', - symbol: 'WETH', + chainId: 97, + address: '0x64544969ed7ebf5f083679233325356ebe738930', + hypCollateralAddress: '0x31b5234A896FbC4b3e2F7237592D054716762131', + symbol: 'wZBC', + name: 'Zebec', decimals: 18, - logoURI: '/logos/weth.png', // See public/logos/ + logoURI: '/logos/zebec.png', }, - // Example native token for an EVM chain + // proteustestnet { type: 'native', - chainId: 11155111, - name: 'Ether', - symbol: 'ETH', + chainId: 88002, + hypNativeAddress: '0x34A9af13c5555BAD0783C220911b9ef59CfDBCEf', + symbol: 'wZBC', + name: 'Zebec', decimals: 18, - hypNativeAddress: '0xEa44A29da87B5464774978e6A4F4072A4c048949', - logoURI: '/logos/weth.png', + logoURI: '/logos/zebec.png', }, - // Example NFT (ERC721) token for an EVM chain + // solanadevnet { - chainId: 5, - name: 'Test721', - symbol: 'TEST721', - decimals: 0, type: 'collateral', - address: '0x77566D540d1E207dFf8DA205ed78750F9a1e7c55', - hypCollateralAddress: '0xDcbc0faAA269Cf649AC8950838664BB7B355BD6B', - isNft: true, + chainId: 1399811151, + address: 'Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr', + hypCollateralAddress: 'PJH5QAbxAqrrnSXfH3GHR8icua8CDFZmo97z91xmpvx', + name: 'Zebec', + symbol: 'wZBC', + decimals: 6, + isSpl2022: false, + logoURI: '/logos/zebec.png', }, ]; diff --git a/src/features/transfer/TransferTokenForm.tsx b/src/features/transfer/TransferTokenForm.tsx index 96ef5b41..de29a530 100644 --- a/src/features/transfer/TransferTokenForm.tsx +++ b/src/features/transfer/TransferTokenForm.tsx @@ -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: '', diff --git a/src/images/logos/app-logo.svg b/src/images/logos/app-logo.svg index 39b16cad..6f04b152 100644 --- a/src/images/logos/app-logo.svg +++ b/src/images/logos/app-logo.svg @@ -1 +1,31 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/images/logos/app-title.svg b/src/images/logos/app-title.svg index 073c8aae..5721172e 100644 --- a/src/images/logos/app-title.svg +++ b/src/images/logos/app-title.svg @@ -1 +1,26 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index fe391a3f..f8144e8c 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -15,7 +15,7 @@ export default function Document() { - + - + - +