Skip to content

Commit

Permalink
tweak (#4)
Browse files Browse the repository at this point in the history
* tweak

* inlcude jito program address

* add jito dao

* update addresses

* new tweak

* update mainnet beta apprved list, etc
  • Loading branch information
ggnine-jito authored Nov 28, 2023
1 parent c807413 commit e3c9b08
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions components/instructions/programs/names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const GOVERNANCE_PROGRAM_NAMES = {
MGovW65tDhMMcpEmsegpsdgvzb6zUwGsNjhXFxRAnjd: 'MEAN DAO Governance Program',
GovMaiHfpVPw8BAM1mbdzgmSZYDw2tdP32J2fapoQoYs: 'Marinade Governance Program',
hgovkRU6Ghe1Qoyb54HdSLdqN7VtxaifBzRmh9jtd3S: 'Helium Governance Program',
jtogvBNH3WBSWDYD5FJfQP2ZxNTuf82zL8GkEhPeaJx: 'Jito Governance Program',
}

// Well known program names displayed on the instruction card
Expand Down
4 changes: 2 additions & 2 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { useRouter } from 'next/router'

const Index = () => {
const router = useRouter()
const REALM = process?.env?.REALM
// process env acting funny
const REALM = 'Jito'

// JITO here todo
useEffect(() => {
const mainUrl = REALM ? `/dao/${REALM}` : '/realms'
if (!router.asPath.includes(mainUrl)) {
Expand Down
14 changes: 14 additions & 0 deletions public/realms/mainnet-beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2417,6 +2417,20 @@
"discord": "https://discord.gg/nAMXAYhTb2",
"github": "https://github.com/port-finance"
},
{
"symbol": "Jito",
"category": "defi",
"bannerImage": "https://pbs.twimg.com/profile_banners/1390300692317761546/1623766655/1500x500",
"displayName": "Jito",
"programId": "jtogvBNH3WBSWDYD5FJfQP2ZxNTuf82zL8GkEhPeaJx",
"realmId": "jjCAwuuNpJCNMLAanpwgJZ6cdXzLPXe2GfD6TaDQBXt",
"ogImage": "https://metadata.jito.network/token/jto/image",
"sortRank": 3,
"website": "https://jito.network/",
"twitter": "@jito_sol",
"discord": "https://discord.com/invite/jito",
"github": "https://github.com/jito-foundation"
},
{
"symbol": "Elusiv",
"category": "other",
Expand Down

0 comments on commit e3c9b08

Please sign in to comment.