-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update constants * Prettier * Add realm address * Revert to 0.3.26
- Loading branch information
Showing
12 changed files
with
62 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
import { PublicKey } from "@solana/web3.js"; | ||
import { wasm } from "./StakeConnection"; | ||
|
||
export const MAINNET_ENDPOINT = "https://api.mainnet-beta.solana.com"; | ||
export const DEVNET_ENDPOINT = "https://api.devnet.solana.com"; | ||
|
||
export function GOVERNANCE_ADDRESS() { | ||
return new PublicKey(wasm.Constants.GOVERNANCE_PROGRAM()); | ||
} | ||
|
||
export const STAKING_ADDRESS = new PublicKey( | ||
"sta99txADjRfwHQQMNckb8vUN4jcAAhN2HBMTR2Ah6d" | ||
"pytS9TjG1qyAZypk7n8rw8gfW9sUaqqYyMhJQ4E7JCQ" | ||
); | ||
|
||
export const REALM_ID = new PublicKey( | ||
"A1f6LNEymJSSJsEVCL1FSgtS1jA9dNTC4ni8SkmbwQjG" | ||
"4ct8XU5tKbMNRphWy4rePsS9kBqPhDdvZoGpmprPaug4" | ||
); | ||
|
||
export const MAINNET_PYTH_MINT = new PublicKey( | ||
"3ho8ZM4JVqJzD56FADKdW7NTG5Tv6GiBPFUvyRXMy35Q" | ||
); | ||
export const DEVNET_PYTH_MINT = new PublicKey( | ||
"7Bd6bEH4wHTMmov8D2WTXgxzLJcxJYczqE5NaDtZdhF6" | ||
); | ||
export const EPOCH_DURATION = 3600 * 24 * 7; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
93269fe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
staking-devnet – ./
staking-devnet-pyth-web.vercel.app
staking-devnet-git-main-pyth-web.vercel.app
governance-nu.vercel.app