{"id":20898837,"url":"https://github.com/metafam/chievemints","last_synced_at":"2025-05-13T01:31:10.803Z","repository":{"id":41110343,"uuid":"467662280","full_name":"MetaFam/chievemints","owner":"MetaFam","description":"MetaGame’s achievements NFTs","archived":false,"fork":false,"pushed_at":"2024-10-15T08:54:40.000Z","size":127224,"stargazers_count":1,"open_issues_count":7,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T14:56:47.046Z","etag":null,"topics":["attestation","nft","skills"],"latest_commit_sha":null,"homepage":"https://chiev.es","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MetaFam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-03-08T20:16:32.000Z","updated_at":"2024-12-12T16:39:08.000Z","dependencies_parsed_at":"2024-11-19T04:04:44.791Z","dependency_job_id":null,"html_url":"https://github.com/MetaFam/chievemints","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaFam%2Fchievemints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaFam%2Fchievemints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaFam%2Fchievemints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaFam%2Fchievemints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MetaFam","download_url":"https://codeload.github.com/MetaFam/chievemints/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253853747,"owners_count":21974167,"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":["attestation","nft","skills"],"created_at":"2024-11-18T11:12:21.242Z","updated_at":"2025-05-13T01:31:09.784Z","avatar_url":"https://github.com/MetaFam.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ’Chievemints\n\n![MetaGame ’Chievemints](packages/ui/public/logo.svg)\n\nThis is a simple app to mint ERC-1155 NFTs to represent player accomplishments in [MetaGame](//metagame.wtf).\n\nThe permissions for each token are controlled by the existence of other tokens in the system.\n\n## Running\n\n* `yarn`\n* `yarn ui:start`\n\n## Deploying the Contract\n\nSet `CHAIN_NAME` in `packages/contracts/.env` and `VITE_CHAIN_NAME` in `packages/ui/.env` to a network from the [hardhat config](packages/contracts/hardhat.config.ts).\n\nBy default if an existing deployment for that network is found in `packages/contracts/artifacts/`, the system will attempt to upgrade the contract. To force a fresh deployment, the best method is to add a new network for your deployment to `packages/contracts/hardhat.config.ts` to the `validationKeyNames` and `config.networks` sections. This new chain name needs to include an existing chain name *(like \"dysMumbai\" or \"polygonTesting\")* for the network name to resolve in the UI. Otherwise, the new chain needs to be added to `packages/ui/src/lib/networks.ts`.\n\nAfter the network is configured, the contracts can be deployed using `yarn hh:deploy`.\n\nAfter the contract is deployed, the deploying address is set as the owner. To create tokens from your wallet, you will either need to add a \"`Creator`\" or \"`Superuser`\" permission for that address *(creators can make new token types, superusers can do pretty much everything)*. To do so, from the command line run `yarn --cwd packages/contracts/ hardhat grant --address myaddr.eth --role Superuser`.\n\nYou should now be able to click the trophy in the UI to create a new token type.\n\n## Publishing the UI\n\nIn order to publish the UI, you will need write access to the [’Chievemints GitHub Repository](https://github.com/MetaFam/chievemints/). Given that, just run `yarn ui:publish`.\n\n![Flashy Octo](packages/ui/public/favicon.svg)\n\n## Uploading Metadata\n\nThe gating tokens need to have metadata files uploaded to IPFS in order for them to display correctly. This is done by running the `yarn gating-metadata` task in the `packages/contracts/` subdirectory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetafam%2Fchievemints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetafam%2Fchievemints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetafam%2Fchievemints/lists"}