Socket
Socket
Sign inDemoInstall

@descartes-network/falcon-dex

Package Overview
Dependencies
69
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @descartes-network/falcon-dex

Falcon DEX is a Uniswap-v2-like AMM on Solana. The AMM implementation is heavily relying on [Uniswap v2](https://github.com/Uniswap/v2-core).


Version published
Weekly downloads
2
Maintainers
1
Install size
28.9 MB
Created
Weekly downloads
 

Readme

Source

Falcon DEX

Falcon DEX is a Uniswap-v2-like AMM on Solana. The AMM implementation is heavily relying on Uniswap v2.

Beside that, we also add some extra features to help leverage others on-top application in the future. You can find details in the Implementation.

Table of Contents

Preresiquite

anchor-lang

Please follow this link https://www.anchor-lang.com/docs/installation to setup anchor-lang on your machine.

pnpm

Due to some conlicts between yarn and anchor-lang, we decided to migrate yarn to pnpm within this project. Follow https://pnpm.io/installation to setup pnpm.

Versions

There are many people experienced unexpected issues due to the version compatibility of rustc, solana, anchor. To reduce the problem, You SHOULD follow the well-tested set of following versions.

NameVersion
rustc1.74.0
solana1.16.19
pnpm8.11.0
anchor0.29.0

How to run?

Install

pnpm install

Build

To build the program,

pnpm build

Test

To run the testcase,

pnpm test

For more details about the test cases, you can explore it Falcon DEX Testing.

Implementation

Folder Structure

Folder nameDescription
src/falcon-dexThe smart contract implementation
src/falcon-dex/instructionsThe smart contract's processors. Each instruction from users will be navigated to the relevant processor.
src/falcon-dex/schemaDefines program account schema.
appThe Falcon DEX's SDK to help developers to interact with the smart contract.
migrationsContains smart contract deployment scripts.
testsContains testcases for both the smart contract and the SDK.
.githubDefines Github workflows

Audited

~

Falcon DEX © 2023 Falcon Space LLC.

Keywords

FAQs

Last updated on 14 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc