Skip to content

Commit 702d53b

Browse files
authored
Merge pull request aldrin-labs#51 from aldrin-exchange/develop
Develop: switch RPC + update dependencies
2 parents 3e73c40 + ee19811 commit 702d53b

File tree

4 files changed

+181
-301
lines changed

4 files changed

+181
-301
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v10.17.0
1+
v14.0.0

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"@material-ui/core": "^4.11.2",
99
"@material-ui/icons": "^4.11.2",
1010
"@project-serum/anchor": "^0.7.0",
11-
"@project-serum/serum": "^0.13.24",
11+
"@project-serum/serum": "^0.13.25",
1212
"@solana/spl-token-registry": "^0.2.273",
13-
"@solana/web3.js": "1.12.0",
13+
"@solana/web3.js": "1.32.0",
1414
"@testing-library/jest-dom": "^5.11.6",
1515
"@testing-library/react": "^11.2.2",
1616
"@testing-library/user-event": "^12.6.0",

src/utils/connection.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ export function ConnectionProvider({ children }) {
4141
? // multi connection only for mainnet
4242
new MultiEndpointsConnection(
4343
[
44-
{ url: 'https://api-cryptocurrencies-ai.rpcpool.com', RPS: 20 },
44+
{ url: 'https://frontend-solana-api-1.aldrin.com', RPS: 20 },
45+
// { url: 'https://api-cryptocurrencies-ai.rpcpool.com', RPS: 20 },
4546
// { url: 'https://mango.rpcpool.com/', RPS: 10 },
46-
{ url: 'https://solana-api.projectserum.com', RPS: 2 },
47+
// { url: 'https://solana-api.projectserum.com', RPS: 2 },
4748
// { url: 'https://api.mainnet-beta.solana.com', RPS: 4 },
4849
// { url: 'https://raydium.rpcpool.com/', RPS: 10 },
4950
// { url: 'https://orca.rpcpool.com/', RPS: 10 },

0 commit comments

Comments
 (0)