An open API service indexing awesome lists of open source software.

https://github.com/primitivefinance/v1-cross-margin-spec

Collateral management contracts for Primitive protocol.
https://github.com/primitivefinance/v1-cross-margin-spec

Last synced: over 1 year ago
JSON representation

Collateral management contracts for Primitive protocol.

Awesome Lists containing this project

README

          

# Primitive House Contract Repository

## Documentation

The database of Primitive protocol contracts and documentation is hosted on notion here: [Primitive Protocol HQ](https://www.notion.so/primitivefi/Primitive-Protocol-HQ-fc081b939bb04e2a90ccaebf36faa78e)

## Contracts

Primitive is a protocol for decentralized option tokens.

[description]

The live contract addresses are [here](https://www.notion.so/primitivefi/dc3b883ff9d94044b6738701b2826f7a?v=9e56507d430d4f4fb1939242cfb23736).

We use [Hardhat](https://hardhat.org) as a development environment for compiling, testing, and deploying the contracts.

## Testing

### Run Tests

`yarn test`

### Run Coverage

`yarn coverage`

### Deployments

`yarn deploy:mainnet`

`yarn deploy:rinkeby`

### Verify Deployments

`yarn verify:rinkeby`

`yarn verify:mainnet`

# Contributing

Join the developers and team in the Primitive discord: [Discord](https://discord.gg/JBM6APT)

# Security

The disclosure of security vulnerabilities helps us ensure the security of our users.

How to report a security vulnerability?

If you believe you’ve found a security vulnerability in one of our contracts or platforms, send it to us by emailing security@primitive.finance. Please include the following details with your report:

- A description of the location and potential impact of the vulnerability.
- A detailed description of the steps required to reproduce the vulnerability.