Skip to content

invariant-labs/decimal-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡DeFi Decimal Demo: AMM Constant Product Example⚡

Overview

This project serves as a demonstration of utilizing decimal arithmetic in Decentralized Finance (DeFi), focusing on the example of an Automated Market Maker (AMM) with a constant product model.

🔨 Getting Started

Prerequisites

Rust & Cargo

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

cargo-contract

rustup component add rust-src && cargo install --force --locked cargo-contract

Installation

Clone the repository:

git clone git@github.com:invariant-labs/amm-decimal.git

Build project

cargo contract build

Run tests

cargo test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages