Avoid scammers: PsyLend does not have a public crate. The CPI crate (this code) is available here
See the complete guide to common terms, states, structs, and instructions in our Architecture Docs. Still have questions? Try our Discord.
Check out common CPI examples in this repo, and see example front-end usage in the corresponding test suite.
Want to integrate with PsyLend? Looking for Typescript utilities to interact with the program? Check out our npm package: psylend-utils
See our bug bounty policy. Note that the PsyLend protocol is in scope, however the CPI library is not, as this is only a set of examples. Feel free to use the CPI library to look for vulnerabilities in PsyLend.
Tests run on devnet using pre-made PsyLend markets and reserves. Use anchor test -- --features devnet
. Your wallet must have some SOL and USDC for all tests to pass, you can get these at our faucet