Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.21 KB

development.md

File metadata and controls

43 lines (34 loc) · 1.21 KB

Development

Requirements

Build/update Solana dependencies

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

Testing

The tests are executed using the cluster and wallet defined within the ./Anchor.toml file.

Update dependencies

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"

Run tests

To run the tests execute the following command at the root folder of the project:

anchor test