https://github.com/robertleifke/numoen
Replicating market maker
https://github.com/robertleifke/numoen
automated-market-makers defi options-trading smart-contracts solidity
Last synced: 3 months ago
JSON representation
Replicating market maker
- Host: GitHub
- URL: https://github.com/robertleifke/numoen
- Owner: robertleifke
- License: other
- Created: 2024-11-25T06:53:55.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T07:05:26.000Z (7 months ago)
- Last Synced: 2025-01-25T20:08:25.523Z (5 months ago)
- Topics: automated-market-makers, defi, options-trading, smart-contracts, solidity
- Language: Solidity
- Homepage:
- Size: 820 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Numoen
![]()
### A lending market for LP shares.
Smart contracts suite of Numoen, an automated market maker that lends out its LP shares to replicate "Squeeth," a call option-like derivative for any ERC-20.
## Installation
```bash
forge install robertleifke/numoen
```## Local development
This project uses [Foundry](https://github.com/foundry-rs/foundry) as the development framework.
### Dependencies
```bash
forge install
``````bash
npm install @openzeppelin/contracts
``````bash
npm install create3-factory
```### Compilation
```bash
forge build
```### Test
```bash
forge test
```### Local setup
In order to test third party integrations such as interfaces, it is possible to set up a forked mainnet with several positions open
```bash
sh anvil.sh
```then, in a separate terminal,
```bash
sh setup.sh
```