Skip to content

Commit

Permalink
update rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
none00y committed Dec 3, 2024
1 parent bc7ceb1 commit 538f889
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/solana/tickers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default async function (req: VercelRequest, res: VercelResponse) {
];

const connection = new Connection(
"https://mainnet.helius-rpc.com/?api-key=6f17ef70-139f-463a-bfaa-85a120eee8d3"
"https://mainnet.helius-rpc.com/?api-key=ef843b40-9876-4a02-a181-a1e6d3e61b4c"
);
const keypair = new Keypair();
const wallet = new Wallet(keypair);
Expand Down
2 changes: 1 addition & 1 deletion api/solana/tickers_sorted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default async function (req: VercelRequest, res: VercelResponse) {
["jupSoLaHXQiZZTSfEWMTRRgpnyFm8f6sZdosWBjx93v", 70], // jupSOL
]);
const connection = new Connection(
"https://mainnet.helius-rpc.com/?api-key=6f17ef70-139f-463a-bfaa-85a120eee8d3"
"https://mainnet.helius-rpc.com/?api-key=ef843b40-9876-4a02-a181-a1e6d3e61b4c"
);
const keypair = new Keypair();
const wallet = new Wallet(keypair);
Expand Down
2 changes: 1 addition & 1 deletion solana/src/full-snap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const createSnapshotForNetwork = async (network: Network) => {
switch (network) {
case Network.MAIN:
provider = Provider.local(
"https://mainnet.helius-rpc.com/?api-key=6f17ef70-139f-463a-bfaa-85a120eee8d3"
"https://mainnet.helius-rpc.com/?api-key=ef843b40-9876-4a02-a181-a1e6d3e61b4c"
);
fileName = "../data/full_mainnet.json";
dataFileName = "../data/mainnet.json";
Expand Down
2 changes: 1 addition & 1 deletion solana/src/pool_apy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const createSnapshotForNetwork = async (network: Network) => {

switch (network) {
case Network.MAIN:
provider = Provider.local('https://mainnet.helius-rpc.com/?api-key=6f17ef70-139f-463a-bfaa-85a120eee8d3')
provider = Provider.local('https://mainnet.helius-rpc.com/?api-key=ef843b40-9876-4a02-a181-a1e6d3e61b4c')
fileName = '../data/pool_apy_mainnet.json'
archiveFileName = '../data/pool_apy_archive_mainnet.json'
ticksFolder = '../data/ticks/mainnet/'
Expand Down
2 changes: 1 addition & 1 deletion solana/src/snap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const createSnapshotForNetwork = async (network: Network) => {
switch (network) {
case Network.MAIN:
provider = Provider.local(
"https://mainnet.helius-rpc.com/?api-key=6f17ef70-139f-463a-bfaa-85a120eee8d3"
"https://mainnet.helius-rpc.com/?api-key=ef843b40-9876-4a02-a181-a1e6d3e61b4c"
);
fileName = "../data/mainnet.json";
snaps = MAINNET_DATA;
Expand Down
2 changes: 1 addition & 1 deletion solana/src/ticks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const createSnapshotForNetwork = async (network: Network) => {

switch (network) {
case Network.MAIN:
provider = Provider.local('https://mainnet.helius-rpc.com/?api-key=6f17ef70-139f-463a-bfaa-85a120eee8d3')
provider = Provider.local('https://mainnet.helius-rpc.com/?api-key=ef843b40-9876-4a02-a181-a1e6d3e61b4c')
folderName = '../data/ticks/mainnet/'
break
case Network.DEV:
Expand Down

0 comments on commit 538f889

Please sign in to comment.