From 8e5c3c7655dbf95ef55ab14512616b69da7a8b3c Mon Sep 17 00:00:00 2001 From: Swenschaeferjohann Date: Mon, 25 Aug 2025 20:36:50 -0400 Subject: [PATCH 1/2] update readme.md --- README.md | 13 +++++++++++-- package.json | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 56934a4..f842148 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,21 @@ Original readme: ## Quickstart -Clone the repository and test the program. +1. install the latest compression dependencies + +```shell +npm i -g @lightprotocol/zk-compression-cli@alpha --force + +cargo install --git https://github.com/lightprotocol/photon.git --rev 6ba6813 --locked --force +``` + +2. Clone the repository and test the program. ```shell git clone https://github.com/raydium-io/raydium-cp-swap -cd raydium-cp-swap && yarn && anchor test + +cd raydium-cp-swap && yarn && yarn test ``` ## License diff --git a/package.json b/package.json index 7f9e776..1c11a02 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ }, "dependencies": { "@coral-xyz/anchor": "0.31.1", - "@lightprotocol/compressed-token": "file:../light-protocol/js/compressed-token", - "@lightprotocol/stateless.js": "file:../light-protocol/js/stateless.js", + "@lightprotocol/compressed-token": "0.22.1-alpha.0", + "@lightprotocol/stateless.js": "0.22.1-alpha.0", "@noble/hashes": "^1.8.0", "@solana/spl-token": "^0.4.8", "@solana/web3.js": "^1.95.3" From 2345d184b0d72525c66ce768fede126665546c31 Mon Sep 17 00:00:00 2001 From: Swenschaeferjohann Date: Mon, 25 Aug 2025 20:37:41 -0400 Subject: [PATCH 2/2] update readme.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f842148..8adebce 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Original readme: # Installing using Anchor version manager (avm) cargo install --git https://github.com/coral-xyz/anchor avm --locked --force # Install anchor - avm install 0.31.0 + avm install 0.31.1 ``` ## Quickstart