{"id":24039149,"url":"https://github.com/rust-sol-dev/ants-ape-contract","last_synced_at":"2025-08-01T11:35:09.332Z","repository":{"id":230412748,"uuid":"779303212","full_name":"Rust-Sol-Dev/ants-ape-contract","owner":"Rust-Sol-Dev","description":"🎮 DeFi Wonderland Game - Solidity Development 🚀","archived":false,"fork":false,"pushed_at":"2024-03-29T14:18:15.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T07:24:49.042Z","etag":null,"topics":["solidity"],"latest_commit_sha":null,"homepage":"","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/Rust-Sol-Dev.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}},"created_at":"2024-03-29T14:16:05.000Z","updated_at":"2024-04-10T15:41:11.000Z","dependencies_parsed_at":"2024-03-29T15:48:14.246Z","dependency_job_id":null,"html_url":"https://github.com/Rust-Sol-Dev/ants-ape-contract","commit_stats":null,"previous_names":["milkomeda77/ants-ape-contract","mrrust77/ants-ape-contract","misterrust/ants-ape-contract","rust-sol-dev/ants-ape-contract"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rust-Sol-Dev/ants-ape-contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rust-Sol-Dev%2Fants-ape-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rust-Sol-Dev%2Fants-ape-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rust-Sol-Dev%2Fants-ape-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rust-Sol-Dev%2Fants-ape-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rust-Sol-Dev","download_url":"https://codeload.github.com/Rust-Sol-Dev/ants-ape-contract/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rust-Sol-Dev%2Fants-ape-contract/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268215611,"owners_count":24214365,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["solidity"],"created_at":"2025-01-08T20:35:30.018Z","updated_at":"2025-08-01T11:35:09.131Z","avatar_url":"https://github.com/Rust-Sol-Dev.png","language":"Solidity","readme":"# DeFi Wonderland Challenge\n\nOoooh no! Robert, our lead developer, had an urgent flight and left us with an unfinished game.\n\nHey you, yes **YOU**, are you a developer?! Do you know some Solidity? Could you please help us finish this game?\n\nThis is the note he left us:\n\n\u003e Hey guys, sorry but I had an urgent thing to attend to with some ~~friends~~ family.\n\u003e The game is **almost** there but I didn't have time to test or organize the code properly. I also didn't have time to read the logic twice to see if I missed something.\n\u003e\n\u003e Oh, here's the status of the thingies we've discussed:\n\u003e\n\u003e - [x] EGGs should be ERC20 tokens\n\u003e - [x] EGGs should be indivisible\n\u003e - [x] ANTs should be ERC721 tokens (**NFTs**)\n\u003e - [x] Users can buy EGGs with ETH\n\u003e - [x] EGGs should cost 0.01 ETH\n\u003e - [x] An EGG can be used to create an ANT\n\u003e - [x] An ANT can be sold for less ETH than the EGG price\n\u003e - [ ] Governance should be able to change the price of an egg\n\u003e - [ ] Finish the e2e tests\n\u003e\n\u003e The following features we said they would be nice to have, but were not required, so i guess they're out of the equation for now...\n\u003e\n\u003e - [ ] Ants should be able to create/lay eggs once every 10 minutes\n\u003e - [ ] Ants should be able to randomly create multiple eggs at a time. The range of how many should be reasonable (0-20?)\n\u003e - [ ] Ants have a % chance of dying when creating eggs\n\u003e\n\u003e I feel very proud of it, I can't wait to come back from ~~Ibiza~~ Mom's to play it!\n\nGood news is that Robert implemented at least some of this before leaving:\n\nANT `ERC721` https://goerli.etherscan.io/address/0x6988138e9aa5c0b7f0d9e54a103ca2fd8e293327#code\n\u003cbr/\u003e\nEGG `ERC20`\nhttps://goerli.etherscan.io/address/0x934ee0261e7dc7102a72ddbe37b66ecd75d08f09#code#code\n\n### Assignment\n\nWe would need your help in finishing what Robert started. We hardly think he's going to come back soon, so we should start thinking on hiring somebody to cover his place.\n\nPlease clone this repo and as soon as you have gone through the code and implemented the changes you thought were appropriate along with the features, create a pull request and send it to us.\n\nIf you have **any** question, please don't hesitate to contact us , we are here for that and we encourage it!\n\nJust in case, Robert seemed a bit distracted when working on the game, it may be a good idea to take a close look at what he did. **There are more than 20 audited issues in the code he's made**, we would appreciate if you can spot them and deploy an improved version of it.\n\nBest of lucks, and get ready to go fully anon and deep **down the rabbit hole**!\n\n#\n\n### Extra points\n\nOh! And send us as much ANTs as you can to 0x7D4BF49D39374BdDeB2aa70511c2b772a0Bcf91e, we are building an army!\n\n#\n\n### Running the repo\n\nHere's a brief guide as to how run this repo.\n\nFirst, you make sure you have [foundry](https://github.com/foundry-rs/foundry) on your machine.\nThen clone the repo and run:\n```\nyarn install\n```\n\nThat should install all we need. What we need now is an API key from an RPC provider, so create an account in https://www.alchemy.com/ and grab generate an API key. Then you should create a `.env` file and complete it using the `.env.example` file we provide as as a guide.\n\nWe highly discourage using accounts that may hold ETH in mainnet, to avoid any unnecessary errors. So even if you have an ETH account, we recommend creating a new one in https://vanity-eth.tk/ for having an badass name like: 0xBadA55ebb20DCf99F56988d2A087C4D2077fa62d.\ng\nIf you don't hold ETH in Goerli, don't worry! People are very generous there, you can head to a faucet: https://goerlifaucet.com/ and just ask for some! Crazy huh?\n\nAfter you have your `.env` all set up, you're ready to go.\n\n#\n\n### Running the tests\n\n```\nyarn test\n```\n\n#\n\n### Deploying the contracts\n\nTo deploy and verify the contracts on Goerli, you can run:\n\n```jsx\nyarn deploy:goerli\n```\n\nThe verification of the contracts may take a couple of minutes, so be aware of that if it seems that your terminal got stuck.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-sol-dev%2Fants-ape-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-sol-dev%2Fants-ape-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-sol-dev%2Fants-ape-contract/lists"}