The database of Primitive protocol contracts and documentation is hosted on notion here: Primitive Protocol HQ
Primitive is a decentralized protocol for options that is focused on security and simplicity. Users and developers will tap into the protocol to offer and underwrite tokenized options on any ERC-20 token. The protocol operates without any centralized control, enabling an immutable set of smart contracts to work in perpetuity on Ethereum.
This repository has the core contracts for the Option primitives.
The live contract addresses are here.
We use Hardhat as a development environment for compiling, testing, and deploying the contracts.
yarn test
yarn coverage
yarn deploy:mainnet
yarn deploy:rinkeby
yarn verify:rinkeby
yarn verify:mainnet
The coverage report is available here.
The gas report is available here.
Join the developers and team in the Primitive discord: Discord
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.