|
|
1 tydzień temu | |
|---|---|---|
| .. | ||
| src | 3 tygodni temu | |
| .gitignore | 1 miesiąc temu | |
| Cargo.toml | 1 tydzień temu | |
| README.md | 1 miesiąc temu | |
A Solana program written in sBPF Assembly that allows users to create and increment an on-chain counter.
Its main purpose is to demonstrate how to create an account and manage account data directly using sBPF.
It utilizes the following syscalls:
sol_create_program_addresssol_memcmp_sol_get_rent_sysvarsol_memcpy_sol_invoke_signed_cTo build the program, run the following command:
sbpf build
To test the program, run the following command:
sbpf test
Created with sbpf