The program requires Metaplex program library for testing NFT access. To build/update the dependencies execute the ./Makefile
by running the following command within the root directory:
make
The tests are executed using the cluster and wallet defined within the ./Anchor.toml
file.
To update a dependency to his latest version hosted in github, we need to cd into the folder, for instance for the sol-cerberus dependency:
cd deps/sol-cerberus
Then we fetch the latest version:
git fetch
git reset --hard origin/main
and update our repository to reflect this:
cd ../..
git add -A
git ci -m "Updated project dependencies"
To run the tests execute the following command at the root folder of the project:
anchor test