Skip to content

Commit 4690987

Browse files
committed
2 parents 1ef6aba + 467b13c commit 4690987

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ For the workflow you just need to set `use-squads` to true and add the needed se
1515
- ✅ Compute budget optimization
1616
- ✅ Retry mechanisms for RPC failures
1717
- ✅ Running anchor tests
18+
- ✅ Caching for faster reruns for all installs
19+
- ✅ Extend program automatically
20+
1821

1922
### How to use
2023

24+
Create a Solana Program. Either a [native program](https://solana.com/de/developers/guides/getstarted/local-rust-hello-world) and an [anchor program](https://www.anchor-lang.com/docs/quickstart/local). The program with the `anchor.toml` and/or `cargo.toml` need to be in the root of your repository for these workflows to work out of the box.
25+
2126
```yaml
2227
name: Devnet Build and Deploy
2328

@@ -202,6 +207,20 @@ The MULTISIG is the address of the multisig you want to use this one you can fin
202207

203208
What this workflow 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.
204209

210+
Once the build was successful you can see the program upgrade transaction in your squads ui:
211+
212+
<img width="1836" alt="image" src="https://github.com/user-attachments/assets/fde50e11-00b8-4c3b-923f-f18029edacdf" />
213+
214+
215+
### Additional step for verification when using squads
216+
217+
When you use squads to deploy your program after you approved the transaction to deploy your program you need to still trigger a remote job of the Ottersec api for it to actually show up in the solana explorer:
218+
219+
```bash
220+
solana-verify remote submit-job --program-id <yourProgramId> --uploader <yourSquadVaultAddress>
221+
```
222+
223+
Hopefully this step will also be automated in the future.
205224

206225
Close Buffer:
207226

0 commit comments

Comments
 (0)