Merge pull request #183 from blockworks-foundation/ts/rpc
update rpc urls
This commit is contained in:
commit
d35eded557
|
@ -17,7 +17,9 @@ import Tooltip from '@components/shared/Tooltip'
|
|||
const RPC_URLS = [
|
||||
{
|
||||
label: 'Triton',
|
||||
value: 'https://mango.rpcpool.com/0f9acc0d45173b51bf7d7e09c1e5',
|
||||
value:
|
||||
process.env.NEXT_PUBLIC_ENDPOINT ||
|
||||
'https://mango.rpcpool.com/946ef7337da3f5b8d3e4a34e7f88',
|
||||
},
|
||||
// {
|
||||
// label: 'Genesys Go',
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@blockworks-foundation/mango-feeds": "0.1.6",
|
||||
"@blockworks-foundation/mango-v4": "^0.16.5",
|
||||
"@blockworks-foundation/mango-v4": "^0.16.6",
|
||||
"@headlessui/react": "1.6.6",
|
||||
"@heroicons/react": "2.0.10",
|
||||
"@metaplex-foundation/js": "0.18.3",
|
||||
|
|
|
@ -51,7 +51,8 @@ const RiskDashboard: NextPage = () => {
|
|||
() => {
|
||||
const provider = new AnchorProvider(
|
||||
new web3.Connection(
|
||||
'https://mango.rpcpool.com/0f9acc0d45173b51bf7d7e09c1e5',
|
||||
process.env.NEXT_PUBLIC_ENDPOINT ||
|
||||
'https://mango.rpcpool.com/946ef7337da3f5b8d3e4a34e7f88',
|
||||
'processed'
|
||||
),
|
||||
emptyWallet,
|
||||
|
|
|
@ -75,10 +75,10 @@ const ENDPOINTS = [
|
|||
name: 'mainnet-beta',
|
||||
url:
|
||||
process.env.NEXT_PUBLIC_ENDPOINT ||
|
||||
'https://mango.rpcpool.com/0f9acc0d45173b51bf7d7e09c1e5',
|
||||
'https://mango.rpcpool.com/946ef7337da3f5b8d3e4a34e7f88',
|
||||
websocket:
|
||||
process.env.NEXT_PUBLIC_ENDPOINT ||
|
||||
'https://mango.rpcpool.com/0f9acc0d45173b51bf7d7e09c1e5',
|
||||
'https://mango.rpcpool.com/946ef7337da3f5b8d3e4a34e7f88',
|
||||
custom: false,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -43,7 +43,7 @@ export const FAVORITE_MARKETS_KEY = 'favoriteMarkets-0.2'
|
|||
|
||||
export const THEME_KEY = 'theme-0.1'
|
||||
|
||||
export const RPC_PROVIDER_KEY = 'rpcProviderKey-0.4'
|
||||
export const RPC_PROVIDER_KEY = 'rpcProviderKey-0.5'
|
||||
|
||||
export const PRIORITY_FEE_KEY = 'priorityFeeKey-0.1'
|
||||
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
dependencies:
|
||||
ws "^8.13.0"
|
||||
|
||||
"@blockworks-foundation/mango-v4@^0.16.5":
|
||||
version "0.16.5"
|
||||
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.16.5.tgz#4212f5a5eed1346a90740b61972e0b96ff87ac56"
|
||||
integrity sha512-SR1qbVLEa1L3NIl0UC/4jDYzcarpGmzDgSv59/HvFost90GgLiaVwXLmdsHB1dfFAKCwRS4BIpri3K+i8viDnA==
|
||||
"@blockworks-foundation/mango-v4@^0.16.6":
|
||||
version "0.16.6"
|
||||
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.16.6.tgz#abd65dd70f4c81f6f9b08f6d735ea73b53d2a378"
|
||||
integrity sha512-QKsKiJSbqM0CXcNsrIYaW0TWOTGXktMm4ZQnF+XnO1WyMylq7M5pnA/UPhuGuk2X0KUI9iedVYhoHBO73wdFOA==
|
||||
dependencies:
|
||||
"@coral-xyz/anchor" "^0.27.0"
|
||||
"@project-serum/serum" "0.13.65"
|
||||
|
|
Loading…
Reference in New Issue