diem / diem/move

[Feature Request] Implementing more DeFi contracts in Move

Open
#70 7 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
378
Forks
137
PR merge metrics
No merged PRs in 30d

Description

# 🚀 Feature Request

## Motivation

DeFi contracts are gaining lots of attention these days as they bring new innovation to the crypto and finance market. However, most of the smart contracts are written in solidity. It is important for us to see if we can implement something similar in Move and use this experience to access our gap to a wilder adoption of Move.

## Pitch

Under [experimental](https://github.com/diem/move/tree/main/language/documentation/examples/experimental) folder, we've already implemented a few interesting contracts, including a [primitive token type](https://github.com/diem/move/tree/main/language/documentation/examples/experimental/basic-coin) and a [simplified uniswap protocol](https://github.com/diem/move/tree/main/language/documentation/examples/experimental/coin-swap). It would be nice if we can implement more code like this to access the usability of Move in the DeFi space.

If you would like to contribute, please refer to this [tutorial] to see how the `basic-coin` example is implemented and tested. This should offer you an overview of the developing flow of a Move package.

Here's a non-exhaustive list of DeFi contract that we might want to implement:
- Compound
- dydx
- Uniswap
- Oracle in Move?

Feel free to extend this list if there's any emerging new smart contracts.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.