This repository is intended to collect different proofs of concept related with Solana questions, along with the necessary code to demonstrate them.
- Discuss your PoC idea with the team
- If the PoC idea is accepted, add it to the list of PoCs, sorted alphabetically. The format is:
- [ ] [poc-tag] PoC description.
- From now on, anyone can try creating a PoC code.
- Create a new branch with the poc tag as name, forked from main
- Copy the folder
template-folder
and rename it with the poc tag - Use the example program that is inside the folder to develop your PoC
- Upload your changes to the repository periodically
- Once the code is finished, proceed to show it in the Colloquium meeting
- If the PoC is correctly executed, mark the poc in the list of PoCs as checked.
- [x] [poc-tag] PoC description.
- Create a merge request. Be careful to assign the reviewers correctly
- [account-close] Closing an account in Solana by setting the lamports balance to 0.
- [account-close-2] Closing an account in Solana by setting the lamports balance to (rent_value-1).
- [borsh-serialization] Storing and reading by serializing/deserializing data with Borsh.
- [cpi-is-signer] Checking the
is_signer
boolean is respected between CPI calls. - [pda-account-creation] Creating a PDA account with an owner different than the "correct" owner (a program deriving it).