mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 04:27:56 +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": {
|
||||
"@hookform/resolvers": "^3.9.0",
|
||||
"@pezkuwi/api": "^16.5.9",
|
||||
"@pezkuwi/extension-dapp": "^0.62.14",
|
||||
"@pezkuwi/keyring": "^14.0.7",
|
||||
"@pezkuwi/util": "^14.0.7",
|
||||
"@pezkuwi/util-crypto": "^14.0.7",
|
||||
"@pezkuwi/extension-dapp": "^0.62.16",
|
||||
"@pezkuwi/keyring": "^14.0.11",
|
||||
"@pezkuwi/util": "^14.0.11",
|
||||
"@pezkuwi/util-crypto": "^14.0.11",
|
||||
"@radix-ui/react-accordion": "^1.2.0",
|
||||
"@radix-ui/react-alert-dialog": "^1.1.1",
|
||||
"@radix-ui/react-aspect-ratio": "^1.1.0",
|
||||
|
||||
@@ -178,15 +178,15 @@ export const PezkuwiWalletButton: React.FC = () => {
|
||||
<Dialog open={!!error} onOpenChange={() => {}}>
|
||||
<DialogContent className="bg-gray-900 border-gray-800">
|
||||
<DialogHeader>
|
||||
<DialogTitle className="text-white">Install Pezkuwi Wallet Extension</DialogTitle>
|
||||
<DialogTitle className="text-white">Install Pezkuwi.js Extension</DialogTitle>
|
||||
<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>
|
||||
</DialogHeader>
|
||||
|
||||
<div className="space-y-4">
|
||||
<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>
|
||||
|
||||
<div className="flex gap-3">
|
||||
|
||||
@@ -310,7 +310,7 @@ export const TransferModal: React.FC<TransferModalProps> = ({ isOpen, onClose, s
|
||||
{txStatus === 'signing' && (
|
||||
<div className="bg-yellow-500/10 border border-yellow-500/30 rounded-lg p-3">
|
||||
<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>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -376,11 +376,11 @@ export function CommissionSetupTab() {
|
||||
<div className="flex gap-2 mb-2">
|
||||
<Button
|
||||
onClick={() => {
|
||||
// Get wallet addresses from Pezkuwi Wallet extension
|
||||
// Get wallet addresses from Pezkuwi.js extension
|
||||
// For now, show instruction
|
||||
toast({
|
||||
title: 'Get Addresses',
|
||||
description: 'Copy addresses from Pezkuwi Wallet and paste below',
|
||||
description: 'Copy addresses from Pezkuwi.js and paste below',
|
||||
});
|
||||
}}
|
||||
variant="outline"
|
||||
|
||||
@@ -107,7 +107,7 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
|
||||
<DialogDescription>
|
||||
{selectedAccount
|
||||
? 'Manage your Pezkuwi account'
|
||||
: 'Connect your Pezkuwi Wallet extension to interact with PezkuwiChain'}
|
||||
: 'Connect your Pezkuwi.js extension to interact with PezkuwiChain'}
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
|
||||
@@ -116,7 +116,7 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
|
||||
<div className="space-y-4">
|
||||
<div className="p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
@@ -129,7 +129,7 @@ export const WalletModal: React.FC<WalletModalProps> = ({ isOpen, onClose }) =>
|
||||
>
|
||||
<Button className="w-full bg-green-600 hover:bg-green-700">
|
||||
<Chrome className="mr-2 h-4 w-4" />
|
||||
Install Pezkuwi Wallet
|
||||
Install Pezkuwi.js
|
||||
</Button>
|
||||
</a>
|
||||
</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"
|
||||
>
|
||||
<Wallet className="mr-2 h-4 w-4" />
|
||||
Connect Pezkuwi Wallet
|
||||
Connect Pezkuwi.js
|
||||
</Button>
|
||||
|
||||
<div className="text-sm text-gray-400 text-center">
|
||||
Don't have Pezkuwi Wallet?{' '}
|
||||
Don't have Pezkuwi.js?{' '}
|
||||
<a
|
||||
href="https://js.pezkuwichain.io"
|
||||
target="_blank"
|
||||
|
||||
@@ -49,7 +49,7 @@ const unsub = await api.tx.balances
|
||||
<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>
|
||||
<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>Start building!</li>
|
||||
</ol>
|
||||
|
||||
@@ -105,13 +105,13 @@ const Login: React.FC = () => {
|
||||
if (selectedAccount) {
|
||||
navigate('/');
|
||||
} else {
|
||||
setError('Please select an account from your Pezkuwi Wallet extension');
|
||||
setError('Please select an account from your Pezkuwi.js extension');
|
||||
}
|
||||
} catch (err) {
|
||||
if (import.meta.env.DEV) console.error('Wallet connection failed:', err);
|
||||
const errorMsg = err instanceof Error ? err.message : '';
|
||||
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 {
|
||||
setError('Failed to connect wallet. Please try again.');
|
||||
}
|
||||
@@ -366,11 +366,11 @@ const Login: React.FC = () => {
|
||||
disabled={loading}
|
||||
>
|
||||
<Wallet className="mr-2 h-4 w-4" />
|
||||
{t('login.connectWallet', 'Connect with Pezkuwi Wallet')}
|
||||
{t('login.connectWallet', 'Connect with Pezkuwi.js')}
|
||||
</Button>
|
||||
|
||||
<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>
|
||||
</CardContent>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ const Wiki: React.FC = () => {
|
||||
const popularArticles = [
|
||||
'How to become a validator',
|
||||
'PezkuwiChain tokenomics explained',
|
||||
'Connecting to the network with Pezkuwi Wallet',
|
||||
'Connecting to the network with Pezkuwi.js',
|
||||
'Understanding the governance process',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user