Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix rpc #1136

Merged
merged 2 commits into from
Jan 18, 2025
Merged

fix rpc #1136

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading