mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-15 10:41:02 +00:00
Update extension references to Pezkuwi.js
- Replace "Pezkuwi Wallet" with "Pezkuwi.js" in extension references - Consistent naming with js.pezkuwichain.io landing page
This commit is contained in:
+4
-4
@@ -17,10 +17,10 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hookform/resolvers": "^3.9.0",
|
"@hookform/resolvers": "^3.9.0",
|
||||||
"@pezkuwi/api": "^16.5.9",
|
"@pezkuwi/api": "^16.5.9",
|
||||||
"@pezkuwi/extension-dapp": "^0.62.14",
|
"@pezkuwi/extension-dapp": "^0.62.16",
|
||||||
"@pezkuwi/keyring": "^14.0.7",
|
"@pezkuwi/keyring": "^14.0.11",
|
||||||
"@pezkuwi/util": "^14.0.7",
|
"@pezkuwi/util": "^14.0.11",
|
||||||
"@pezkuwi/util-crypto": "^14.0.7",
|
"@pezkuwi/util-crypto": "^14.0.11",
|
||||||
"@radix-ui/react-accordion": "^1.2.0",
|
"@radix-ui/react-accordion": "^1.2.0",
|
||||||
"@radix-ui/react-alert-dialog": "^1.1.1",
|
"@radix-ui/react-alert-dialog": "^1.1.1",
|
||||||
"@radix-ui/react-aspect-ratio": "^1.1.0",
|
"@radix-ui/react-aspect-ratio": "^1.1.0",
|
||||||
|
|||||||
@@ -178,15 +178,15 @@ export const PezkuwiWalletButton: React.FC = () => {
|
|||||||
<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 Pezkuwi Wallet Extension</DialogTitle>
|
<DialogTitle className="text-white">Install Pezkuwi.js Extension</DialogTitle>
|
||||||
<DialogDescription className="text-gray-400">
|
<DialogDescription className="text-gray-400">
|
||||||
You need the Pezkuwi Wallet browser extension to connect your wallet
|
You need the Pezkuwi.js 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 Pezkuwi Wallet extension allows you to manage your accounts and sign transactions securely.
|
The Pezkuwi.js extension allows you to manage your accounts and sign transactions securely.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className="flex gap-3">
|
<div className="flex gap-3">
|
||||||
|
|||||||
@@ -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 Pezkuwi Wallet extension
|
Please sign the transaction in your Pezkuwi.js 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 Pezkuwi Wallet extension
|
// Get wallet addresses from Pezkuwi.js extension
|
||||||
// For now, show instruction
|
// For now, show instruction
|
||||||
toast({
|
toast({
|
||||||
title: 'Get Addresses',
|
title: 'Get Addresses',
|
||||||
description: 'Copy addresses from Pezkuwi Wallet and paste below',
|
description: 'Copy addresses from Pezkuwi.js and paste below',
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
variant="outline"
|
variant="outline"
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
|
|||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
{selectedAccount
|
{selectedAccount
|
||||||
? 'Manage your Pezkuwi account'
|
? 'Manage your Pezkuwi account'
|
||||||
: 'Connect your Pezkuwi Wallet extension to interact with PezkuwiChain'}
|
: 'Connect your Pezkuwi.js extension to interact with PezkuwiChain'}
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ 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">
|
||||||
Pezkuwi Wallet extension not detected. Please install it to continue.
|
Pezkuwi.js extension not detected. Please install it to continue.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -129,7 +129,7 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
|
|||||||
>
|
>
|
||||||
<Button className="w-full bg-green-600 hover:bg-green-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 Pezkuwi Wallet
|
Install Pezkuwi.js
|
||||||
</Button>
|
</Button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -306,11 +306,11 @@ 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 Pezkuwi Wallet
|
Connect Pezkuwi.js
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<div className="text-sm text-gray-400 text-center">
|
<div className="text-sm text-gray-400 text-center">
|
||||||
Don't have Pezkuwi Wallet?{' '}
|
Don't have Pezkuwi.js?{' '}
|
||||||
<a
|
<a
|
||||||
href="https://js.pezkuwichain.io"
|
href="https://js.pezkuwichain.io"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
@@ -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 Pezkuwi Wallet extension.</li>
|
<li>Install the Pezkuwi.js 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>
|
||||||
|
|||||||
@@ -105,13 +105,13 @@ const Login: React.FC = () => {
|
|||||||
if (selectedAccount) {
|
if (selectedAccount) {
|
||||||
navigate('/');
|
navigate('/');
|
||||||
} else {
|
} else {
|
||||||
setError('Please select an account from your Pezkuwi Wallet extension');
|
setError('Please select an account from your Pezkuwi.js 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('Pezkuwi Wallet extension not found. Please install it first.');
|
setError('Pezkuwi.js 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 Pezkuwi Wallet')}
|
{t('login.connectWallet', 'Connect with Pezkuwi.js')}
|
||||||
</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 Pezkuwi Wallet for instant access')}
|
{t('login.walletHint', 'Connect your Pezkuwi.js for instant access')}
|
||||||
</p>
|
</p>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|
||||||
|
|||||||
@@ -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 Pezkuwi Wallet',
|
'Connecting to the network with Pezkuwi.js',
|
||||||
'Understanding the governance process',
|
'Understanding the governance process',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user