Crates.io | psylend-cpi |
lib.rs | psylend-cpi |
version | 0.1.4 |
source | src |
created_at | 2023-02-20 18:48:28.297686 |
updated_at | 2023-09-25 22:49:41.595218 |
description | PsyLend CPI Examples. Borrow-lending protocol on Solana. View source at https://github.com/mithraiclabs/PsyLendCPIExamples. |
homepage | |
repository | |
max_upload_size | |
id | 790067 |
size | 158,405 |
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. You may also want to skip deployment
with anchor test --skip-deploy -- --features devnet
.
This Program was originally compiled with Solana tools 1.14.20 and Anchor 0.26.0, you may experience compatability issues with 1.16.x or later and Anchor 0.28.0 or later.