{"id":20574882,"url":"https://github.com/aelmanaa/blockchain-capstone","last_synced_at":"2025-10-04T06:59:59.842Z","repository":{"id":130006618,"uuid":"376093679","full_name":"aelmanaa/Blockchain-Capstone","owner":"aelmanaa","description":"ERC721 real estate token. Contract published on Opensea . Owners demonstrate ownership using ZK-SNARKs","archived":false,"fork":false,"pushed_at":"2021-06-20T07:43:49.000Z","size":1889,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T06:59:58.363Z","etag":null,"topics":["metamask","nft","nft-marketplace","opensea","openzeppelin-solidity","solidity","solidity-contracts","solidity-dapps","truffle","web3","zk-snarks"],"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/aelmanaa.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":"2021-06-11T17:12:22.000Z","updated_at":"2023-12-13T03:02:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd16ebba-d694-4a12-9fac-a2bf11c9b61e","html_url":"https://github.com/aelmanaa/Blockchain-Capstone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aelmanaa/Blockchain-Capstone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelmanaa%2FBlockchain-Capstone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelmanaa%2FBlockchain-Capstone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelmanaa%2FBlockchain-Capstone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelmanaa%2FBlockchain-Capstone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aelmanaa","download_url":"https://codeload.github.com/aelmanaa/Blockchain-Capstone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelmanaa%2FBlockchain-Capstone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278277871,"owners_count":25960430,"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-10-04T02:00:05.491Z","response_time":63,"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":["metamask","nft","nft-marketplace","opensea","openzeppelin-solidity","solidity","solidity-contracts","solidity-dapps","truffle","web3","zk-snarks"],"created_at":"2024-11-16T05:37:27.342Z","updated_at":"2025-10-04T06:59:59.804Z","avatar_url":"https://github.com/aelmanaa.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Udacity Blockchain Capstone\n\nThe capstone will build upon the knowledge you have gained in the course in order to build a decentralized housing product. \n\n### Dependencies\nFor this project, you will need to have:\n1. **Node and NPM** installed - NPM is distributed with [Node.js](https://www.npmjs.com/get-npm)\n```bash\n# Check Node version, Project tested with version v12.22.1. you can use \"nvm\" to switch between node versions\nnode -v\n# Check NPM version, Project tested with v7.15.0\nnpm -v\n```\n\n\n2. **Truffle v5.X.X** - A development framework for Ethereum. \n```bash\n# Unsinstall any previous version\nnpm uninstall -g truffle\n# Install\nnpm install -g truffle\n# Specify a particular version. Project tested with v5.3.6\nnpm install -g truffle@5.3.6\n# Verify the version\ntruffle version\n```\n\n\n3. **Metamask: 9.5.2** - If you need to update Metamask just delete your Metamask extension and install it again.\n\n\n4. Ganache for testing. make sure it runs on port 8585\n\n5. **Load Infura key and your metamask pass phrase  ** in `.env` file (please created within eth-contracts folder):\n```\nMNEMONIC=\"\u003cyour-metamask-pass-phrase\u003e\"\nINFURA_API_KEY=\u003cinfura-rinkeby-api-key\u003e\n```\n\n### Run the application\n\n1. Start ganache on port 8585\n2. Go to solidity project `cd eth-contracts`\n3. Compile `truffle compile`\n4. Run tests `truffle test` . All tests must pass\n5. Migrate to rinkeby network `truffle migrate --network rinkeby --reset`\n6. Run minting script in order to mint 10 tokens `truffle exec scripts/mint.js --network rinkeby`\n\n\n### Compare with my results\n\n1. contracts ABIs can be found in `build/contracts`\n2. contract address is `0xc3CB908cc8506a0e5a3C9f483fF8699AF554dAe8` could be found on [Rinkeby](https://rinkeby.etherscan.io/address/0xc3CB908cc8506a0e5a3C9f483fF8699AF554dAe8)\n3. collection `MIYA721` on [Opensea](https://testnets.opensea.io/collection/miya721)\n4. 1st owner of every item (cfr. mint script) is `account_two` which is `0xb3996aad85a84b1fa5e451fcc0f5ba2e838609d8`.  This account can then post any of his NFT on sale on Opensea. For instance, you can see here that the owner sold tokenId `2`:\n   1. First there was a transaction in order to approve Opensea to sell token on account_two behalf. [Etherscan](https://rinkeby.etherscan.io/tx/0x0b9151b0119f8ece9db0e4ab086df2254d96dcdc67bdcaf6ca551aa0f6b7b753)\n   2. Then NFT was sold to another account . Transaction can be seen here [Etherscan](https://rinkeby.etherscan.io/tx/0xa6772fcfc230921612aa47fbfe699616926e8f121d44f5f62be4be9586773014)\n   3. The trading history of this token can be found on [OpenSea](https://testnets.opensea.io/assets/0xc3cb908cc8506a0e5a3c9f483ff8699af554dae8/2) and shows indeeded that token `2` was transfered from `0xb3996aad85a84b1fa5e451fcc0f5ba2e838609d8` to `0x0d718cfb215e84174d2118a38cd827d8ddbb13e8`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelmanaa%2Fblockchain-capstone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faelmanaa%2Fblockchain-capstone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelmanaa%2Fblockchain-capstone/lists"}