The point of this anchor project is to serve as a starter kit or example to compose with mango-v3 using anchor.

Related tags

Utilities dasheri
Overview
programs
└── dasheri
    ├── Cargo.toml
    ├── Xargo.toml
    ├── src
    │   ├── ids.rs
    │   ├── iou # example of minting iou tokens when depositing to a mango account 
    │   │   ├── instructions
    │   │   ├── mod.rs
    │   │   └── state
    │   ├── lib.rs
    │   └── pool # example of pooling assets and creating a mango account representing the whole pool
    │       ├── error.rs
    │       ├── instructions
    │       ├── mod.rs
    │       └── state
    └── tests
        ├── fixtures
        │   ├── mango.so
        │   └── serum_dex.so
        ├── program_test
        │   ├── assertions.rs
        │   ├── cookies.rs
        │   ├── mod.rs
        │   └── scenarios.rs
        ├── test_iou.rs # test for iou tokens which do a full mango, serum and then dasheri setup
        └── test_pool.rs # test for pool which do a full mango, serum and then dasheri setup

The point of this anchor project is to serve as a starter kit or example to compose with mango-v3 using anchor. It currently provides 2 examples and various inline todos on how to extend this.

Use cases

  • pool - pooled market making, pooled liquidator which can liquidate other large accounts
  • iou - iou tokens via a gateway to mango's borrowing and lending

Development

➜  dasheri git:(main) ✗ rustc --version
rustc 1.57.0 (f1edd0429 2021-11-29)
➜  dasheri git:(main) ✗ solana --version
solana-cli 1.8.5 (src:76c5c94a; feat:52865992)
You might also like...
An example app in Rust for CircleCI's Dynamic Config demo
An example app in Rust for CircleCI's Dynamic Config demo

circleci-dynamic-config-example An example app in Rust for CircleCI's dynamic config demo. Dynamic config allows you to dynamically generate CircleCI'

Tauri and Leptos example.

tauri-leptos-example Tauri Leptos Requires Rust Nightly. See Leptos nightly Note. # Install Tauri CLI cargo install tauri-cli # Build and develop for

Garden monitoring system using m328p Arduino Uno boards. 100% Rust [no_std] using the avr hardware abstraction layer (avr-hal)

uno-revive-rs References Arduino Garden Controller Roadmap uno-revive-rs: roadmap Components & Controllers 1-2 Uno R3 m328p Soil moisture sensor: m328

cargo, make me a project
cargo, make me a project

cargo-generate cargo, make me a project cargo-generate is a developer tool to help you get up and running quickly with a new Rust project by leveragin

Devmode is a project management utility for developers.
Devmode is a project management utility for developers.

Dev(mode) Dev(mode) is a project management utility for developers.

Generate a THIRDPARTY file with all licenses in a cargo project.

cargo-bundle-licenses Bundle all third-party licenses into a single file. NOTE This tools is not a lawyer and no guarantee of correctness can be made

Forked rust translation of the popular dump1090 project for adsb demodulation

Forked rust translation of the popular dump1090 project for adsb demodulation

A cli utility written in Rust that allows fetching all the labels of a project, save those as a YAML file

A cli utility written in Rust that allows fetching all the labels of a project, save those as a YAML file that you can easily edit or save as backup and apply a saved preset to new repositories.

Watches changes in a rust project, runs test and shows friendly notification
Watches changes in a rust project, runs test and shows friendly notification

Cargo testify Automatically runs tests on your Rust project and notifies about the result. Install Install prerequisites (for Debian/Ubuntu): apt-get

Owner
null
Optimize floating-point expressions for accuracy

Herbie automatically improves the error of floating point expressions. Visit our website for tutorials, documentation, and an online demo. Herbie has

Herbie Project 611 Dec 19, 2022
Select any exported function in a dll as the new dll's entry point.

Description This tool will patch the entry point of the input dll and replace it with the RVA of another exported function in that same dll. This allo

Kurosh Dabbagh Escalante 43 Jun 7, 2023
The schelling point for ZK applications.

succinctx The schelling point for ZK applications. Installing Open your terminal and run the following command: curl -L https://cli.succinct.xyz | bas

Succinct 20 Sep 5, 2023
A working example of multi targets compilation for Rust using Github Actions.

A working example of multi targets compilation for Rust using Github Actions. Supports Windows, MacOSX, x86_64, ARM and Raspberry PI Linux.

Nicolas Vanhoren 41 Dec 17, 2022
Token management program (vesting and mining) implemented in Anchor

Deep Dive into Anchor by Implementing Token Management Program Author: @ironaddicteddog, @emersonliuuu [Updated at 2022.5.21] You can find the full co

Something-Something 8 Aug 12, 2024
A tool that generates a Sublime Text project file that helps you get started using Scoggle.

README A tool that generates a Sublime Text project file that helps you get started using Scoggle. While Scoggle-Gen may not find every single source

Sanjiv Sahayam 0 Jan 10, 2022
Example of executing ES module exports from Rust

rusty_esm This is an example showcasing a common use case for embedding Deno - calling JS module exports from Rust. The rest is pretty self explainato

Divy Srivastava 9 Dec 13, 2022
An example of a fairing for rocket to use tracing (as this pops up at many places in dicussions and questions)

Rocket Tracing Fairing Example This repository aims to give a short example of how you can add a Fairing to your Rocket for tracing and how to use it

Christof Weickhardt 9 Nov 23, 2022
A shared document application akin to Google Docs. Example usage of wasm-peers library.

Live Document Proof of concept application showcasing the usability of wasm-peers crate for easy and costless peer-2-peer WebRTC communication. It's a

null 6 Sep 19, 2022
🦀 Small Tauri SolidJS Example feat. Vite

Tauri Solid Example (2022) Simple Solid(vite) starter running with Tauri. Should hopefully save some time trying to setup Tauri and Solid. Currently c

Luke Secomb 14 Oct 25, 2022