Skip to content

Commit b83d673

Browse files
committed
chore: add readme
1 parent 46d7934 commit b83d673

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Compressed Program Template
2+
3+
This template initializes a counter program with instructions to create a compressed account, increment the accounts counter field and delete the account.
4+
5+
## Build
6+
7+
``
8+
$ anchor build
9+
``
10+
11+
## Test
12+
13+
Requirements:
14+
- light cli
15+
16+
``
17+
$ cargo test-sbf
18+
``
19+
20+
The test spawns a prover server in the background.
21+
In case of a connection refused error on port 3001 try to kill the prover server with `lsof -i:3001` and `kill <pid>`.
22+
23+
24+
## Disclaimer
25+
26+
Programs are audited and deployed on Solana devnet and mainnet.
27+
The light rust macros are experimental and api will change.

0 commit comments

Comments
 (0)