You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Add your local keypair to the squad as a member (At least needs to have voter permissions) so that you can propose transactions. And also add that keypair as a github secret.
174
+
To run it locally add the following to your .secrets file:
2. Add the following to your .secrets file if you want to run it locally or add them to your github secrets if you want to run it in github actions:
185
+
186
+
```bash
187
+
DEVNET_MULTISIG= # Sadly at the time of writing squads V4 does not support devnet
188
+
DEVNET_MULTISIG_VAULT= # Sadly at the time of writing squads V4 does not support devnet
189
+
MAINNET_MULTISIG=
190
+
MAINNET_MULTISIG_VAULT=
191
+
```
192
+
193
+
Where Multisig vault is the address you can find on the top left corner in the [Squads Dachboard](https://v4.squads.so/squads/)
194
+
The MULTISIG is the address of the multisig you want to use this one you can find the the settings. Its a bit more hidden so that people dont accidentally use it as program upgrade authority.
Note: The anchor tests use solana-test-validator which does not work in act docker container on mac because of AVX dependency. Wither run them in github, locally without docker or open PR to fix it. I couldnt find a nice way to fix it.
242
+
Note: The anchor tests use solana-test-validator which does not work in act docker container on mac because of AVX dependency. Either run them in github, locally without docker or open PR to fix it. I couldnt find a nice way to make local-test-validator run in act.
190
243
You can adjust the workflow to run your specific tests as well.
In general its recommended to use the [Squads Multisig](https://docs.squads.so/squads-cli/overview) to manage your programs.
203
-
It makes your program deployments more secure and is considered good practice.
204
-
205
-
1. Setup a new squad in [Squads](https://v4.squads.so/squads/) then transfer your program authority to the squad.
206
-
207
-
2. Add your local keypair to the squad as a member (At least needs to be a voter) so that you can propose transactions. And also add that keypair as a github secret.
208
-
To run it locally add the following to your .secrets file:
209
-
210
-

211
-
212
-
```bash
213
-
DEVNET_DEPLOYER_KEYPAIR=
214
-
MAINNET_DEPLOYER_KEYPAIR=
215
-
```
216
-
217
-
2. Add the following to your .secrets file if you want to run it locally or add them to your github secrets if you want to run it in github actions:
218
-
219
-
```bash
220
-
DEVNET_MULTISIG=
221
-
DEVNET_MULTISIG_VAULT=
222
-
MAINNET_MULTISIG=
223
-
MAINNET_MULTISIG_VAULT=
224
-
```
225
-
226
-
Where Multisig vault is the address you can find on the top left corner in the [Squads Dachboard](https://v4.squads.so/squads/)
227
-
The MULTISIG is the address of the multisig you want to use this one you can find the the settings. Its a bit more hidden so that people dont accidentally use it as program upgrade authority.
228
-
229
-
What this will do is write a program and an IDL buffer for your program and then propose a transaction that you can approve in the Squads UI.
230
-
231
-
4. Now you can run the workflow with the following command:
0 commit comments