11[package ]
2- name = " c -token-examples"
2+ name = " light -token-examples"
33version = " 0.1.0"
44description = " Client examples for compressed tokens (cToken) using Light Protocol"
55repository = " https://github.com/Lightprotocol/program-examples"
@@ -8,40 +8,8 @@ edition = "2021"
88
99[lib ]
1010crate-type = [" cdylib" , " lib" ]
11- name = " c_token_examples"
12- path = " programs/src/lib.rs"
13-
14- [[test ]]
15- name = " client-create-cmint"
16- path = " programs/tests/client-create-cmint.rs"
17-
18- [[test ]]
19- name = " client-create-ctoken"
20- path = " programs/tests/client-create-ctoken.rs"
21-
22- [[test ]]
23- name = " client-create-cata"
24- path = " programs/tests/client-create-cata.rs"
25-
26- [[test ]]
27- name = " client-mint-to-ctoken"
28- path = " programs/tests/client-mint-to-ctoken.rs"
29-
30- [[test ]]
31- name = " client-close-ctoken"
32- path = " programs/tests/client-close-ctoken.rs"
33-
34- [[test ]]
35- name = " client-transfer-interface"
36- path = " programs/tests/client-transfer-interface.rs"
37-
38- [[test ]]
39- name = " devnet-spl-ctoken-transfer"
40- path = " programs/tests/devnet-spl-ctoken-transfer.rs"
41-
42- [[test ]]
43- name = " devnet-client-create-mint"
44- path = " programs/tests/devnet-client-create-mint.rs"
11+ name = " light_token_examples"
12+ path = " src/lib.rs"
4513
4614[dependencies ]
4715# Light Protocol SDK dependencies
@@ -56,8 +24,7 @@ solana-program = "2.2"
5624borsh = " 0.10.4"
5725
5826[dev-dependencies ]
59- # Light Protocol test dependencies
60- light-program-test = { version = " 0.17.1" , features = [" v2" , " devenv" ] }
27+ # Light Protocol client
6128light-client = " 0.17.2"
6229
6330# Solana dependencies
@@ -84,10 +51,3 @@ check-cfg = [
8451 ' cfg(target_os, values("solana"))' ,
8552 ' cfg(feature, values("frozen-abi", "no-entrypoint"))' ,
8653]
87-
88- [patch .crates-io ]
89- light-ctoken-sdk = { path = " ../../light-protocol/sdk-libs/ctoken-sdk" }
90- light-ctoken-interface = { path = " ../../light-protocol/program-libs/ctoken-interface" }
91- light-sdk = { path = " ../../light-protocol/sdk-libs/sdk" }
92- light-program-test = { path = " ../../light-protocol/sdk-libs/program-test" }
93- light-client = { path = " ../../light-protocol/sdk-libs/client" }
0 commit comments