{"id":18764437,"url":"https://github.com/tripplyons/mega-ace-hackathon","last_synced_at":"2025-12-07T07:30:18.737Z","repository":{"id":190510014,"uuid":"626075111","full_name":"tripplyons/mega-ace-hackathon","owner":"tripplyons","description":"NFT Call Options - Winning Project for the MEGA-ACE Hackathon","archived":false,"fork":false,"pushed_at":"2023-08-24T23:04:03.000Z","size":210,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-29T05:42:10.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mega-ace-hackathon.vercel.app","language":"JavaScript","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/tripplyons.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}},"created_at":"2023-04-10T18:39:47.000Z","updated_at":"2024-11-14T18:21:41.000Z","dependencies_parsed_at":"2023-08-25T00:36:51.889Z","dependency_job_id":null,"html_url":"https://github.com/tripplyons/mega-ace-hackathon","commit_stats":null,"previous_names":["tripplyons/mega-ace-hackathon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripplyons%2Fmega-ace-hackathon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripplyons%2Fmega-ace-hackathon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripplyons%2Fmega-ace-hackathon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripplyons%2Fmega-ace-hackathon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tripplyons","download_url":"https://codeload.github.com/tripplyons/mega-ace-hackathon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239662746,"owners_count":19676435,"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-11-07T18:29:52.361Z","updated_at":"2025-12-07T07:30:18.698Z","avatar_url":"https://github.com/tripplyons.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MEGA-ACE Hackathon Project: NFT Call Options\n\n- 1st Place Winner in the RPI Hackathon\n- 3rd Place Winner in the Global Hackathon\n\n## Links\n\n- Live Testnet Interface: [link](https://mega-ace-hackathon.vercel.app/)\n- Writeup: [link](https://docs.google.com/document/d/1tKliCBK-vu15TBkzHTmNFl_5S8FH8mdb52kGDX0oVlQ/edit?usp=sharing)\n- Pitch Video: [link](https://youtu.be/W0JeFVygYyw)\n\n## Overview\n\nAn Algorand smart contract and dapp that allows NFT holders to sell options against their NFTs, and allows NFT traders to buy those options.\n\n## Option Mechanics\n\n- Call option: the buyer has the right to buy the NFT from the seller for a strike price\n- Equity settled: the option is settled by transferring the NFT to the buyer for a strike price\n- American-style: this can only be done once, before the expiry date\n\n## Usage Instructions\n\n### Prerequisites\n\n- Python 3 and pip\n- Node.js and npm\n- [algokit](https://github.com/algorandfoundation/algokit-cli)\n\n### Setup\n\n#### Create a virtual environment for the Python dependencies\n\n```sh\npython3 -m venv .venv\n```\n\n#### Activate the virtual environment\n\nOn Linux and macOS:\n\n```sh\nsource .venv/bin/activate\n```\n\nOn Windows:\n\n```sh\n.venv\\Scripts\\activate.bat\n```\n\n#### Install the Python dependencies\n\n```sh\npython3 -m pip install -r requirements.txt\n```\n\n#### Compile the smart contract\n\nThis step requires your algokit localnet node to be running:\n\n```sh\nalgokit localnet start\n```\n\nCompile command:\n\n```sh\npython3 contracts/option.py\n```\n\n#### Install the dapp frontend dependencies\n\n```sh\ncd dapp\nnpm install\n```\n\n### Run the dapp\n\n```sh\ncd dapp\nnpm run dev\n```\n\nThis will start a local server at [http://localhost:3000](http://localhost:3000).\n\n### Try out the dapp\n\nYou can visit the page in a web browser to interact with the dapp.\n\nIt supports many different wallet options for connecting to the Algorand network:\n\n- Pera\n- MyAlgo\n- Defly\n- Exodus\n- AlgoSigner\n- WalletConnect\n\n**Note:** The dapp is configured to run on the Algorand TestNet, so you will need to [fund your wallet with some testnet ALGO](https://bank.testnet.algorand.network/). You can also edit `dapp/.env.local` if you want to use a different network.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripplyons%2Fmega-ace-hackathon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftripplyons%2Fmega-ace-hackathon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripplyons%2Fmega-ace-hackathon/lists"}