{"id":18263768,"url":"https://github.com/yearn/macarena-finance","last_synced_at":"2025-04-04T20:31:18.668Z","repository":{"id":37093428,"uuid":"503382871","full_name":"yearn/macarena-finance","owner":"yearn","description":"Macarena finance is a simple UI for Yearn Finance, made to be forked!","archived":false,"fork":false,"pushed_at":"2023-07-31T10:41:12.000Z","size":738,"stargazers_count":21,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-20T19:07:34.187Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://macarena.finance","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yearn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-14T13:58:28.000Z","updated_at":"2024-09-29T04:05:40.000Z","dependencies_parsed_at":"2024-11-05T11:25:11.471Z","dependency_job_id":null,"html_url":"https://github.com/yearn/macarena-finance","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fmacarena-finance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fmacarena-finance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fmacarena-finance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fmacarena-finance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yearn","download_url":"https://codeload.github.com/yearn/macarena-finance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247246364,"owners_count":20907782,"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-05T11:12:34.124Z","updated_at":"2025-04-04T20:31:17.187Z","avatar_url":"https://github.com/yearn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Macarena Finance\n![](./public/og.png)\n\nMacarena finance is a simple UI for Yearn Finance, made to be forked!\n\nRunning your own instance of Yearn makes you eligible to earn fees on top of all deposits made through your UI. See information on how partnership and profit-sharing work at our [Partner Docs](https://docs.yearn.finance/partners/introduction#profit-share-model)\n\n**Table-of-content**\n- [Live Demo](#live-demo)\n- [Quickstart](#quickstart)\n- [Themes](#themes)\n- [Environment Variables](#environment-variables)\n- [Tech Stack](#tech-stack)\n- [Folder Structure](#folder-structure)\n- [Other Docs](#other-docs)\n\n## Live Demo\n\n- https://macarena.finance/\n\n## Quickstart\n\n1. Clone the repository: `git clone https://github.com/yearn/macarena-finance.git`\n2. Run `yarn` to install dependencies\n3. Run `yarn run dev` to raise the developer environment\n4. Open your browser at `http://localhost:3000`  \n\n###  Configure profit fees address\n\n5. At [`next.config.js`](./next.config.js) change `PARTNER_ID_ADDRESS` to the address that should receive the partner fees\n6. Fill up [this template issue](https://github.com/yearn/macarena-finance/issues/new?assignees=\u0026labels=partnership+request\u0026template=partnership-request.yml) to request us to enable the above ID to receive partner program profit-sharing fees\n\n### Add or remove Yearn Vaults displayed\n\nChange the list filtering the vaults you want to show at:\n- [`contexts/useYearn.tsx` lines 61~78](https://github.com/yearn/macarena-finance/blob/main/contexts/useYearn.tsx#L61-L78)  \nand  \n- [`contexts/useYearn.tsx` lines 163~190](https://github.com/yearn/macarena-finance/blob/main/contexts/useYearn.tsx#L163-L190)\n\n## Themes\n\nCustomize the website css theme:\n\n1. Change theme name in [`_document.tsx at line 26`](https://github.com/yearn/macarena-finance/blob/main/pages/_document.tsx#L26) and [`style.css at line 8`](https://github.com/yearn/macarena-finance/blob/main/style.css#L8)\n2. Customize theme css in [`style.css`](https://github.com/yearn/macarena-finance/blob/main/style.css)\n\nYou can quickly change how everything looks by customizing [css variables in style.css](https://github.com/yearn/macarena-finance/blob/main/style.css#L9-L24). You can find the original CSS and the available CSS variables in the [Yearn Web Lib](https://github.com/yearn/web-lib/blob/main/packages/web-lib/style.css).\n\n## Environment Variables\n\nCreate a `.env` file in the root project path overriding any env. variable:\n\n- **WS_URL_MAINNET** custom websocket url for Ethereum Mainnet\n- **WS_URL_FANTOM** custom websocket url for Fantom\n- **RPC_URL_MAINNET** custom RPC url for Ethereum Mainnet\n- **RPC_URL_FANTOM** custom RPC url for Fantom\n- **ALCHEMY_KEY** [alchemy.com](https://www.alchemy.com/) key\n\nRename [`.env.example`](./.env.example) to `.env` to customize the above\n\n## Tech Stack\n\nThe core libraries used by this project is:\n\n- **TypeScript**: https://www.typescriptlang.org/\n- **React**: https://reactjs.org/\n- **Next**: https://nextjs.org/\n- **Tailwind**: https://tailwindcss.com/\n- **Yearn Web Lib**: https://github.com/yearn/web-lib\n\n## Folder Structure\n\n### [/components](./components)\n\nIndividual UI components reused across pages, like buttons and charts\n\n### [/contexts](./contexts)\n\nIndividual components with no UI that helps manage the application state\n\n### [/pages](./pages)\n\nEach page corresponds to a route in nextjs. Any file created in this folder can be accessed through url routes, for example if you create a page \"test.tsx\" you will be able to access it locally at `http://localhost:3000/test`\n\nPages that start with `_` like `_app.tsx` and `_document.tsx` are the application's entry point and are handled by NextJS automatically\n\nRead more about how to build app navigation at [NextJS Router Docs](https://nextjs.org/docs/api-reference/next/router#usage)\n\n### [/utils](./utils)\n\nStateless functions to be reused at any file to transform data\n\n### [/public](./public)\n\nStatic files used in the website, like images and icons\n\n## Other Docs\n\n- https://docs.yearn.finance/developers/v2/fork-yearn-ui\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyearn%2Fmacarena-finance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyearn%2Fmacarena-finance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyearn%2Fmacarena-finance/lists"}