diff --git a/README.md b/README.md index 56934a4..8adebce 100644 --- a/README.md +++ b/README.md @@ -35,17 +35,26 @@ 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 -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"