Primitive (@primitivefinance)

Top repositories

1

arbiter

A blazing-fast Ethereum sandbox that lets developers orchestrate event-driven simulations.
Rust
669
star
2

hardhat-marmite

🥘 Hassle-free Hardhat plugin to compare gas cost among different Solidity code snippets.
TypeScript
196
star
3

primitive-dodoc

☄️ Zero-config Hardhat plugin to generate documentation for all your Solidity contracts.
TypeScript
135
star
4

rmm-core

Primitive Replicating Market Maker smart contracts
Solidity
131
star
5

solstat

Math library written in solidity for statistical function approximations like the Normal Cumulative Distribution Function.
Solidity
118
star
6

portfolio

Portfolio is an automated market making protocol for implementing custom strategies at the lowest cost possible.
Solidity
113
star
7

hardhat-foundry

Forkable hardhat & foundry template for thorough evm development.
Solidity
87
star
8

soulbound

Implementation of a non-transferrable NFT using non-financial incentivization.
Solidity
85
star
9

rmms-py

Python simulator to test implementation of the RMMS paper results.
Python
55
star
10

RMM01-Simulations

RMM-01 Simulations
Python
50
star
11

arbiter-template

Minimal template for simulating contracts with arbiter.
Rust
45
star
12

v1-contracts

Primitive protocol solidity contracts.
Solidity
43
star
13

rmm-manager

Manager and Routing smart contracts for Primitive RMM
Solidity
34
star
14

univ3-kit

An open simulation for Uniswap V3 contracts
Rust
34
star
15

sybil-detection

Python
31
star
16

open-research-questions

This is a collection of open research questions in the DeFi mechanism design space pertinent to the Primitive R&D Team. This serves as a public forum and is open to discussion and changes amongst the broader DeFi research and development community.
26
star
17

excalibur

Excalibur
Rust
21
star
18

rmm-math

Typescript math library for cumulative distributions, black-scholes, and the RMM trading function.
TypeScript
21
star
19

proto-sim-portfolio

Prototype risk modeling simulation for Portfolio using Arbiter.
Rust
20
star
20

DFMM

Smart contracts of the DFMM protocol
Rust
18
star
21

rmm-ethers

Library for interacting with RMM protocol through ethers.js.
TypeScript
15
star
22

aika

Discrete event simulator built in Rust 🦀
Rust
13
star
23

Topological-Data-Analysis

This repository is for topologic and geometric data analysis.
Python
13
star
24

m3-rs

Simple rust interface to get derived analytical information of algorithmic market making models (M3).
Rust
12
star
25

portfolio_simulations

Moving to the new Arbiter framework to test Portfolio.
Rust
10
star
26

rmm-sdk

Typescript based entity classes and transaction builders for the rmm-core and rmm-periphery smart contracts.
TypeScript
10
star
27

rmm-examples

Solidity
10
star
28

portfolio-rs

SDK for the Portfolio protocol written in rust.
Rust
9
star
29

DisputeGameSimulations

Rust
9
star
30

v1-connectors

Smart contracts that connect Primitive V1 to other Ethereum protocols and standards.
Solidity
9
star
31

CFMMRouter.py

Python implementation of CFMMRouter.jl
Python
9
star
32

visualization-rs

This is a collection of math and plotting tools for us to use for visualizing data.
Rust
8
star
33

rmm-docs

Primitive and RMM Protocol Documentation - Crypto Derivatives without Counterparties
JavaScript
7
star
34

fvm.ts

TypeScript
4
star
35

pool-analytics

Jupyter Notebook
4
star
36

v1-interface

An open-source interface for the Primitive protocol.
TypeScript
4
star
37

dagger

A lightweight interface for the DFMM smart contracts
TypeScript
4
star
38

Research

Research papers and repository directory
3
star
39

v1-sdk

An SDK for the Primitive Protocol.
TypeScript
3
star
40

portfolio-ts

Minimal toolkit for building TypeScript based applications for Portfolio by Primitive.
TypeScript
3
star
41

Arbitrum-Transaction-Data-Analysis

This repository is for transaction data analysis on the the Arbitrum Network
3
star
42

amm-auction

Solidity
3
star
43

portfolio-examples-solidity

Solidity
3
star
44

arbmod

git submodule for arbiter
Solidity
3
star
45

v1-subgraph

A graph for the Primitive Protocol.
TypeScript
3
star
46

dfmm-indexer

Indexer for the DFMM protocol
TypeScript
3
star
47

security

All security reports for Primitive products and protocols.
2
star
48

discord-bot

TypeScript
2
star
49

rmm-core-dapptools

Rmm protocol core contracts in dapptools testing environment.
Solidity
2
star
50

arbiter-dispute-game

TeX
2
star
51

brand

Primitive's brand assets.
2
star
52

v1-amm-spec

Derivative focused AMM for the Primitive Protocol.
Solidity
2
star
53

arbiter-portfolio-sim

Migration from old middleware to new.
Solidity
1
star
54

rmm

Solidity
1
star
55

nugu

Solidity
1
star
56

fee-generation-py

Python
1
star