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

Add solana staking #27

Merged
merged 2 commits into from
Sep 13, 2024
Merged

Add solana staking #27

merged 2 commits into from
Sep 13, 2024

Conversation

drohit-cb
Copy link
Contributor

@drohit-cb drohit-cb commented Sep 6, 2024

What changed? Why?

Example script output

2024/09/05 17:33:36 Stakeable balance: 12.70174739

2024/09/05 17:33:38 Staking operation ID: 2c74407e-f5e1-4bad-9f11-7858191487a3

2024/09/05 17:33:38 Tx unsigned paylaod: 29zbnfQWtiaUUbk7rPwqTL2odCWVUJvmisCBaRPKpzpNugRkyTnbDauCYYY6es8Q2fvARGiVM1hBB6TempvpFfKhQytQehJ4pm4JzyFjT6bFke4pEjpXrur1xdpQcrjxh9zyupMqgmER6Zbk39e6TfUqi5Ehru6qzsZVwUM7HYpWJjRcxfmq8EkMc5VqZZAawQDikWuc2qKTeH9kCx6fGMLaMPFtfsAafiuhzuwA2nDaVocB4dmb7Skr4LrueuQoSNgZ86rZHvMPwC5QyxSpnbATKTD6vvYVAHtb9Bj8nFR1UH55Bpe1CxSk5QkvQtRSYcTVCEucsGASEK9W4AwySV6Adqb3rbbcmL849k2X6hhrtYmFRcfMEUpHqpSoAAwMGjV7UswJBRgbegVZSpgdu5sc7MRTvQqL44uLNeNe58GFKfd4paYHN3aFsgbRQAtNMzbGHMQwLWYB59sKM5q8aBmDuqraDVT834N9iBFLRWPa5VE5aay51ZVj7HthZQk54Zji7Z9qGXyna815yU13iYnTN2xAhzmkywLFNnsB5pW7Q4zL43J12DwE3Y2qVRcMFs7GeDi1ZiQtZwcRfaX2WGqe5VbUaPBk9guFLUGHQ1pgHrSNBjawv3efk2KNweUxZJsYTKWDtq4fbvXpF7rPSVVSMWA6FjMzMdY9pZv9VcahtnJLaDBYsvPfMf5U3azKdpDhg5cn1hhn9YrR46m5HFHP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WMASx5YaTtKTZqnuCqTGq1KZS9qCNQdPspatSmTuBSjUPLVJqbit5FgkEx2BLrWKkiGnusLa8JUXLSFLdstgimzLReXzJzvsZWbAzXHQ748Hm

Sending transaction...
Trying again [1] Sending transaction...
2024/09/05 17:33:38 Broadcasted tx: https://explorer.solana.com/tx/MrzDzimxYXGppusjy2XjuLE9LLDesXjHnhgSiiLEVB4NsSSqfKV3w3Y5FYLp9jviuarxvzGLnCugfJE1eneC5mR?cluster=devnet

Qualified Impact

@cb-heimdall
Copy link

cb-heimdall commented Sep 6, 2024

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

@drohit-cb drohit-cb changed the title Add solana staking [POC] Add solana staking Sep 6, 2024
@drohit-cb drohit-cb force-pushed the add_sol_staking_support branch 2 times, most recently from d28bc65 to 997e84c Compare September 9, 2024 20:43
@facoinbase facoinbase force-pushed the add_sol_staking_support branch 2 times, most recently from 9d81dce to a913f55 Compare September 13, 2024 06:57
@facoinbase facoinbase force-pushed the add_sol_staking_support branch from a913f55 to 9eab85a Compare September 13, 2024 07:11
@facoinbase facoinbase force-pushed the add_sol_staking_support branch from 9eab85a to 26341c1 Compare September 13, 2024 07:14
@facoinbase facoinbase marked this pull request as ready for review September 13, 2024 07:15
@facoinbase facoinbase changed the title [POC] Add solana staking Add solana staking Sep 13, 2024
@facoinbase
Copy link
Contributor

Testing output:

2024/09/12 12:48:46 Stakeable balance: 5

2024/09/12 12:48:47 Staking operation ID: 74a6e134-e401-4b5d-a279-b2b36a97afa5

2024/09/12 12:48:47 Tx unsigned payload: 29zbnfQWtiaUUbk7rPwqTL2odCWVUJvmisCBaRPKpzpNugRkyTnbDauCYYY6es8Q2fvARGiVM1hBB6TempvpFfKhQytQeh4cicWBNKuhenAJQX3c66SgumaiNw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gXvLYx5RSNLiZAH1SsVJgqs52BcD47e1y3owthBMBxAmYPcDcTDEJVadofHExEJTEm6RVMDBLGTvaEkk3odRnN7WXEbWEAaUDK6V6iFae5JsQuvcv5L1meuLy5fKgwpnQaBv3c5mXwHKhqbcgmv4xuhWKyNzNGCdUkWUkoQFBBZ2FP1ZCn2ve9PKH2Md8NoEumHTc1vugQE6aa1G21d5K2zje596EgCpPE5K779jstZGs8VtPrfXWCHZYRGzQRLVXKMVyHGLapYwkR9ecjQvoX9hQ8cxSBL4e2cB7EoQACxtXjZsApDrLEffpfFBhCeCagnumrLgq1ZCYQVzz2t3qpLXcB167DuCEXpoAUYT9c1uVjPJyWRU14tKr6zQNts7XW9qR1YsywfJJ5eHGsJfs87DvoBnpf1TC1PA3evqwPmRHqyjGbuW9qEDXkjRSETdghvYuheKyiV5i4EVMporXBH7kan3FMnMYAnDZmhzk9XhBnGjLg9vVi1HMTm6RuXFKgF2mfopLuwVibxYYyTSf1q8RDj82QxihBiHL8xuMvLsnSyXCNWWKmFCcE4r5xcFRDMhyu3mLX2kwHbYiDqrDEcd3zG8QLNHNSwocVKXtDD2JautzsoS2onWE5QNDTRv4gG8AfE7A4toHrDnP1goNBQD4ceo3myj5CP6BQ3htGdfm4Hm8SXEqVPVNygvF7mr7

Sending transaction...
Trying again [1] Sending transaction...
2024/09/12 12:48:48 Broadcasted tx: https://explorer.solana.com/tx/2HLsgZkPsx5qY5j4f2dwyFbaxUuxSz7zosvsvoG4wTWMNu2t5gjWQc6KT7CQ2uZEyBtrksXTL5pVSWqHqNRsJbYr?cluster=devnet

Copy link
Contributor

@ProfMoo ProfMoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@facoinbase facoinbase merged commit a5cd988 into master Sep 13, 2024
5 checks passed
@facoinbase facoinbase deleted the add_sol_staking_support branch September 13, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants