Skip to content

Commit

Permalink
fix() use secure wss
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu committed Nov 29, 2023
1 parent 64c4a7c commit fce6764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Contract, JsonRpcProvider, WebSocketProvider } from 'ethers';
// const JSONRPC_URL = 'http://localhost:8545/';
// const WEBSOCKET_URL = 'ws://localhost:8546';
const JSONRPC_URL = 'https://devnet.zama.ai/';
const WEBSOCKET_URL = 'ws://devnet.ws.zama.ai:8546/';
const WEBSOCKET_URL = 'wss://devnet.ws.zama.ai/';

const jsonProvider = new JsonRpcProvider(JSONRPC_URL);
const wsProvider = new WebSocketProvider(WEBSOCKET_URL);
Expand Down

0 comments on commit fce6764

Please sign in to comment.