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
890 changes: 216 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Light Protocol
Copyright 2021-2026 Light Protocol Labs

This product is licensed under the Apache License, Version 2.0.

The previous LICENSE file in this repository contained GPL-3.0 text
inherited from the Light Protocol v1 codebase. Apache-2.0 has been the
intended and declared license for the on-chain programs, SDK crates, and
npm packages, as reflected in their respective Cargo.toml and
package.json manifests. The root LICENSE file has been updated to
reflect the actual licensing intent.

Third-party components:

prover/server/ contains MIT-licensed code derived from work
Copyright (c) 2023 Worldcoin Foundation. See prover/server/LICENSE.

program-libs/hasher/src/syscalls/ contains code adapted from
solana-labs/solana, licensed under the Apache License, Version 2.0.
See file headers for attribution.

program-libs/aligned-sized/ is licensed under MIT, Copyright (c) 2023
Light Protocol Labs. See program-libs/aligned-sized/LICENSE.
1 change: 1 addition & 0 deletions forester/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "forester"
version = "1.1.0"
license = "Apache-2.0"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion program-libs/compressible/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.6.0"
edition = "2021"
description = "Light Protocol compressible data structures"
readme = "README.md"
license = "MIT"
license = "Apache-2.0"

[features]
default = ["solana"]
Expand Down
2 changes: 1 addition & 1 deletion program-libs/token-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.5.0"
edition = { workspace = true }
description = "Light Protocol token instruction data types."
readme = "README.md"
license = "MIT"
license = "Apache-2.0"

[features]
anchor = ["light-compressed-account/anchor", "dep:anchor-lang", "light-compressible/anchor"]
Expand Down
1 change: 1 addition & 0 deletions program-tests/account-compression-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "account-compression-test"
version = "1.1.0"
description = "Created with Anchor"
license = "Apache-2.0"
edition = "2021"
publish = false

Expand Down
1 change: 1 addition & 0 deletions program-tests/compressed-token-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "compressed-token-test"
version = "1.1.0"
description = "Created with Anchor"
license = "Apache-2.0"
edition = "2021"
publish = false

Expand Down
1 change: 1 addition & 0 deletions program-tests/e2e-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "e2e-test"
version = "1.1.0"
description = "Created with Anchor"
license = "Apache-2.0"
edition = "2021"
publish = false

Expand Down
1 change: 1 addition & 0 deletions program-tests/registry-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "registry-test"
version = "1.1.0"
description = "Created with Anchor"
license = "Apache-2.0"
edition = "2021"
publish = false

Expand Down
1 change: 1 addition & 0 deletions program-tests/system-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "system-test"
version = "1.1.0"
description = "Created with Anchor"
license = "Apache-2.0"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/program-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "light-program-test"
version = "0.23.0"
description = "A fast local test environment for Solana programs using compressed accounts and tokens."
license = "MIT"
license = "Apache-2.0"
edition = "2021"

[features]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/anchor-manual-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "anchor-manual-test"
version = "0.1.0"
description = "Manual LightAccount implementation test without macros"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/anchor-semi-manual-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "anchor-semi-manual-test"
version = "0.1.0"
description = "Test for #[derive(LightProgram)] macro validation with all variant kinds"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/csdk-anchor-full-derived-test-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "csdk-anchor-full-derived-test-sdk"
version = "0.1.0"
description = "Client SDK for csdk-anchor-full-derived-test program"
license = "Apache-2.0"
edition = "2021"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/csdk-anchor-full-derived-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "csdk-anchor-full-derived-test"
version = "0.1.0"
description = "Anchor program test using add_compressible_instructions macro for all compressible instructions"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/pinocchio-light-program-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "pinocchio-light-program-test"
version = "0.1.0"
description = "Test for #[derive(LightProgramPinocchio)] macro validation with pinocchio"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/pinocchio-manual-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "pinocchio-manual-test"
version = "0.1.0"
description = "Manual LightAccount implementation test with pinocchio (no Anchor)"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/sdk-light-token-pinocchio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "sdk-light-token-pinocchio-test"
version = "0.1.0"
description = "Pinocchio-based Solana program demonstrating compressed token operations"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/sdk-light-token-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "sdk-light-token-test"
version = "0.1.0"
description = "Native Solana program demonstrating compressed token operations"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/single-account-loader-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "single-account-loader-test"
version = "0.1.0"
description = "Minimal Anchor program test for single AccountLoader (zero-copy) macro validation"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/single-ata-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "single-ata-test"
version = "0.1.0"
description = "Minimal Anchor program test for single ATA macro validation"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/single-mint-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "single-mint-test"
version = "0.1.0"
description = "Minimal Anchor program test for single mint macro validation"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/single-pda-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "single-pda-test"
version = "0.1.0"
description = "Minimal Anchor program test for single PDA macro validation"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions sdk-tests/single-token-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "single-token-test"
version = "0.1.0"
description = "Minimal Anchor program test for single token vault macro validation"
license = "Apache-2.0"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "xtask"
version = "1.1.0"
license = "Apache-2.0"
edition = "2021"
publish = false

Expand Down
Loading