mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 04:27:56 +00:00
chore: Switch to beta testnet endpoint
- Changed default endpoint from ws://127.0.0.1:9944 to wss://beta.pezkuwichain.io - Preparing for multi-validator beta testnet deployment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -21,9 +21,9 @@ interface PolkadotProviderProps {
|
||||
endpoint?: string;
|
||||
}
|
||||
|
||||
export const PolkadotProvider: React.FC<PolkadotProviderProps> = ({
|
||||
children,
|
||||
endpoint = 'ws://127.0.0.1:9944' // Local testnet RPC
|
||||
export const PolkadotProvider: React.FC<PolkadotProviderProps> = ({
|
||||
children,
|
||||
endpoint = 'wss://beta.pezkuwichain.io' // Beta testnet RPC
|
||||
}) => {
|
||||
const [api, setApi] = useState<ApiPromise | null>(null);
|
||||
const [isApiReady, setIsApiReady] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user