Skip to content

Commit

Permalink
Merge pull request #1136 from oraidex/fix/rpc-sol
Browse files Browse the repository at this point in the history
fix rpc
  • Loading branch information
haunv3 authored Jan 18, 2025
2 parents e304596 + 38c847c commit 1fc027e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
display: flex;
flex-direction: column;
gap: 10px;
padding-top: 12px;
max-height: calc(100vh - 300px);
overflow: auto;

Expand Down
5 changes: 4 additions & 1 deletion src/pages/Balance/Balance.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@
.closeIcon {
position: absolute;
right: 10px;
@include mobile {
top: 87px;
}
display: flex;
align-items: center;
cursor: pointer;
Expand Down Expand Up @@ -342,4 +345,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ export default function SelectToken({
'factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/D7yP4ycfsRWUGYionGpi64sLF2ddZ2JXxuRAti2M7uck';
const GNRT_ORAICHAIN_DENOM =
'factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/oraiJP7H3LAt57DkFXNLDbLdBFNRRPvS8jg2j5AZkd9';
const prioritizeToken = [MAX_ORAICHAIN_DENOM, RACKS_ORAICHAIN_DENOM, GNRT_ORAICHAIN_DENOM];
const LEE_ORAICHAIN_DENOM =
'factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/oraix39mVDGnusyjag97Tz5H8GvGriSZmhVvkvXRoc4';
const prioritizeToken = [MAX_ORAICHAIN_DENOM, LEE_ORAICHAIN_DENOM, RACKS_ORAICHAIN_DENOM, GNRT_ORAICHAIN_DENOM];

return (
<div className={`${styles.selectToken} ${isSelectToken ? styles.active : ''}`}>
Expand Down
3 changes: 2 additions & 1 deletion src/program/web3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export const LAMPORT_RESERVES = 1_000_000_000;
export const INIT_BONDING_CURVE = 95;
export const SOL_RELAYER_ADDRESS = 'HGPezSRSzZNXiBhzEXPw1gwCqsdbW7Psy5TjeyB78x8j';
export const ORAICHAIN_RELAYER_ADDRESS = 'orai1ym6qytsu7skv2flw89y0mkey4gn7wl9q4y6r5p';
export const connection = 'https://solana-mainnet.phantom.app/YBPpkkN4g91xDiAnTE9r0RcMkjg0sKUIWvAfoFVJ';
export const connection = 'https://cold-hanni-fast-mainnet.helius-rpc.com';

export class Web3SolanaProgramInteraction {
connection: Connection;

Expand Down

0 comments on commit 1fc027e

Please sign in to comment.