{"id":21221778,"url":"https://github.com/primitivefinance/v1-contracts","last_synced_at":"2025-07-10T13:32:59.217Z","repository":{"id":38284983,"uuid":"249600394","full_name":"primitivefinance/v1-contracts","owner":"primitivefinance","description":"Primitive protocol solidity contracts.","archived":false,"fork":false,"pushed_at":"2022-12-11T17:09:56.000Z","size":20046,"stargazers_count":43,"open_issues_count":23,"forks_count":9,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-07-10T12:37:59.703Z","etag":null,"topics":["buidler","defi","ethereum","options","solidity"],"latest_commit_sha":null,"homepage":"https://primitive.finance","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/primitivefinance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-24T03:07:32.000Z","updated_at":"2023-09-08T18:04:57.000Z","dependencies_parsed_at":"2023-01-27T03:46:30.457Z","dependency_job_id":null,"html_url":"https://github.com/primitivefinance/v1-contracts","commit_stats":null,"previous_names":["primitivefinance/primitive-contracts"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/primitivefinance/v1-contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fv1-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fv1-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fv1-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fv1-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primitivefinance","download_url":"https://codeload.github.com/primitivefinance/v1-contracts/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fv1-contracts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264585371,"owners_count":23632646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buidler","defi","ethereum","options","solidity"],"created_at":"2024-11-20T22:33:30.961Z","updated_at":"2025-07-10T13:32:55.381Z","avatar_url":"https://github.com/primitivefinance.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://raw.githubusercontent.com/primitivefinance/primitive-frontend/develop/src/icons/primitivebannersvg.svg)\n\n# Primitive Protocol\n\n[![](https://img.shields.io/github/stars/primitivefinance/primitive-v1?style=social)](https://img.shields.io/github/stars/primitivefinance/primitive-contracts?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/primitivefi?style=social)\n[![Discord](https://img.shields.io/discord/168831573876015105.svg?label=\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/rzRwJ4K)\n\n# Documentation\n\nThe database of Primitive protocol contracts and documentation is hosted on notion here: [Primitive Protocol HQ](https://www.notion.so/primitivefi/Primitive-Protocol-HQ-fc081b939bb04e2a90ccaebf36faa78e)\n\n## Contracts\n\nPrimitive 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.\n\nThis repository has the core contracts for the Option primitives.\n\nThe live contract addresses are [here](https://www.notion.so/primitivefi/dc3b883ff9d94044b6738701b2826f7a?v=9e56507d430d4f4fb1939242cfb23736).\n\nWe use [Hardhat](https://hardhat.org) as a development environment for compiling, testing, and deploying the contracts.\n\n# Testing\n\n### Run Tests\n\n`yarn test`\n\n### Run Coverage\n\n`yarn coverage`\n\n### Deployments\n\n`yarn deploy:mainnet`\n\n`yarn deploy:rinkeby`\n\n### Verify Deployments\n\n`yarn verify:rinkeby`\n\n`yarn verify:mainnet`\n\n# Reports\n\n## Coverage\n\nThe coverage report is available [here](https://www.notion.so/primitivefi/Coverage-Report-b49c6f99571c4307aa78c9a0c0175ca2).\n\n## Gas\n\nThe gas report is available [here](https://www.notion.so/primitivefi/Gas-Report-9d89c906edec48ec9c4afe6209277f19).\n\n# Contributing\n\nJoin the developers and team in the Primitive discord: [Discord](https://discord.gg/JBM6APT)\n\n# Security\n\nThe disclosure of security vulnerabilities helps us ensure the security of our users.\n\nHow to report a security vulnerability?\n\nIf you believe you’ve found a security vulnerability in one of our contracts or platforms, send it to us by emailing [security@primitive.finance](mailto:security@primitive.finance). Please include the following details with your report:\n\n- A description of the location and potential impact of the vulnerability.\n- A detailed description of the steps required to reproduce the vulnerability.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimitivefinance%2Fv1-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimitivefinance%2Fv1-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimitivefinance%2Fv1-contracts/lists"}