{"id":24769254,"url":"https://github.com/maksandre/monster-drop","last_synced_at":"2025-03-23T19:20:31.312Z","repository":{"id":273565925,"uuid":"919978844","full_name":"Maksandre/monster-drop","owner":"Maksandre","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-22T04:56:49.000Z","size":92,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T02:53:37.264Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maksandre.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":"2025-01-21T10:57:44.000Z","updated_at":"2025-01-21T16:41:26.000Z","dependencies_parsed_at":"2025-01-21T17:37:01.441Z","dependency_job_id":"c1c79036-3857-468a-92d3-f5413e0140b6","html_url":"https://github.com/Maksandre/monster-drop","commit_stats":null,"previous_names":["maksandre/monster-drop"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maksandre%2Fmonster-drop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maksandre%2Fmonster-drop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maksandre%2Fmonster-drop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maksandre%2Fmonster-drop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maksandre","download_url":"https://codeload.github.com/Maksandre/monster-drop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245154301,"owners_count":20569479,"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":"2025-01-29T02:53:03.820Z","updated_at":"2025-03-23T19:20:31.059Z","avatar_url":"https://github.com/Maksandre.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monsters Drop 👾 👻 👹\n\n## TLDR\n\n#### Step-1. Set the deployer's private key \n\nSet the `PRIVATE_KEY` variable to the `.env` file. See [`.env.example`](./.env-example). Top up its balance.\n\n#### Step-2. Install packages and compile contracts\n\n```sh\nnpm i\nnpm run compile\n```\n\n#### Step-3. Deploy to the Opal network\n\n```sh\nnpx hardhat deploy --network opal\n```\n\nSave the collection address printed to the console. You'll need it to mint NFTs. You may also want to set `COLLECTION_ADDRESS` in the `.env` file.\n\n#### Step-4. Mint an NFT to the Opal network\n\nProvide the following params:\n\n- `--addr` (optional): Collection's contract address. You've got it on step 3. This param is optional if you set the `COLLECTION_ADDRESS` environment variable to the `.env` file. \n- `--to`: NFT owner. It can be an ethereum (0x...) address or a substrate (5Grwva...) address.\n\n```sh\nnpx hardhat mint --addr 0x407fd72e995c2268bDedd2D1f03989Fec7307C0c --to 0x4B36849eB51288dB186fe83c3b00aBF8A008bD26 --network opal\n```\n\n## Check the code\n\n- Contract: [`MonsterDrop.sol`](./contracts/MonsterDrop.sol).\n- Ethers.js: [`tasks`](./tasks/index.ts).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaksandre%2Fmonster-drop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaksandre%2Fmonster-drop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaksandre%2Fmonster-drop/lists"}