{"id":19864383,"url":"https://github.com/balmy-protocol/nft-permissions","last_synced_at":"2026-05-11T01:17:53.558Z","repository":{"id":192835547,"uuid":"682627655","full_name":"Balmy-protocol/nft-permissions","owner":"Balmy-protocol","description":"Add an flexible authorization layer to your contracts, now!","archived":false,"fork":false,"pushed_at":"2024-12-13T17:47:40.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-21T05:02:38.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Balmy-protocol.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-24T15:18:23.000Z","updated_at":"2024-12-13T17:47:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"823b3d57-ba0e-4fc5-bfbf-c4f47a06abe5","html_url":"https://github.com/Balmy-protocol/nft-permissions","commit_stats":null,"previous_names":["mean-finance/nft-permissions","balmy-protocol/nft-permissions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Fnft-permissions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Fnft-permissions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Fnft-permissions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Fnft-permissions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Balmy-protocol","download_url":"https://codeload.github.com/Balmy-protocol/nft-permissions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241273380,"owners_count":19937096,"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":[],"created_at":"2024-11-12T15:18:30.663Z","updated_at":"2026-05-11T01:17:53.553Z","avatar_url":"https://github.com/Balmy-protocol.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NFT Permissions\n\nThis contract allows devs to add authorization capabilities to their own contracts, with a very flexible permission system. The contract creates the\nconcept of a \"position\", that underlying contracts can use to represent ownership. This could be ownership of funds or more complex ideas. Each\nposition is represented by an NFT, that can be transferred by the owner.\n\nWhoever owns a position, has full permissions over the position. However, the owner can also grant/revoke specific permissions to other accounts.\nPermissions are represented by a number, so it's up to each dev to determine the values used to represent each permission in their system.\n\nFinally, the owner can grant permissions by interacting directly with the contract, but they can also be granted via signature.\n\n## Usage\n\nThis is a list of the most frequently needed commands.\n\n### Build\n\nBuild the contracts:\n\n```sh\n$ forge build\n```\n\n### Clean\n\nDelete the build artifacts and cache directories:\n\n```sh\n$ forge clean\n```\n\n### Compile\n\nCompile the contracts:\n\n```sh\n$ forge build\n```\n\n### Coverage\n\nGet a test coverage report:\n\n```sh\n$ forge coverage\n```\n\n### Format\n\nFormat the contracts:\n\n```sh\n$ forge fmt\n```\n\n### Gas Usage\n\nGet a gas report:\n\n```sh\n$ forge test --gas-report\n```\n\n### Lint\n\nLint the contracts:\n\n```sh\n$ yarn lint\n```\n\n### Test\n\nRun the tests:\n\n```sh\n$ forge test\n```\n\n## License\n\nThis project is licensed under MIT.\n\n## Audits\n\nThis project has been audited by [Omniscia](https://twitter.com/Omniscia_sec). You can see the report\n[here](https://omniscia.io/reports/mean-finance-nft-permission-system-65536361239be600181362f3/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalmy-protocol%2Fnft-permissions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalmy-protocol%2Fnft-permissions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalmy-protocol%2Fnft-permissions/lists"}