Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1076 commits
Select commit Hold shift + click to select a range
7e4f0ab
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.7.1 to …
dependabot[bot] Apr 30, 2024
1d90a85
build(deps-dev): bump @types/node from 20.12.7 to 20.12.8 (#6675)
dependabot[bot] May 2, 2024
b146210
build(deps): bump serde from 1.0.199 to 1.0.200 (#6679)
dependabot[bot] May 3, 2024
17fd9b5
build(deps): bump @solana/web3.js from 1.91.7 to 1.91.8 (#6693)
dependabot[bot] May 6, 2024
faed9e0
build(deps-dev): bump @types/node from 20.12.8 to 20.12.10 (#6699)
dependabot[bot] May 7, 2024
ce49d82
build(deps): bump serde_json from 1.0.116 to 1.0.117 (#6705)
dependabot[bot] May 8, 2024
27e7c22
build(deps): bump serde from 1.0.200 to 1.0.201 (#6706)
dependabot[bot] May 8, 2024
9f28eec
build(deps-dev): bump @types/node from 20.12.10 to 20.12.11 (#6711)
dependabot[bot] May 9, 2024
30a3d34
build(deps-dev): bump rimraf from 5.0.5 to 5.0.7 (#6723)
dependabot[bot] May 13, 2024
3af332a
build(deps-dev): bump @typescript-eslint/parser from 7.8.0 to 7.9.0 (…
dependabot[bot] May 14, 2024
9d5e202
build(deps-dev): bump @types/node from 20.12.11 to 20.12.12 (#6727)
dependabot[bot] May 14, 2024
274a6b3
build(deps): bump bytemuck from 1.15.0 to 1.16.0 (#6729)
dependabot[bot] May 14, 2024
04367ba
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.8.0 to …
dependabot[bot] May 14, 2024
7ad1a30
build(deps): bump serde from 1.0.201 to 1.0.202 (#6733)
dependabot[bot] May 15, 2024
8b5557b
build(deps-dev): bump rollup-plugin-dts from 6.1.0 to 6.1.1 (#6742)
dependabot[bot] May 20, 2024
722741f
stake-pool-js: Add deserializer for `FutureEpoch` (#6745)
joncinque May 20, 2024
dfe4e96
build(deps): bump requests from 2.31.0 to 2.32.0 in /stake-pool/py (#…
dependabot[bot] May 21, 2024
e757470
build(deps-dev): bump ts-jest from 29.1.2 to 29.1.3 (#6749)
dependabot[bot] May 21, 2024
1f3e789
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.9.0 to …
dependabot[bot] May 21, 2024
4969055
build(deps-dev): bump @typescript-eslint/parser from 7.9.0 to 7.10.0 …
dependabot[bot] May 21, 2024
9747f64
build(deps-dev): bump rollup from 4.17.2 to 4.18.0 (#6754)
dependabot[bot] May 22, 2024
5045fbb
build(deps-dev): bump @rollup/plugin-commonjs from 25.0.7 to 25.0.8 (…
dependabot[bot] May 23, 2024
a6da8a1
build(deps): bump serde from 1.0.202 to 1.0.203 (#6763)
dependabot[bot] May 27, 2024
94193cf
build(deps-dev): bump ts-jest from 29.1.3 to 29.1.4 (#6767)
dependabot[bot] May 28, 2024
fb88dee
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.10.0 to…
dependabot[bot] May 28, 2024
a17c57e
build(deps-dev): bump @typescript-eslint/parser from 7.10.0 to 7.11.0…
dependabot[bot] May 28, 2024
b43053a
build(deps-dev): bump @types/node from 20.12.12 to 20.12.13 (#6773)
dependabot[bot] May 30, 2024
dbed222
build(deps): bump borsh from 1.5.0 to 1.5.1 (#6778)
dependabot[bot] Jun 3, 2024
2139272
build(deps-dev): bump prettier from 3.2.5 to 3.3.0 (#6781)
dependabot[bot] Jun 3, 2024
ca0ed55
build(deps-dev): bump @types/node from 20.12.13 to 20.14.0 (#6782)
dependabot[bot] Jun 3, 2024
77b4108
stake-pool-js: Bump version to 1.1.4 for release (#6786)
joncinque Jun 3, 2024
9d77539
build(deps-dev): bump @types/node from 20.14.0 to 20.14.1 (#6787)
dependabot[bot] Jun 4, 2024
3d48e54
build(deps-dev): bump @typescript-eslint/parser from 7.11.0 to 7.12.0…
dependabot[bot] Jun 4, 2024
8a427f4
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.11.0 to…
dependabot[bot] Jun 4, 2024
201a9b9
stake-pool-js: Fix build for downstream users (#6793)
joncinque Jun 4, 2024
93220aa
build(deps-dev): bump @types/node from 20.14.1 to 20.14.2 (#6804)
dependabot[bot] Jun 5, 2024
8c38596
build(deps-dev): bump prettier from 3.3.0 to 3.3.1 (#6801)
dependabot[bot] Jun 5, 2024
826d0dc
build(deps-dev): bump @rollup/plugin-commonjs from 25.0.8 to 26.0.1 (…
dependabot[bot] Jun 6, 2024
1da4723
build(deps): bump @solana/web3.js from 1.91.8 to 1.92.3 (#6813)
dependabot[bot] Jun 6, 2024
828798d
Add Create & Update Token Commands to Stake-Pool CLI (#6805)
sense112 Jun 8, 2024
d1c5098
build(deps-dev): bump prettier from 3.3.1 to 3.3.2 (#6830)
dependabot[bot] Jun 11, 2024
b5578a2
build(deps-dev): bump @typescript-eslint/parser from 7.12.0 to 7.13.0…
dependabot[bot] Jun 11, 2024
cb99a79
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.12.0 to…
dependabot[bot] Jun 11, 2024
e7d3609
stake-pool-cli: Add metaplex program to setup script (#6837)
joncinque Jun 11, 2024
755eca3
build(deps): bump @solana/web3.js from 1.92.3 to 1.93.0 (#6841)
dependabot[bot] Jun 13, 2024
f0898f7
build(deps-dev): bump ts-jest from 29.1.4 to 29.1.5 (#6855)
dependabot[bot] Jun 17, 2024
1f55766
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.13.0 to…
dependabot[bot] Jun 18, 2024
84879e0
build(deps-dev): bump @typescript-eslint/parser from 7.13.0 to 7.13.1…
dependabot[bot] Jun 18, 2024
5249016
build(deps-dev): bump @types/node from 20.14.2 to 20.14.5 (#6869)
dependabot[bot] Jun 18, 2024
597d8af
build(deps-dev): bump @types/node from 20.14.5 to 20.14.6 (#6888)
dependabot[bot] Jun 20, 2024
5004a67
build(deps): bump urllib3 from 1.26.18 to 1.26.19 in /stake-pool/py (…
dependabot[bot] Jun 20, 2024
f0249d6
build(deps-dev): bump @types/node from 20.14.6 to 20.14.7 (#6892)
dependabot[bot] Jun 21, 2024
eb3b2ff
build(deps): bump proptest from 1.4.0 to 1.5.0 (#6899)
dependabot[bot] Jun 24, 2024
d3826e4
build(deps-dev): bump @types/node from 20.14.7 to 20.14.8 (#6906)
dependabot[bot] Jun 24, 2024
37b9583
token: Update to v5 for solana-program 2.0 compatibility (#6907)
joncinque Jun 24, 2024
701f77c
build(deps): bump @solana/web3.js from 1.93.0 to 1.93.1 (#6905)
dependabot[bot] Jun 24, 2024
1f98a0d
build(deps-dev): bump typescript from 5.4.5 to 5.5.2 (#6894)
dependabot[bot] Jun 24, 2024
b4f8163
deps: Upgrade to Solana v2 (#6908)
joncinque Jun 25, 2024
ea67230
token: Bump to v6 for Solana v2 compatibility (#6918)
joncinque Jun 25, 2024
a39a92a
pod: Bump to 0.3.0 for Solana v2 compat (#6917)
joncinque Jun 25, 2024
c67b6ca
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.13.1 to…
dependabot[bot] Jun 25, 2024
26ceb98
build(deps-dev): bump @typescript-eslint/parser from 7.13.1 to 7.14.1…
dependabot[bot] Jun 25, 2024
d489836
token-2022: Bump to v4 for Solana v2 compatibility (#6930)
joncinque Jun 25, 2024
14c9e1e
associated-token-account: Bump to v4 for Solana v2 (#6933)
joncinque Jun 25, 2024
36833df
build(deps): bump serde_json from 1.0.117 to 1.0.118 (#6909)
dependabot[bot] Jun 26, 2024
83b01bb
build(deps): bump bs58 from 0.4.0 to 0.5.1 (#6935)
dependabot[bot] Jun 26, 2024
342eff6
build(deps-dev): bump @types/node from 20.14.8 to 20.14.9 (#6936)
dependabot[bot] Jun 26, 2024
436ee3e
build(deps): bump @solana/web3.js from 1.93.1 to 1.93.2 (#6939)
dependabot[bot] Jun 26, 2024
f3c5887
stake-pool: Bump to v2 for Solana v2 compatibility (#6943)
joncinque Jun 27, 2024
588eb91
stake-pool-cli: Bump to v2 for Solana v2 compatibility (#6944)
joncinque Jun 27, 2024
7401c0f
build(deps): bump @solana/web3.js from 1.93.2 to 1.93.4 (#6947)
dependabot[bot] Jun 28, 2024
e8eaabe
build(deps): bump serde_json from 1.0.118 to 1.0.119 (#6957)
dependabot[bot] Jul 1, 2024
0f0d36c
build(deps-dev): bump @typescript-eslint/parser from 7.14.1 to 7.15.0…
dependabot[bot] Jul 2, 2024
2568872
build(deps): bump serde_json from 1.0.119 to 1.0.120 (#6966)
dependabot[bot] Jul 2, 2024
d6552e5
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.14.1 to…
dependabot[bot] Jul 2, 2024
f016aa1
build(deps-dev): bump typescript from 5.5.2 to 5.5.3 (#6971)
dependabot[bot] Jul 2, 2024
3c5804e
build(deps): bump superstruct from 1.0.4 to 2.0.0 (#6981)
dependabot[bot] Jul 5, 2024
37a733b
build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /stake-pool/p…
dependabot[bot] Jul 5, 2024
2d4368f
build(deps): bump @solana/web3.js from 1.93.4 to 1.94.0 (#6963)
dependabot[bot] Jul 5, 2024
0dff7ca
build(deps): bump serde from 1.0.203 to 1.0.204 (#6983)
dependabot[bot] Jul 8, 2024
aa2f999
build(deps-dev): bump rimraf from 5.0.7 to 5.0.8 (#6985)
dependabot[bot] Jul 8, 2024
d8c6ab6
build(deps): bump superstruct from 2.0.0 to 2.0.2 (#6986)
dependabot[bot] Jul 8, 2024
342df2b
build(deps-dev): bump @types/node from 20.14.9 to 20.14.10 (#6987)
dependabot[bot] Jul 8, 2024
a1e8ef5
build(deps-dev): bump rimraf from 5.0.8 to 6.0.0 (#6995)
dependabot[bot] Jul 10, 2024
630c9ef
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.15.0 to…
dependabot[bot] Jul 10, 2024
36536f1
build(deps-dev): bump rollup from 4.18.0 to 4.18.1 (#6998)
dependabot[bot] Jul 10, 2024
5001a34
build(deps-dev): bump ts-jest from 29.1.5 to 29.2.1 (#7002)
dependabot[bot] Jul 10, 2024
1d8429e
build(deps-dev): bump @typescript-eslint/parser from 7.15.0 to 7.16.0…
dependabot[bot] Jul 11, 2024
46d4d4a
build(deps-dev): bump ts-jest from 29.2.1 to 29.2.2 (#7007)
dependabot[bot] Jul 11, 2024
ad002fa
build(deps-dev): bump rimraf from 6.0.0 to 6.0.1 (#7008)
dependabot[bot] Jul 11, 2024
aba6b41
build(deps-dev): bump prettier from 3.3.2 to 3.3.3 (#7015)
dependabot[bot] Jul 15, 2024
e5f9be6
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.16.0 to…
dependabot[bot] Jul 16, 2024
33a9afa
build(deps-dev): bump @typescript-eslint/parser from 7.16.0 to 7.16.1…
dependabot[bot] Jul 16, 2024
bdc2847
build(deps): bump @solana/web3.js from 1.94.0 to 1.95.0 (#6997)
dependabot[bot] Jul 16, 2024
27947c5
build(deps-dev): bump @types/node from 20.14.10 to 20.14.11 (#7024)
dependabot[bot] Jul 17, 2024
35a25a6
build(deps-dev): bump eslint-plugin-prettier from 5.1.3 to 5.2.1 (#7029)
dependabot[bot] Jul 18, 2024
cf4a5dc
build(deps): bump @solana/web3.js from 1.95.0 to 1.95.1 (#7028)
dependabot[bot] Jul 18, 2024
16a457b
build(deps-dev): bump ts-jest from 29.2.2 to 29.2.3 (#7030)
dependabot[bot] Jul 19, 2024
3b11c3f
build(deps): bump arrayref from 0.3.7 to 0.3.8 (#7034)
dependabot[bot] Jul 22, 2024
dd4771c
build(deps-dev): bump rollup from 4.18.1 to 4.19.0 (#7037)
dependabot[bot] Jul 22, 2024
6414223
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.16.1 to…
dependabot[bot] Jul 23, 2024
434cb9d
build(deps-dev): bump @typescript-eslint/parser from 7.16.1 to 7.17.0…
dependabot[bot] Jul 23, 2024
986d0b6
build(deps-dev): bump typescript from 5.5.3 to 5.5.4 (#7045)
dependabot[bot] Jul 23, 2024
6763e1c
build(deps-dev): bump @types/node from 20.14.11 to 20.14.12 (#7049)
dependabot[bot] Jul 24, 2024
5cd09ca
stake-pool-py: Update to newer solana-py / solders (#7050)
joncinque Jul 25, 2024
221bd47
ci: Bump crates to Solana 2.0.3 (#7047)
joncinque Jul 25, 2024
dfb1489
build(deps-dev): bump rollup from 4.19.0 to 4.19.1 (#7067)
dependabot[bot] Jul 29, 2024
266a685
build(deps-dev): bump @types/node from 20.14.12 to 22.0.0 (#7065)
dependabot[bot] Jul 29, 2024
c6d9ab8
build(deps): bump serde_json from 1.0.120 to 1.0.121 (#7062)
dependabot[bot] Jul 29, 2024
30cd16a
stake-pool: Remove redelegate instruction from program and JS (#7033)
joncinque Jul 29, 2024
29b2c5b
stake-pool: CLI QOL improvements (#7051)
gabrielhicks Jul 29, 2024
1987011
build(deps): bump @solana/web3.js from 1.95.1 to 1.95.2 (#7068)
dependabot[bot] Jul 29, 2024
7c33d9a
build(deps): bump num_enum from 0.7.2 to 0.7.3 (#7071)
dependabot[bot] Jul 30, 2024
752e62d
build(deps-dev): bump @typescript-eslint/parser from 7.17.0 to 7.18.0…
dependabot[bot] Jul 30, 2024
aad2214
build(deps-dev): bump @types/node from 22.0.0 to 22.0.2 (#7088)
dependabot[bot] Aug 1, 2024
7739e9f
build(deps-dev): bump ts-jest from 29.2.3 to 29.2.4 (#7094)
dependabot[bot] Aug 1, 2024
188127e
build(deps-dev): bump rollup from 4.19.1 to 4.19.2 (#7095)
dependabot[bot] Aug 1, 2024
e6c8a62
build(deps): bump serde_json from 1.0.121 to 1.0.122 (#7102)
dependabot[bot] Aug 2, 2024
4ab6295
build(deps-dev): bump @types/node from 22.0.2 to 22.0.3 (#7103)
dependabot[bot] Aug 2, 2024
1344ec4
build(deps-dev): bump rollup from 4.19.2 to 4.20.0 (#7108)
dependabot[bot] Aug 5, 2024
ff272af
build(deps-dev): bump @types/node from 22.0.3 to 22.1.0 (#7111)
dependabot[bot] Aug 5, 2024
1c52e10
pnpm: Use workspace-wide prettier configuration (#7115)
joncinque Aug 5, 2024
641b36f
build(deps): bump serde from 1.0.204 to 1.0.205 (#7124)
dependabot[bot] Aug 8, 2024
f7421fb
build(deps): bump serde from 1.0.205 to 1.0.206 (#7131)
dependabot[bot] Aug 12, 2024
f4c174d
build(deps-dev): bump @types/node from 22.1.0 to 22.2.0 (#7133)
dependabot[bot] Aug 12, 2024
72ff94f
build(deps): bump serde_json from 1.0.122 to 1.0.124 (#7132)
dependabot[bot] Aug 12, 2024
fb8ba29
build(deps): bump serde from 1.0.206 to 1.0.207 (#7139)
dependabot[bot] Aug 13, 2024
5124f12
build(deps-dev): bump @typescript-eslint/parser from 7.18.0 to 8.1.0 …
dependabot[bot] Aug 13, 2024
b2218dd
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.17.0 to…
dependabot[bot] Aug 13, 2024
6c5dfae
stake-pool: Add instruction creators that re-use existing seeds (#7129)
Hrushi20 Aug 13, 2024
c9068db
build(deps-dev): bump @types/node from 22.2.0 to 22.3.0 (#7149)
dependabot[bot] Aug 14, 2024
c59793a
build(deps): bump serde_json from 1.0.124 to 1.0.125 (#7157)
dependabot[bot] Aug 16, 2024
fbbfb6f
build(deps): bump bytemuck from 1.16.3 to 1.17.0 (#7159)
dependabot[bot] Aug 16, 2024
52fd1d5
build(deps): bump serde from 1.0.207 to 1.0.208 (#7158)
dependabot[bot] Aug 16, 2024
d816434
build(deps-dev): bump @types/node from 22.3.0 to 22.4.1 (#7170)
dependabot[bot] Aug 19, 2024
b6b3dd8
build(deps-dev): bump rollup from 4.20.0 to 4.21.0 (#7169)
dependabot[bot] Aug 19, 2024
641393d
build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.1.0 to …
dependabot[bot] Aug 20, 2024
a038a85
build(deps-dev): bump @typescript-eslint/parser from 8.1.0 to 8.2.0 (…
dependabot[bot] Aug 20, 2024
8d3967f
build(deps): bump @solana/web3.js from 1.95.2 to 1.95.3 (#7177)
dependabot[bot] Aug 21, 2024
2463e95
build(deps-dev): bump @types/node from 22.4.1 to 22.4.2 (#7176)
dependabot[bot] Aug 21, 2024
f9e68c4
build(deps-dev): bump @types/node from 22.4.2 to 22.5.0 (#7180)
dependabot[bot] Aug 22, 2024
c7c6601
build(deps): bump serde from 1.0.208 to 1.0.209 (#7187)
dependabot[bot] Aug 26, 2024
fe09942
build(deps-dev): bump ts-jest from 29.2.4 to 29.2.5 (#7191)
dependabot[bot] Aug 26, 2024
f84887e
build(deps): bump serde_json from 1.0.125 to 1.0.127 (#7188)
dependabot[bot] Aug 26, 2024
d4c2c5c
build(deps-dev): bump @typescript-eslint/parser from 8.2.0 to 8.3.0 (…
dependabot[bot] Aug 27, 2024
fe10c0c
build(deps-dev): bump rollup from 4.21.0 to 4.21.1 (#7199)
dependabot[bot] Aug 27, 2024
653d7da
build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.2.0 to …
dependabot[bot] Aug 27, 2024
2637a1e
ATA: Extract associated-token-account-client crate from associated-to…
kevinheavey Aug 27, 2024
68ce2a7
Publish pod v0.3.2
github-actions[bot] Aug 27, 2024
2353b06
Publish token-2022 v5.0.0
github-actions[bot] Aug 27, 2024
432a523
Publish pod v0.4.0
github-actions[bot] Aug 28, 2024
3eb62a7
build(deps-dev): bump @types/node from 22.5.0 to 22.5.1 (#7210)
dependabot[bot] Aug 28, 2024
15d2295
Publish token-2022 v5.0.1
github-actions[bot] Aug 28, 2024
34a260f
build(deps-dev): bump rollup from 4.21.1 to 4.21.2 (#7219)
dependabot[bot] Aug 30, 2024
a0106e4
build(deps-dev): bump @types/node from 22.5.1 to 22.5.2 (#7228)
dependabot[bot] Sep 2, 2024
459569e
build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.3.0 to …
dependabot[bot] Sep 3, 2024
c41ffb7
build(deps-dev): bump @typescript-eslint/parser from 8.3.0 to 8.4.0 (…
dependabot[bot] Sep 3, 2024
0b83a8e
Publish token-2022 v5.0.2
github-actions[bot] Sep 3, 2024
af03d15
Publish associated-token-account v4.0.1
github-actions[bot] Sep 3, 2024
50bb0fd
Publish associated-token-account v5.0.1
github-actions[bot] Sep 3, 2024
5b37e11
build(deps-dev): bump @types/node from 22.5.2 to 22.5.3 (#7239)
dependabot[bot] Sep 4, 2024
96d8013
build(deps): bump serde_json from 1.0.127 to 1.0.128 (#7241)
dependabot[bot] Sep 5, 2024
0c507f5
build(deps-dev): bump @types/node from 22.5.3 to 22.5.4 (#7242)
dependabot[bot] Sep 5, 2024
b286e45
build(deps): bump bytemuck from 1.17.1 to 1.18.0 (#7244)
dependabot[bot] Sep 6, 2024
c6fcaee
build(deps): bump serde from 1.0.209 to 1.0.210 (#7250)
dependabot[bot] Sep 9, 2024
06bc907
build(deps-dev): bump typescript from 5.5.4 to 5.6.2 (#7255)
dependabot[bot] Sep 10, 2024
13b5d72
build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.4.0 to …
dependabot[bot] Sep 10, 2024
15727f0
build(deps-dev): bump @typescript-eslint/parser from 8.4.0 to 8.5.0 (…
dependabot[bot] Sep 10, 2024
b8de1c8
Revert ESLint plugin bump (#7260)
buffalojoec Sep 12, 2024
3b5b5c5
build(deps-dev): bump rollup from 4.21.2 to 4.21.3 (#7268)
dependabot[bot] Sep 12, 2024
41fb1e1
build(deps-dev): bump @types/jest from 29.5.12 to 29.5.13 (#7274)
dependabot[bot] Sep 13, 2024
ec8a8b3
build(deps): bump arrayref from 0.3.8 to 0.3.9 (#7278)
dependabot[bot] Sep 16, 2024
3713e53
build(deps-dev): bump @types/node from 22.5.4 to 22.5.5 (#7279)
dependabot[bot] Sep 16, 2024
27dfe39
build(deps-dev): bump @types/bn.js from 5.1.5 to 5.1.6 (#7281)
dependabot[bot] Sep 16, 2024
3117d08
build(deps-dev): bump rollup from 4.21.3 to 4.22.2 (#7286)
dependabot[bot] Sep 20, 2024
00ec87a
build(deps-dev): bump @rollup/plugin-node-resolve from 15.2.3 to 15.2…
dependabot[bot] Sep 23, 2024
60bb324
build(deps-dev): bump @rollup/plugin-alias from 5.1.0 to 5.1.1 (#7289)
dependabot[bot] Sep 23, 2024
ec78b79
build(deps-dev): bump rollup from 4.22.2 to 4.22.4 (#7291)
dependabot[bot] Sep 23, 2024
930a377
build(deps-dev): bump @rollup/plugin-typescript from 11.1.6 to 12.1.0…
dependabot[bot] Sep 23, 2024
77ec835
Publish spl-math v0.3.0
github-actions[bot] Sep 23, 2024
4af8606
build(deps-dev): bump @types/node from 22.5.5 to 22.6.1 (#7295)
dependabot[bot] Sep 24, 2024
5bb9ed0
build(deps-dev): bump @rollup/plugin-commonjs from 26.0.1 to 28.0.0 (…
dependabot[bot] Sep 24, 2024
9db0417
build(deps-dev): bump @rollup/plugin-node-resolve from 15.2.4 to 15.3…
dependabot[bot] Sep 24, 2024
6cbfd53
build(deps-dev): bump @types/node from 22.6.1 to 22.7.0 (#7302)
dependabot[bot] Sep 25, 2024
b2fa720
build(deps-dev): bump @types/node from 22.7.0 to 22.7.2 (#7307)
dependabot[bot] Sep 27, 2024
70f5637
build(deps-dev): bump @types/node from 22.7.2 to 22.7.4 (#7310)
dependabot[bot] Oct 1, 2024
21846ab
build(deps-dev): bump rollup from 4.22.4 to 4.23.0 (#7313)
dependabot[bot] Oct 1, 2024
e59bc15
build(deps-dev): bump rollup from 4.23.0 to 4.24.0 (#7321)
dependabot[bot] Oct 3, 2024
d6e44e4
build(deps-dev): bump @types/node from 22.7.4 to 22.7.5 (#7337)
dependabot[bot] Oct 8, 2024
aa05487
stake-pool-js: export the StakePoolLayout (#7324)
tomjohn1028 Oct 8, 2024
509e3a9
stake-pool-js: Bump to release (#7342)
joncinque Oct 8, 2024
03ce5db
build(deps-dev): bump typescript from 5.6.2 to 5.6.3 (#7343)
dependabot[bot] Oct 9, 2024
88293e8
build(deps): bump bytemuck from 1.18.0 to 1.19.0 (#7345)
dependabot[bot] Oct 14, 2024
ec351ba
stake-pool-js: Bump to 1.1.7 (#7347)
joncinque Oct 14, 2024
f22b9ce
build(deps-dev): bump @rollup/plugin-typescript from 12.1.0 to 12.1.1…
dependabot[bot] Oct 16, 2024
a1e1dcd
build(deps-dev): bump @rollup/plugin-commonjs from 28.0.0 to 28.0.1 (…
dependabot[bot] Oct 16, 2024
e0db14e
build(deps-dev): bump @types/node from 22.7.5 to 22.7.6 (#7362)
dependabot[bot] Oct 17, 2024
140546a
Hardcode the discriminators so that you don't have to compute them at…
steveluscher Oct 17, 2024
a464792
Sync versions with NPM
steveluscher Oct 17, 2024
eebc030
build(deps): bump serde_json from 1.0.128 to 1.0.129 (#7364)
dependabot[bot] Oct 18, 2024
5017ccb
build(deps): bump @solana/web3.js from 1.95.3 to 1.95.4 (#7366)
dependabot[bot] Oct 18, 2024
3c4cf4b
build(deps): bump serde_json from 1.0.129 to 1.0.132 (#7372)
dependabot[bot] Oct 21, 2024
4ff15de
build(deps-dev): bump @types/node from 22.7.6 to 22.7.7 (#7373)
dependabot[bot] Oct 21, 2024
62d2b1d
build(deps): bump serde from 1.0.210 to 1.0.211 (#7380)
dependabot[bot] Oct 22, 2024
c13d6dd
build(deps-dev): bump @types/node from 22.7.7 to 22.7.8 (#7384)
dependabot[bot] Oct 22, 2024
0ea0951
build(deps): bump serde from 1.0.211 to 1.0.213 (#7388)
dependabot[bot] Oct 23, 2024
60361b1
build(deps-dev): bump @types/node from 22.7.8 to 22.7.9 (#7390)
dependabot[bot] Oct 23, 2024
544c3ab
build(deps-dev): bump @types/jest from 29.5.13 to 29.5.14 (#7391)
dependabot[bot] Oct 23, 2024
4e8c6e1
build(deps-dev): bump @types/node from 22.7.9 to 22.8.1 (#7401)
dependabot[bot] Oct 28, 2024
f539d7e
build(deps-dev): bump rollup from 4.24.0 to 4.24.2 (#7402)
dependabot[bot] Oct 28, 2024
0f5ef1d
build(deps): bump serde from 1.0.213 to 1.0.214 (#7405)
dependabot[bot] Oct 29, 2024
efb8971
build(deps-dev): bump @types/node from 22.8.1 to 22.8.2 (#7407)
dependabot[bot] Oct 29, 2024
cbe1ad0
build(deps-dev): bump rollup from 4.24.2 to 4.24.3 (#7414)
dependabot[bot] Oct 30, 2024
db0dfc2
build(deps-dev): bump @types/node from 22.8.2 to 22.8.4 (#7411)
dependabot[bot] Oct 30, 2024
7082aa0
build(deps-dev): bump @types/node from 22.8.4 to 22.8.5 (#7423)
dependabot[bot] Oct 31, 2024
48e34b2
chore: update instruction.rs (#7420)
eltociear Oct 31, 2024
f1b1d34
CI: Update to Solana v2.1 crates (#7416)
joncinque Oct 31, 2024
e4a11af
Extract spl-math-utils from spl-math (#7421)
kevinheavey Oct 31, 2024
770ed45
Publish spl-pod v0.5.0
github-actions[bot] Nov 1, 2024
7a8aeed
build(deps-dev): bump @types/node from 22.8.5 to 22.8.6 (#7439)
dependabot[bot] Nov 1, 2024
f1f629e
Publish spl-associated-token-account-client v2.0.0
github-actions[bot] Nov 1, 2024
5f29e7c
Publish spl-token v7.0.0
github-actions[bot] Nov 1, 2024
9074227
Publish spl-token-2022 v6.0.0
github-actions[bot] Nov 1, 2024
79b54b4
Publish spl-associated-token-account v6.0.0
github-actions[bot] Nov 1, 2024
a2020b8
build(deps-dev): bump rollup from 4.24.3 to 4.24.4 (#7454)
dependabot[bot] Nov 4, 2024
60b5407
build(deps-dev): bump @types/node from 22.8.6 to 22.8.7 (#7452)
dependabot[bot] Nov 4, 2024
c690c2b
build(deps-dev): bump @types/node from 22.8.7 to 22.9.0 (#7459)
dependabot[bot] Nov 5, 2024
289f8ab
build(deps): bump thiserror from 1.0.68 to 2.0.0 (#7462)
dependabot[bot] Nov 6, 2024
a3b0f4a
build(deps): bump borsh from 1.5.1 to 1.5.2 (#7470)
dependabot[bot] Nov 8, 2024
a21609a
build(deps-dev): bump rollup from 4.24.4 to 4.25.0 (#7483)
dependabot[bot] Nov 11, 2024
ca1730c
build(deps): bump serde from 1.0.214 to 1.0.215 (#7485)
dependabot[bot] Nov 12, 2024
c52eef9
build(deps-dev): bump @types/node-fetch from 2.6.11 to 2.6.12 (#7488)
dependabot[bot] Nov 12, 2024
9ca73c0
build(deps-dev): bump rollup from 4.25.0 to 4.26.0 (#7490)
dependabot[bot] Nov 13, 2024
4ed7a15
build(deps): bump borsh from 1.5.2 to 1.5.3 (#7491)
dependabot[bot] Nov 14, 2024
cb8de49
build(deps-dev): bump rollup from 4.26.0 to 4.27.0 (#7494)
dependabot[bot] Nov 15, 2024
48f4e47
build(deps): bump serde_json from 1.0.132 to 1.0.133 (#7497)
dependabot[bot] Nov 18, 2024
36d0735
build(deps-dev): bump rollup from 4.27.0 to 4.27.2 (#7499)
dependabot[bot] Nov 18, 2024
1a26d08
build(deps-dev): bump rollup from 4.27.2 to 4.27.3 (#7506)
dependabot[bot] Nov 19, 2024
a1caf92
build(deps): bump bytemuck from 1.19.0 to 1.20.0 (#7507)
dependabot[bot] Nov 20, 2024
c859981
build(deps-dev): bump @types/node from 22.9.0 to 22.9.1 (#7508)
dependabot[bot] Nov 20, 2024
6b4bf15
stake-pool: Downgrade dependencies for fixed release (#7509)
joncinque Nov 20, 2024
100e3f2
Revert "stake-pool: Downgrade dependencies for fixed release (#7509)"…
joncinque Nov 20, 2024
dbac906
build(deps): bump @solana/web3.js from 1.95.4 to 1.95.5 (#7512)
dependabot[bot] Nov 21, 2024
b64d5d2
fix: typos in stake-pool comments and output messages (#7516)
intls Nov 22, 2024
f43c4cf
build(deps-dev): bump rollup from 4.27.3 to 4.27.4 (#7519)
dependabot[bot] Nov 25, 2024
78dd246
build(deps-dev): bump @types/node from 22.9.1 to 22.9.3 (#7522)
dependabot[bot] Nov 25, 2024
2778612
build(deps-dev): bump typescript from 5.6.3 to 5.7.2 (#7521)
dependabot[bot] Nov 25, 2024
ece1ba2
build(deps-dev): bump @types/node from 22.9.3 to 22.10.0 (#7534)
dependabot[bot] Nov 26, 2024
525398c
build(deps-dev): bump @types/node from 22.10.0 to 22.10.1 (#7544)
dependabot[bot] Nov 28, 2024
bad6788
build(deps-dev): bump rollup from 4.27.4 to 4.28.0 (#7547)
dependabot[bot] Dec 2, 2024
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
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# stake-pool
The SPL Stake Pool program and its clients
# stake-pool program

Full documentation is available at https://spl.solana.com/stake-pool

The command-line interface tool is available in the `./cli` directory.

Javascript bindings are available in the `./js` directory.

Python bindings are available in the `./py` directory.

## Audit

The repository [README](https://github.com/solana-labs/solana-program-library#audits)
contains information about program audits.
41 changes: 41 additions & 0 deletions clients/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[package]
authors = ["Solana Labs Maintainers <[email protected]>"]
description = "SPL-Stake-Pool Command-line Utility"
edition = "2021"
homepage = "https://spl.solana.com/stake-pool"
license = "Apache-2.0"
name = "spl-stake-pool-cli"
repository = "https://github.com/solana-labs/solana-program-library"
version = "2.0.0"

[dependencies]
borsh = "1.5.3"
clap = "2.33.3"
serde = "1.0.215"
serde_derive = "1.0.130"
serde_json = "1.0.133"
solana-account-decoder = "2.1.0"
solana-clap-utils = "2.1.0"
solana-cli-config = "2.1.0"
solana-cli-output = "2.1.0"
solana-client = "2.1.0"
solana-logger = "2.1.0"
solana-program = "2.1.0"
solana-remote-wallet = "2.1.0"
solana-sdk = "2.1.0"
spl-associated-token-account = { version = "=6.0.0", path = "../../associated-token-account/program", features = [
"no-entrypoint",
] }
spl-associated-token-account-client = { version = "=2.0.0", path = "../../associated-token-account/client" }
spl-stake-pool = { version = "=2.0.1", path = "../program", features = [
"no-entrypoint",
] }
spl-token = { version = "=7.0", path = "../../token/program", features = [
"no-entrypoint",
] }
bs58 = "0.5.1"
bincode = "1.3.1"

[[bin]]
name = "spl-stake-pool"
path = "src/main.rs"
7 changes: 7 additions & 0 deletions clients/cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SPL Stake Pool program command-line utility

A basic command-line for creating and using SPL Stake Pools. See https://spl.solana.com/stake-pool for more details.

Under `./scripts`, there are helpful Bash scripts for setting up and running a
stake pool. More information at the
[stake pool quick start guide](https://spl.solana.com/stake-pool/quickstart).
25 changes: 25 additions & 0 deletions clients/cli/scripts/add-validators.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env bash

# Script to add new validators to a stake pool, given the stake pool keyfile and
# a file listing validator vote account pubkeys

cd "$(dirname "$0")" || exit
stake_pool_keyfile=$1
validator_list=$2 # File containing validator vote account addresses, each will be added to the stake pool after creation

add_validator_stakes () {
stake_pool=$1
validator_list=$2
while read -r validator
do
$spl_stake_pool add-validator "$stake_pool" "$validator"
done < "$validator_list"
}

spl_stake_pool=spl-stake-pool
# Uncomment to use a local build
#spl_stake_pool=../../../target/debug/spl-stake-pool

stake_pool_pubkey=$(solana-keygen pubkey "$stake_pool_keyfile")
echo "Adding validator stake accounts to the pool"
add_validator_stakes "$stake_pool_pubkey" "$validator_list"
71 changes: 71 additions & 0 deletions clients/cli/scripts/deposit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#!/usr/bin/env bash

# Script to deposit stakes and SOL into a stake pool, given the stake pool keyfile
# and a path to a file containing a list of validator vote accounts

cd "$(dirname "$0")" || exit
stake_pool_keyfile=$1
validator_list=$2
sol_amount=$3

create_keypair () {
if test ! -f "$1"
then
solana-keygen new --no-passphrase -s -o "$1"
fi
}

create_user_stakes () {
validator_list=$1
sol_amount=$2
authority=$3
while read -r validator
do
create_keypair "$keys_dir/stake_$validator".json
solana create-stake-account "$keys_dir/stake_$validator.json" "$sol_amount" --withdraw-authority "$authority" --stake-authority "$authority"
done < "$validator_list"
}

delegate_user_stakes () {
validator_list=$1
authority=$2
while read -r validator
do
solana delegate-stake --force "$keys_dir/stake_$validator.json" "$validator" --stake-authority "$authority"
done < "$validator_list"
}

deposit_stakes () {
stake_pool_pubkey=$1
validator_list=$2
authority=$3
while read -r validator
do
stake=$(solana-keygen pubkey "$keys_dir/stake_$validator.json")
$spl_stake_pool deposit-stake "$stake_pool_pubkey" "$stake" --withdraw-authority "$authority"
done < "$validator_list"
}

keys_dir=keys
stake_pool_pubkey=$(solana-keygen pubkey "$stake_pool_keyfile")

spl_stake_pool=spl-stake-pool
# Uncomment to use a locally build CLI
#spl_stake_pool=../../../target/debug/spl-stake-pool

echo "Setting up keys directory $keys_dir"
mkdir -p $keys_dir
authority=$keys_dir/authority.json
echo "Setting up authority for deposited stake accounts at $authority"
create_keypair $authority

echo "Creating user stake accounts to deposit into the pool"
create_user_stakes "$validator_list" "$sol_amount" $authority
echo "Delegating user stakes so that deposit will work"
delegate_user_stakes "$validator_list" $authority

echo "Waiting for stakes to activate, this may take awhile depending on the network!"
echo "If you are running on localnet with 32 slots per epoch, wait 12 seconds..."
sleep 12
echo "Depositing stakes into stake pool"
deposit_stakes "$stake_pool_pubkey" "$validator_list" $authority
27 changes: 27 additions & 0 deletions clients/cli/scripts/rebalance.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash

# Script to add a certain amount of SOL into a stake pool, given the stake pool
# keyfile and a path to a file containing a list of validator vote accounts

cd "$(dirname "$0")" || exit
stake_pool_keyfile=$1
validator_list=$2
sol_amount=$3

spl_stake_pool=spl-stake-pool
# Uncomment to use a locally build CLI
#spl_stake_pool=../../../target/debug/spl-stake-pool

increase_stakes () {
stake_pool_pubkey=$1
validator_list=$2
sol_amount=$3
while read -r validator
do
$spl_stake_pool increase-validator-stake "$stake_pool_pubkey" "$validator" "$sol_amount"
done < "$validator_list"
}

stake_pool_pubkey=$(solana-keygen pubkey "$stake_pool_keyfile")
echo "Increasing amount delegated to each validator in stake pool"
increase_stakes "$stake_pool_pubkey" "$validator_list" "$sol_amount"
86 changes: 86 additions & 0 deletions clients/cli/scripts/setup-stake-pool.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#!/usr/bin/env bash

# Script to setup a stake pool from scratch. Please modify the parameters to
# create a stake pool to your liking!

cd "$(dirname "$0")" || exit
command_args=()
sol_amount=$1

###################################################
### MODIFY PARAMETERS BELOW THIS LINE FOR YOUR POOL
###################################################

# Epoch fee, assessed as a percentage of rewards earned by the pool every epoch,
# represented as `numerator / denominator`
command_args+=( --epoch-fee-numerator 1 )
command_args+=( --epoch-fee-denominator 100 )

# Withdrawal fee for SOL and stake accounts, represented as `numerator / denominator`
command_args+=( --withdrawal-fee-numerator 2 )
command_args+=( --withdrawal-fee-denominator 100 )

# Deposit fee for SOL and stake accounts, represented as `numerator / denominator`
command_args+=( --deposit-fee-numerator 3 )
command_args+=( --deposit-fee-denominator 100 )

command_args+=( --referral-fee 0 ) # Percentage of deposit fee that goes towards the referrer (a number between 0 and 100, inclusive)

command_args+=( --max-validators 2350 ) # Maximum number of validators in the stake pool, 2350 is the current maximum possible

# (Optional) Deposit authority, required to sign all deposits into the pool.
# Setting this variable makes the pool "private" or "restricted".
# Uncomment and set to a valid keypair if you want the pool to be restricted.
#command_args+=( --deposit-authority keys/authority.json )

###################################################
### MODIFY PARAMETERS ABOVE THIS LINE FOR YOUR POOL
###################################################

keys_dir=keys
spl_stake_pool=spl-stake-pool
# Uncomment to use a local build
#spl_stake_pool=../../../target/debug/spl-stake-pool

mkdir -p $keys_dir

create_keypair () {
if test ! -f "$1"
then
solana-keygen new --no-passphrase -s -o "$1"
fi
}

echo "Creating pool"
stake_pool_keyfile=$keys_dir/stake-pool.json
validator_list_keyfile=$keys_dir/validator-list.json
mint_keyfile=$keys_dir/mint.json
reserve_keyfile=$keys_dir/reserve.json
create_keypair $stake_pool_keyfile
create_keypair $validator_list_keyfile
create_keypair $mint_keyfile
create_keypair $reserve_keyfile

set -ex
$spl_stake_pool \
create-pool \
"${command_args[@]}" \
--pool-keypair "$stake_pool_keyfile" \
--validator-list-keypair "$validator_list_keyfile" \
--mint-keypair "$mint_keyfile" \
--reserve-keypair "$reserve_keyfile"

set +ex
stake_pool_pubkey=$(solana-keygen pubkey "$stake_pool_keyfile")
set -ex

echo "Creating token metadata"
$spl_stake_pool \
create-token-metadata \
"$stake_pool_pubkey" \
NAME \
SYMBOL \
URI

echo "Depositing SOL into stake pool"
$spl_stake_pool deposit-sol "$stake_pool_pubkey" "$sol_amount"
67 changes: 67 additions & 0 deletions clients/cli/scripts/setup-test-validator.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#!/usr/bin/env bash

# Script to setup a local solana-test-validator with the stake pool program
# given a maximum number of validators and a file path to store the list of
# test validator vote accounts.

cd "$(dirname "$0")" || exit
max_validators=$1
validator_file=$2

create_keypair () {
if test ! -f "$1"
then
solana-keygen new --no-passphrase -s -o "$1"
fi
}

setup_test_validator() {
solana-test-validator \
--clone-upgradeable-program SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy \
--clone-upgradeable-program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s \
--url mainnet-beta \
--slots-per-epoch 32 \
--quiet --reset &
# Uncomment to use a locally built stake program
#solana-test-validator \
# --bpf-program SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy ../../../target/deploy/spl_stake_pool.so \
# --bpf-program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s ../../program/tests/fixtures/mpl_token_metadata.so \
# --slots-per-epoch 32 \
# --quiet --reset &
pid=$!
solana config set --url http://127.0.0.1:8899
solana config set --commitment confirmed
echo "waiting for solana-test-validator, pid: $pid"
sleep 15
}

create_vote_accounts () {
max_validators=$1
validator_file=$2
for number in $(seq 1 "$max_validators")
do
create_keypair "$keys_dir/identity_$number.json"
create_keypair "$keys_dir/vote_$number.json"
create_keypair "$keys_dir/withdrawer_$number.json"
solana create-vote-account "$keys_dir/vote_$number.json" "$keys_dir/identity_$number.json" "$keys_dir/withdrawer_$number.json" --commission 1
vote_pubkey=$(solana-keygen pubkey "$keys_dir/vote_$number.json")
echo "$vote_pubkey" >> "$validator_file"
done
}


echo "Setup keys directory and clear old validator list file if found"
keys_dir=keys
mkdir -p $keys_dir
if test -f "$validator_file"
then
rm "$validator_file"
fi

echo "Setting up local test validator"
setup_test_validator

echo "Creating vote accounts, these accounts be added to the stake pool"
create_vote_accounts "$max_validators" "$validator_file"

echo "Done adding $max_validators validator vote accounts, their pubkeys can be found in $validator_file"
Loading