Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertleifke/numoen
Replicating market maker
https://github.com/robertleifke/numoen
automated-market-makers defi options-trading smart-contracts solidity
Last synced: about 1 month 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 (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-25T07:05:26.000Z (about 1 month ago)
- Last Synced: 2024-11-25T08:18:16.899Z (about 1 month 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
### An options marketplace for any ERC-20.
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 numoen/pmmp
```## 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
```