{"id":13524783,"url":"https://github.com/origyn-sa/origyn_nft","last_synced_at":"2025-04-01T03:32:48.311Z","repository":{"id":64351006,"uuid":"536338692","full_name":"ORIGYN-SA/origyn_nft","owner":"ORIGYN-SA","description":"The Public Facing Origyn NFT Reference Implementation","archived":false,"fork":false,"pushed_at":"2024-08-08T14:37:15.000Z","size":47708,"stargazers_count":25,"open_issues_count":2,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-08-08T17:02:19.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Motoko","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ORIGYN-SA.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":"2022-09-13T23:12:18.000Z","updated_at":"2024-08-08T17:02:19.544Z","dependencies_parsed_at":"2023-02-18T10:16:00.994Z","dependency_job_id":"585119fb-0184-4348-993d-49199261fc5f","html_url":"https://github.com/ORIGYN-SA/origyn_nft","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORIGYN-SA%2Forigyn_nft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORIGYN-SA%2Forigyn_nft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORIGYN-SA%2Forigyn_nft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORIGYN-SA%2Forigyn_nft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ORIGYN-SA","download_url":"https://codeload.github.com/ORIGYN-SA/origyn_nft/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222698187,"owners_count":17024877,"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-08-01T06:01:13.431Z","updated_at":"2024-11-02T09:30:30.948Z","avatar_url":"https://github.com/ORIGYN-SA.png","language":"Motoko","funding_links":[],"categories":["Fungible and Non-fungible Tokens (NFTs)"],"sub_categories":["Interface Standards"],"readme":"# origyn_nft_reference - v0.1.5\n\n\u003cimg src=\"https://gitlab.origyn.ch/origyn/engineering/opensource/origyn_nft/-/blob/develop/origyn_nft_pic.jpeg\" /\u003e\n\n### Purpose\n\nThis repo contains the reference implementation of the ORIGYN NFT in motoko, the sales canister reference implementation, and the storage canister implementation that allows unlimited storage for NFT canisters.\n\n### Usage\n\n## NFT Canister\n\n[NFT Canister API](./docs/nft-current-api.md)\n\n[NFT Canister Sample Calls](./docs/audit.md)\n\n[Market Place Integration](./docs/marketplace_integration.md)\n\n## Sales Canister\n\n[Overview](./docs/nft_sale.md)\n\n## Getting up and running\n\n### Testing\n\nYou will need the proper version of yes for your OS. (npm install -g yes)\n\nyes yes | ./runners/test_runner.sh\n\n### Produce an identity for deploying locally\n\n1. You need to have an identity.pem and a seed.txt in your root directory. You can follow the instructions at https://forum.dfinity.org/t/using-dfinity-agent-in-node-js/6169/50 to produce these file. You should add these files to your git.ignore.\n\nNavigate to my .dfx identities. → ~/.config/.dfx/identity\n\nCreate a new identity. → mkdir local-testing; cd local-testing\n\nDownload quill https://github.com/dfinity/quill.\n\nTest that quill is installed correctly. → quill\n\nLook up how to generate a key. → quill generate --help\n\nGenerate a key and seed file. → quill generate --pem-file identity.pem --seed-file seed.txt\n\nCopy these files to your root directory and add to git.ignore.\n\nTo run deployment scripts you will also need to produce seed.prod.txt and identity.prod.pem for a deploying identity.\n\n__You may need a git rest key__\n\nhttps://docs.github.com/rest\n\nYou can put this key in gittoken.key\n\nIt may be necessary to download the default dapps.\n\n### NFT Projects\n\nThe ./projects folder contains a sample NFT project with NFT assets for minting along with a deploy script. The deploy script should be invoked from the root of the project. For example:\n\n```bash\nyes yes | bash ./projects/bm/deploybm-local.sh\n```\n\nReusable scripts are placed at the root of the ./projects folder.\n\n### Git Large File Storage\n\nThis project contains video files that are stored in Git LFS. They are now downloaded when you clone the repo.\nTo download the videos, run the following:\n\n```\ngit lfs install\ngit lfs fetch\ngit lfs checkout\n```\n\nReference: https://git-lfs.github.com/\n\n### deploy.js\n\nLocation: _./projects/deploy.js_.\n\nNode script that stages and mints NFTs with the input of a JSON metadata file.\n\nSee also: https://github.com/ORIGYN-SA/minting-starter\n\n### Logs \u0026 Metrics\n\n[Logs and metrics documentation](./docs/logs_and_metrics.md)\n\n### Audit\n\n\n### Motoko base\n\nIt is important to note that every now and then there are new items in the motoko base library. One example of this is Timer. If you are using an older vesion of the motoko base library in vessel you will have an error complaining about a non existent Timer. In this repo we try to keep libs up-to-date, however, just be aware that from time to time you might need to change the upstream varible in the package-set.dhall to reflect the lastest motoko library.\n\n[Audit document](./docs/audit.md)\n\n### How to update Motoko Compiler\n\nOrigyn NFT version 0.1.5 needs Motoko Compiler version \u003e= 0.10.1. This is included in DFX 0.15.1.  If you have 0.15.0, see below:\n\nHere are the instructions about how to do it:\n\n- [Download MOC zip file for your Operating System](https://github.com/dfinity/motoko/releases/tag/0.10.2)\n- Run the following command `dfx cache show` to get Motoko version directory installation\n- Unzip file and copy `mo-ide, mo-doc, moc` files to the directory mentioned in step 2\n- Make sure you give the right persmissions to those files\n- Run `$(dfx cache show)/moc --version` to verify you have the downloaded version\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forigyn-sa%2Forigyn_nft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forigyn-sa%2Forigyn_nft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forigyn-sa%2Forigyn_nft/lists"}