Giter Site home page Giter Site logo

psylendcpiexamples's Introduction

PsyLend Protocol CPI Examples (for Integrators)

Avoid scammers: PsyLend does not have a public crate. The CPI crate (this code) is available here

Developers

See the complete guide to common terms, states, structs, and instructions in our Architecture Docs. Still have questions? Try our Discord.

Rust Integrators

Check out common CPI examples in this repo, and see example front-end usage in the corresponding test suite.

Front End Developers and Liquidators

Want to integrate with PsyLend? Looking for Typescript utilities to interact with the program? Check out our npm package: psylend-utils

White Hats and Bug Bounty Hunters

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.

Running Tests

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

psylendcpiexamples's People

Contributors

jgur-psyops avatar andrewsource147 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.