Skip to content

Commit 8773c73

Browse files
authored
chore: update examples (#1885)
* chore: add example repos to readme * chore: remove legacy examples
1 parent ab38b4b commit 8773c73

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+4515
-16131
lines changed

.github/workflows/light-examples-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ jobs:
4747
strategy:
4848
matrix:
4949
include:
50-
- program: token-escrow-test
51-
sub-tests: '[
52-
"cargo test-sbf -p token-escrow"
53-
]'
54-
- program: counter-test
55-
sub-tests: '["cargo test-sbf -p counter"]'
5650
- program: sdk-test-program
5751
sub-tests: '["cargo-test-sbf -p sdk-test"]'
5852
- program: sdk-anchor-test-program

Cargo.lock

Lines changed: 0 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,13 @@ members = [
2727
"sdk-libs/photon-api",
2828
"sdk-libs/program-test",
2929
"xtask",
30-
"examples/anchor/token-escrow",
31-
# "examples/anchor/name-service-without-macros",
32-
"examples/anchor/counter",
33-
# "examples/anchor/memo",
3430
"program-tests/account-compression-test",
3531
"program-tests/compressed-token-test",
3632
"program-tests/e2e-test",
3733
"program-tests/registry-test",
3834
"program-tests/system-cpi-test",
3935
"program-tests/system-cpi-v2-test",
4036
"program-tests/system-test",
41-
# Issue is that anchor discriminator now returns a slice instead of an array
4237
"program-tests/sdk-anchor-test/programs/sdk-anchor-test",
4338
"program-tests/sdk-test",
4439
"program-tests/sdk-pinocchio-test",

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ Documentation is available here: www.zkcompression.com.
1515

1616
Our friends at Helius maintain the official ZK Compression indexer [here](https://github.com/helius-labs/photon).
1717

18+
## Examples
19+
20+
- [program-examples](https://github.com/Lightprotocol/program-examples)
21+
- [example-nodejs-client](https://github.com/Lightprotocol/example-nodejs-client)
22+
- [example-web-client](https://github.com/Lightprotocol/example-web-client)
23+
1824
## Custom Circuits
1925

2026
ZK Compression works with any regular onchain program on Solana. You don't have

examples/anchor/counter/Cargo.toml

Lines changed: 0 additions & 33 deletions
This file was deleted.

examples/anchor/counter/Xargo.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

examples/anchor/counter/src/lib.rs

Lines changed: 0 additions & 248 deletions
This file was deleted.

0 commit comments

Comments
 (0)