{"id":23545520,"url":"https://github.com/bh2smith/near-1inch-agent","last_synced_at":"2025-07-17T14:33:38.901Z","repository":{"id":266468667,"uuid":"897974014","full_name":"bh2smith/near-1inch-agent","owner":"bh2smith","description":"Bitte Open Agent for 1inch","archived":false,"fork":false,"pushed_at":"2024-12-05T10:36:02.000Z","size":323,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T10:44:13.057Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/bh2smith.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":"2024-12-03T15:08:55.000Z","updated_at":"2024-12-05T10:36:14.000Z","dependencies_parsed_at":"2025-02-17T10:40:55.257Z","dependency_job_id":"3668a4f1-aa19-4320-bd63-626e90751145","html_url":"https://github.com/bh2smith/near-1inch-agent","commit_stats":null,"previous_names":["bh2smith/near-1inch-agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bh2smith/near-1inch-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-1inch-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-1inch-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-1inch-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-1inch-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bh2smith","download_url":"https://codeload.github.com/bh2smith/near-1inch-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-1inch-agent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265616981,"owners_count":23798937,"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-12-26T08:18:41.766Z","updated_at":"2025-07-17T14:33:38.884Z","avatar_url":"https://github.com/bh2smith.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 1inch AI Agent by [Bitte](https://www.bitte.ai/)\n\nThis is a [Next.js](https://nextjs.org) project that implements an AI-powered agent for interacting with 1inch Fusion. The agent helps users generate and execute transactions on 1inch Fusion across supported EVM networks.\n\n## Features\n\n- Generate transaction data for 1inch Fusion\n- Support for selling native assets (ETH, xDAI, POL, BNB)\n- ERC20 token transfers\n- WETH wrapping and unwrapping\n- Price quotes and fee estimation for trades\n- Support for multiple EVM networks\n\n## API Endpoints\n\nThe agent exposes several endpoints:\n\n- `/api/tools/1inch`: Quote prices and generate swap transactions\n- `/api/tools/erc20`: Generate ERC20 transfer transactions\n- `/api/tools/weth/wrap`: Generate WETH wrapping transactions\n- `/api/tools/weth/unwrap`: Generate WETH unwrapping transactions\n\n## Local Development\n\nFirst, install the dependencies:\n\n```bash\nbun install\n```\n\nThen, run the development server:\n\n```bash\nbun dev\nbun dev-testnet\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the Swagger UI.\n\n## Environment Setup\n\nThe application requires the following environment variables:\n\n- `BITTE_KEY`: JSON containing the account ID\n\n## Learn More\n\nTo learn more about the technologies used in this project:\n\n- [1inch Documentation](https://github.com/1inch/fusion-sdk) - Learn about 1inch\n- [Bitte Documentation](https://docs.bitte.ai/) - Learn about Bitte and building AI agents\n- [Next.js Documentation](https://nextjs.org/docs) - Learn about Next.js features and API\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme).\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbh2smith%2Fnear-1inch-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbh2smith%2Fnear-1inch-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbh2smith%2Fnear-1inch-agent/lists"}