|
|
преди 1 седмица | |
|---|---|---|
| .. | ||
| src | преди 3 седмици | |
| .gitignore | преди 1 месец | |
| Cargo.toml | преди 1 седмица | |
| README.md | преди 1 месец | |
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