Skip to content

Commit 610027e

Browse files
chore: update walletConnect project id and rpc
1 parent 19fdd93 commit 610027e

File tree

6 files changed

+34
-360
lines changed

6 files changed

+34
-360
lines changed

packages/ui-kit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dependencies": {
2020
"@coral-xyz/anchor": "^0.31.1",
2121
"@metamask/sdk": "^0.32.0",
22-
"@pushchain/core": "^4.0.8",
22+
"@pushchain/core": "^4.0.9",
2323
"@solana/web3.js": "^1.98.2",
2424
"@walletconnect/ethereum-provider": "^2.21.5",
2525
"buffer": "^6.0.3",

packages/ui-kit/src/lib/hooks/usePushChainClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const usePushChainClient = (uid?: string) => {
2121
const [pushChain, setPushChain] = useState<PushChain | null>(null);
2222
const [error, setError] = useState<Error | null>(null);
2323

24-
const MIN_VISIBLE_MS = 2000;
24+
const MIN_VISIBLE_MS = 1500;
2525
const SUCCESS_HIDE_MS = 10000;
2626

2727
const queueRef = useRef<ProgressEvent[]>([]);

packages/ui-kit/src/lib/providers/walletProviders/ethereum/chains.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ export const pushWalletDonut = defineChain({
1414
rpcUrls: {
1515
default: {
1616
http: ['https://evm.donut.rpc.push.org/'],
17-
webSocket: ['wss://evm.pn1.dev.push.org'],
17+
webSocket: ['wss://evm.donut.rpc.push.org'],
1818
},
1919
},
2020
blockExplorers: {
21-
default: { name: 'Explorer', url: 'https://explorer.testnet.push.org' },
21+
default: { name: 'Push Testnet Explorer', url: 'https://donut.push.network/' },
2222
},
2323
});
2424

packages/ui-kit/src/lib/providers/walletProviders/ethereum/walletConnect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class WalletConnectProvider extends BaseWalletProvider {
4343
}
4444

4545
this.provider = await EthereumProvider.init({
46-
projectId: '575a3e339ad56f54669c32264c133172',
46+
projectId: 'd73cf3ac4a677153d241b2bd5092fb1d',
4747
chains: [chainId],
4848
methods: ['eth_sendTransaction', 'personal_sign', 'eth_signTypedData_v4', 'eth_requestAccounts', 'eth_chainId', 'eth_accounts'],
4949
showQrModal: true,

packages/ui-kit/yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -794,9 +794,9 @@ __metadata:
794794
languageName: node
795795
linkType: hard
796796

797-
"@pushchain/core@npm:^4.0.8":
798-
version: 4.0.8
799-
resolution: "@pushchain/core@npm:4.0.8"
797+
"@pushchain/core@npm:^4.0.9":
798+
version: 4.0.9
799+
resolution: "@pushchain/core@npm:4.0.9"
800800
dependencies:
801801
"@bufbuild/protobuf": "npm:^2.0.0"
802802
"@coral-xyz/anchor": "npm:^0.31.0"
@@ -813,7 +813,7 @@ __metadata:
813813
tslib: "npm:^2.3.0"
814814
tweetnacl: "npm:^1.0.3"
815815
viem: "npm:2.27.2"
816-
checksum: 10/ed1a7982575e78dc69fb6100d24a96459ecac187d21b4d09b950f19e55cb6d0356663b58a32515b93bb6b69b0c67eeb6a2506df2462208ef165fe29af08b9f03
816+
checksum: 10/423d409f99c62130580e797a9e9159b9680878e307df3201cab0281c1ea9a83593940150198d4badc74858ac795052689043bb474ae4589960acebdc33f43caa
817817
languageName: node
818818
linkType: hard
819819

@@ -823,7 +823,7 @@ __metadata:
823823
dependencies:
824824
"@coral-xyz/anchor": "npm:^0.31.1"
825825
"@metamask/sdk": "npm:^0.32.0"
826-
"@pushchain/core": "npm:^4.0.8"
826+
"@pushchain/core": "npm:^4.0.9"
827827
"@solana/web3.js": "npm:^1.98.2"
828828
"@types/react": "npm:^18.3.13"
829829
"@types/react-is": "npm:^19"

0 commit comments

Comments
 (0)