Update all Polkadot.js references to Pezkuwi Wallet

- Replace Polkadot.js extension references with Pezkuwi Wallet
- Update explorer links to pezkuwichain.io/explorer
- Update install links to js.pezkuwichain.io
- Update source identifiers from polkadot-js to pezkuwi
This commit is contained in:
2026-01-15 11:25:25 +03:00
parent 51f9b3cab7
commit ddb0390e97
10 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -167,12 +167,12 @@ export const MultisigMembers: React.FC<MultisigMembersProps> = ({
{multisigAddress && ( {multisigAddress && (
<div className="mt-4 text-center"> <div className="mt-4 text-center">
<a <a
href={`https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:9944#/accounts/${multisigAddress}`} href={`https://pezkuwichain.io/explorer/accounts/${multisigAddress}`}
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
className="inline-flex items-center gap-2 text-sm text-blue-400 hover:text-blue-300" className="inline-flex items-center gap-2 text-sm text-blue-400 hover:text-blue-300"
> >
View on Polkadot.js View on Explorer
<ExternalLink className="h-4 w-4" /> <ExternalLink className="h-4 w-4" />
</a> </a>
</div> </div>
+8 -8
View File
@@ -91,7 +91,7 @@ export const PezkuwiWalletButton: React.FC = () => {
<DialogHeader> <DialogHeader>
<DialogTitle className="text-white">Account Details</DialogTitle> <DialogTitle className="text-white">Account Details</DialogTitle>
<DialogDescription className="text-gray-400"> <DialogDescription className="text-gray-400">
Your connected Polkadot account Your connected Pezkuwi account
</DialogDescription> </DialogDescription>
</DialogHeader> </DialogHeader>
@@ -123,7 +123,7 @@ export const PezkuwiWalletButton: React.FC = () => {
<div className="bg-gray-800/50 rounded-lg p-4"> <div className="bg-gray-800/50 rounded-lg p-4">
<div className="text-sm text-gray-400 mb-1">Source</div> <div className="text-sm text-gray-400 mb-1">Source</div>
<div className="text-white"> <div className="text-white">
{selectedAccount.meta.source || 'polkadot-js'} {selectedAccount.meta.source || 'pezkuwi'}
</div> </div>
</div> </div>
@@ -174,29 +174,29 @@ export const PezkuwiWalletButton: React.FC = () => {
Connect Wallet Connect Wallet
</Button> </Button>
{error && error.includes('install Polkadot.js') && ( {error && error.includes('extension') && (
<Dialog open={!!error} onOpenChange={() => {}}> <Dialog open={!!error} onOpenChange={() => {}}>
<DialogContent className="bg-gray-900 border-gray-800"> <DialogContent className="bg-gray-900 border-gray-800">
<DialogHeader> <DialogHeader>
<DialogTitle className="text-white">Install Polkadot.js Extension</DialogTitle> <DialogTitle className="text-white">Install Pezkuwi Wallet Extension</DialogTitle>
<DialogDescription className="text-gray-400"> <DialogDescription className="text-gray-400">
You need the Polkadot.js browser extension to connect your wallet You need the Pezkuwi Wallet browser extension to connect your wallet
</DialogDescription> </DialogDescription>
</DialogHeader> </DialogHeader>
<div className="space-y-4"> <div className="space-y-4">
<p className="text-gray-300"> <p className="text-gray-300">
The Polkadot.js extension allows you to manage your accounts and sign transactions securely. The Pezkuwi Wallet extension allows you to manage your accounts and sign transactions securely.
</p> </p>
<div className="flex gap-3"> <div className="flex gap-3">
<a <a
href="https://polkadot.js.org/extension/" href="https://js.pezkuwichain.io"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
className="flex-1" className="flex-1"
> >
<Button className="w-full bg-orange-600 hover:bg-orange-700"> <Button className="w-full bg-green-600 hover:bg-green-700">
<ExternalLink className="w-4 h-4 mr-2" /> <ExternalLink className="w-4 h-4 mr-2" />
Install Extension Install Extension
</Button> </Button>
+4 -4
View File
@@ -245,7 +245,7 @@ export const ReservesDashboard: React.FC<ReservesDashboardProps> = ({
<AlertDescription> <AlertDescription>
<p className="font-semibold mb-2">How to Verify Reserves:</p> <p className="font-semibold mb-2">How to Verify Reserves:</p>
<ol className="list-decimal list-inside space-y-1 text-sm"> <ol className="list-decimal list-inside space-y-1 text-sm">
<li>Check on-chain wUSDT supply via Polkadot.js Apps</li> <li>Check on-chain wUSDT supply via Pezkuwi Explorer</li>
<li>Verify multisig account balance (if reserves on-chain)</li> <li>Verify multisig account balance (if reserves on-chain)</li>
<li>Compare with off-chain treasury (bank/exchange account)</li> <li>Compare with off-chain treasury (bank/exchange account)</li>
<li>Ensure ratio 100%</li> <li>Ensure ratio 100%</li>
@@ -257,16 +257,16 @@ export const ReservesDashboard: React.FC<ReservesDashboardProps> = ({
<p className="text-sm text-gray-400 mb-3">Quick Links:</p> <p className="text-sm text-gray-400 mb-3">Quick Links:</p>
<div className="space-y-2"> <div className="space-y-2">
<a <a
href="https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:9944#/assets" href="https://pezkuwichain.io/explorer/assets"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
className="flex items-center gap-2 text-blue-400 hover:text-blue-300 text-sm" className="flex items-center gap-2 text-blue-400 hover:text-blue-300 text-sm"
> >
<ExternalLink className="h-4 w-4" /> <ExternalLink className="h-4 w-4" />
View wUSDT Asset on Polkadot.js View wUSDT Asset on Explorer
</a> </a>
<a <a
href="https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:9944#/accounts" href="https://pezkuwichain.io/explorer/accounts"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
className="flex items-center gap-2 text-blue-400 hover:text-blue-300 text-sm" className="flex items-center gap-2 text-blue-400 hover:text-blue-300 text-sm"
+1 -1
View File
@@ -310,7 +310,7 @@ export const TransferModal: React.FC<TransferModalProps> = ({ isOpen, onClose, s
{txStatus === 'signing' && ( {txStatus === 'signing' && (
<div className="bg-yellow-500/10 border border-yellow-500/30 rounded-lg p-3"> <div className="bg-yellow-500/10 border border-yellow-500/30 rounded-lg p-3">
<p className="text-yellow-400 text-sm"> <p className="text-yellow-400 text-sm">
Please sign the transaction in your Polkadot.js extension Please sign the transaction in your Pezkuwi Wallet extension
</p> </p>
</div> </div>
)} )}
@@ -376,11 +376,11 @@ export function CommissionSetupTab() {
<div className="flex gap-2 mb-2"> <div className="flex gap-2 mb-2">
<Button <Button
onClick={() => { onClick={() => {
// Get wallet addresses from Polkadot.js extension // Get wallet addresses from Pezkuwi Wallet extension
// For now, show instruction // For now, show instruction
toast({ toast({
title: 'Get Addresses', title: 'Get Addresses',
description: 'Copy addresses from Polkadot.js wallet and paste below', description: 'Copy addresses from Pezkuwi Wallet and paste below',
}); });
}} }}
variant="outline" variant="outline"
+11 -11
View File
@@ -106,8 +106,8 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
</DialogTitle> </DialogTitle>
<DialogDescription> <DialogDescription>
{selectedAccount {selectedAccount
? 'Manage your Polkadot account' ? 'Manage your Pezkuwi account'
: 'Connect your Polkadot.js extension to interact with PezkuwiChain'} : 'Connect your Pezkuwi Wallet extension to interact with PezkuwiChain'}
</DialogDescription> </DialogDescription>
</DialogHeader> </DialogHeader>
@@ -116,20 +116,20 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
<div className="space-y-4"> <div className="space-y-4">
<div className="p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg"> <div className="p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg">
<p className="text-sm text-yellow-300"> <p className="text-sm text-yellow-300">
Polkadot.js extension not detected. Please install it to continue. Pezkuwi Wallet extension not detected. Please install it to continue.
</p> </p>
</div> </div>
<div className="flex gap-3"> <div className="flex gap-3">
<a <a
href="https://polkadot.js.org/extension/" href="https://js.pezkuwichain.io"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
className="flex-1" className="flex-1"
> >
<Button className="w-full bg-orange-600 hover:bg-orange-700"> <Button className="w-full bg-green-600 hover:bg-green-700">
<Chrome className="mr-2 h-4 w-4" /> <Chrome className="mr-2 h-4 w-4" />
Install Extension Install Pezkuwi Wallet
</Button> </Button>
</a> </a>
</div> </div>
@@ -220,7 +220,7 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
<div> <div>
<div className="text-xs text-gray-400 mb-1">Source</div> <div className="text-xs text-gray-400 mb-1">Source</div>
<div className="text-sm text-gray-300"> <div className="text-sm text-gray-300">
{selectedAccount.meta.source || 'polkadot-js'} {selectedAccount.meta.source || 'pezkuwi'}
</div> </div>
</div> </div>
</div> </div>
@@ -230,7 +230,7 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
<Button <Button
variant="outline" variant="outline"
className="flex-1" className="flex-1"
onClick={() => window.open(`https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:9944#/explorer`, '_blank')} onClick={() => window.open(`https://pezkuwichain.io/explorer`, '_blank')}
> >
<ExternalLink className="mr-2 h-4 w-4" /> <ExternalLink className="mr-2 h-4 w-4" />
View on Explorer View on Explorer
@@ -306,13 +306,13 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
className="w-full bg-gradient-to-r from-purple-600 to-cyan-400 hover:from-purple-700 hover:to-cyan-500" className="w-full bg-gradient-to-r from-purple-600 to-cyan-400 hover:from-purple-700 hover:to-cyan-500"
> >
<Wallet className="mr-2 h-4 w-4" /> <Wallet className="mr-2 h-4 w-4" />
Connect Polkadot.js Connect Pezkuwi Wallet
</Button> </Button>
<div className="text-sm text-gray-400 text-center"> <div className="text-sm text-gray-400 text-center">
Don&apos;t have Polkadot.js?{' '} Don&apos;t have Pezkuwi Wallet?{' '}
<a <a
href="https://polkadot.js.org/extension/" href="https://js.pezkuwichain.io"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
className="text-purple-400 hover:underline" className="text-purple-400 hover:underline"
+1 -1
View File
@@ -124,7 +124,7 @@ export function ReferralProvider({ children }: { children: ReactNode }) {
description: 'Please sign the transaction...', description: 'Please sign the transaction...',
}); });
await initiateReferral(api, { address: account, meta: { source: 'polkadot-js' } } as Record<string, unknown>, referredAddress); await initiateReferral(api, { address: account, meta: { source: 'pezkuwi' } } as Record<string, unknown>, referredAddress);
toast({ toast({
title: 'Success!', title: 'Success!',
+1 -1
View File
@@ -49,7 +49,7 @@ const unsub = await api.tx.balances
<h2 className="text-2xl font-bold mb-2">Quick Start Guide</h2> <h2 className="text-2xl font-bold mb-2">Quick Start Guide</h2>
<p className="text-gray-400 mb-4">Your first steps to building a dApp on PezkuwiChain.</p> <p className="text-gray-400 mb-4">Your first steps to building a dApp on PezkuwiChain.</p>
<ol className="list-decimal list-inside space-y-2"> <ol className="list-decimal list-inside space-y-2">
<li>Install the Polkadot.js extension.</li> <li>Install the Pezkuwi Wallet extension.</li>
<li>Get some testnet HEZ from the Faucet.</li> <li>Clone a starter project from our GitHub.</li> <li>Get some testnet HEZ from the Faucet.</li> <li>Clone a starter project from our GitHub.</li>
<li>Start building!</li> <li>Start building!</li>
</ol> </ol>
+4 -4
View File
@@ -105,13 +105,13 @@ const Login: React.FC = () => {
if (selectedAccount) { if (selectedAccount) {
navigate('/'); navigate('/');
} else { } else {
setError('Please select an account from your Polkadot.js extension'); setError('Please select an account from your Pezkuwi Wallet extension');
} }
} catch (err) { } catch (err) {
if (import.meta.env.DEV) console.error('Wallet connection failed:', err); if (import.meta.env.DEV) console.error('Wallet connection failed:', err);
const errorMsg = err instanceof Error ? err.message : ''; const errorMsg = err instanceof Error ? err.message : '';
if (errorMsg?.includes('extension')) { if (errorMsg?.includes('extension')) {
setError('Polkadot.js extension not found. Please install it first.'); setError('Pezkuwi Wallet extension not found. Please install it first.');
} else { } else {
setError('Failed to connect wallet. Please try again.'); setError('Failed to connect wallet. Please try again.');
} }
@@ -366,11 +366,11 @@ const Login: React.FC = () => {
disabled={loading} disabled={loading}
> >
<Wallet className="mr-2 h-4 w-4" /> <Wallet className="mr-2 h-4 w-4" />
{t('login.connectWallet', 'Connect with Polkadot.js')} {t('login.connectWallet', 'Connect with Pezkuwi Wallet')}
</Button> </Button>
<p className="mt-2 text-xs text-center text-gray-500"> <p className="mt-2 text-xs text-center text-gray-500">
{t('login.walletHint', 'Connect your Polkadot wallet for instant access')} {t('login.walletHint', 'Connect your Pezkuwi Wallet for instant access')}
</p> </p>
</CardContent> </CardContent>
+1 -1
View File
@@ -16,7 +16,7 @@ const Wiki: React.FC = () => {
const popularArticles = [ const popularArticles = [
'How to become a validator', 'How to become a validator',
'PezkuwiChain tokenomics explained', 'PezkuwiChain tokenomics explained',
'Connecting to the network with Polkadot.js', 'Connecting to the network with Pezkuwi Wallet',
'Understanding the governance process', 'Understanding the governance process',
]; ];