Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/rust-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
- counter/pinocchio
- account-comparison
- zk-id
- light-token
include:
- example: light-token
test-command: cargo test
- example: basic-operations/native
package: native-program-burn
- example: basic-operations/native
Expand Down Expand Up @@ -60,8 +63,9 @@ jobs:
- name: Build and test
working-directory: ${{ matrix.example }}
run: |
TEST_CMD="${{ matrix.test-command || 'cargo test-sbf' }}"
if [ -n "${{ matrix.package }}" ]; then
cargo test-sbf -p ${{ matrix.package }}
$TEST_CMD -p ${{ matrix.package }}
else
cargo test-sbf
$TEST_CMD
fi
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,16 @@ Full compressed account lifecycle (create, increment, decrement, reset, close):

- **[zk-id](./zk-id)** - A minimal zk id Solana program that uses zero-knowledge proofs for identity verification with compressed accounts.


### Light Token Standard Examples

- **[light-token](./light-token/)** - Client examples for light tokens including:
- Create mint with metadata
- Create token account
- Create associated token account
- Mint tokens to light-token account
- Transfer between SPL and light-token accounts
- Close light-token account

## Light Protocol dependencies

### Rust Crates
Expand Down
1 change: 1 addition & 0 deletions cli
5 changes: 5 additions & 0 deletions light-token/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore local environment and secrets
.env
.env*
# Ignore build artifacts
/target/
Loading
Loading