Development Overview
#
Building the projectThe project can be built in either of two ways: in the supplied container or locally.
#
Building the container imageThe building the docker image document gives detailed instructions on how to build and run the container supplied in the repo for testing and developing.
#
Building locallyIn order to build Lido for Solana locally, one will need a number of prerequisites:
- Rust toolchain
- Solana toolchain
- Misc System Packages: libudev-dev, libhidapi-dev, pkg-config, openssl (these are the package names for Debian, please source equivalents for your OS is they are not already installed)
#
CLITo build/test the CLI, one can use the normal cargo commands:
#
On-Chain ProgramsFor the on-chain parts of the repo, one must use the bpf equivalent commands:
Note: The BPF commands require the Solana SDK to be installed as was previously stated.
#
SpecificationThe Specification document is a deeper dive into the code of Lido for Solana to tour the intent and implementation of the on-chain program and the cli.