{"id":13525066,"url":"https://github.com/BrownFi/BrownFi-AMM-ICP","last_synced_at":"2025-04-01T04:30:59.641Z","repository":{"id":242381971,"uuid":"768423913","full_name":"BrownFi/BrownFi-AMM-ICP","owner":"BrownFi","description":"innovative AMM with high Capital Efficiency and simple UX","archived":false,"fork":false,"pushed_at":"2024-07-16T08:02:11.000Z","size":2303,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-02T06:17:12.573Z","etag":null,"topics":["defi","icp"],"latest_commit_sha":null,"homepage":"https://browndex.io/","language":"Motoko","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrownFi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-07T03:50:28.000Z","updated_at":"2024-07-16T08:02:14.000Z","dependencies_parsed_at":"2024-06-04T05:34:07.843Z","dependency_job_id":"41d55cb0-62ac-4c3b-98c7-e571743ba2bb","html_url":"https://github.com/BrownFi/BrownFi-AMM-ICP","commit_stats":null,"previous_names":["brownfi/brownfi-amm-icp"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrownFi%2FBrownFi-AMM-ICP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrownFi%2FBrownFi-AMM-ICP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrownFi%2FBrownFi-AMM-ICP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrownFi%2FBrownFi-AMM-ICP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrownFi","download_url":"https://codeload.github.com/BrownFi/BrownFi-AMM-ICP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222698210,"owners_count":17024879,"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":["defi","icp"],"created_at":"2024-08-01T06:01:15.706Z","updated_at":"2024-11-02T09:30:46.098Z","avatar_url":"https://github.com/BrownFi.png","language":"Motoko","funding_links":[],"categories":["Decentralized Finance (DeFi)","Applications"],"sub_categories":["Exchanges","Decentralized Finance"],"readme":"# BrownFi AMM Introduction\n\nA novel AMM protocol with high Capital Efficiency (aka liquidity concentration) \u0026 tailored market making strategies, while keeping a simple UX, fungibility, and reusability of LP tokens from Uniswap v2. Our simulation shows that BrownFi AMM offers capital efficiency 100X higher than UniswapV2.  \n\nFor more information, please check the [BrownFi Introduction](https://github.com/BrownFi/BrownFi-AMM-ICP/blob/main/BrownFi.md).  \nPrototype deployed on ICP https://ehi6j-4yaaa-aaaak-qiouq-cai.icp0.io/\n\n## Installations\n\n- `Nodejs` (v18.4.0 or newer): Download it [here](https://nodejs.org/en/download)\n- `dfx` CLI tool: Please follow the instruction to install it [here](https://internetcomputer.org/docs/current/developer-docs/getting-started/install/)\n\n## Experimental Running (local)\n\n- Clone this repository:\n\n```bash\ngit clone https://github.com/BrownFi/BrownFi-AMM-ICP.git brownfi-amm\ncd brownfi-amm\n```\n\n- Local running\n\n```bash\n##### BrownFi AMM Core Canister #####\n\n# Start the replica and run in the background\ndfx start --clean --background\n\n# Deploy II\ndfx deploy internet_identity --specified-id rdmx6-jaaaa-aaaaa-aaadq-cai\n\n# Create identities using in the demo\ndfx identity new alice --storage-mode plaintext\ndfx identity new bob --storage-mode plaintext\ndfx identity new owner --storage-mode plaintext\n# OR When using the internet identity, you need to create a new identity for the canister\ndfx identity import --seed-file owner.txt owner --storage-mode plaintext\ndfx identity import --seed-file alice.txt alice --storage-mode plaintext\ndfx identity import --seed-file bob.txt bob --storage-mode plaintext\n\ndfx identity use owner\n# Run the demo script file\n./demo.sh\n\n##### BrownFi AMM Front-end Canister #####\n\n# Install dependencies \nnpm install\n\n# Build front-end\nnpm run build\n\ndfx deploy\n```\n\nAfter completion, your output will appear similar to the following:\n\n```bash\nDeployed canisters.\nURLs:\n  Frontend canister via browser\n    frontend: http://127.0.0.1:8080/?canisterId=avqkn-guaaa-aaaaa-qaaea-cai\n  Backend canister via Candid interface:\n    core: http://127.0.0.1:8080/?canisterId=bd3sg-teaaa-aaaaa-qaaba-cai\u0026id=be2us-64aaa-aaaaa-qaabq-cai\n    router: http://127.0.0.1:8080/?canisterId=bd3sg-teaaa-aaaaa-qaaba-cai\u0026id=bkyz2-fmaaa-aaaaa-qaaaq-cai\n    tokenA: http://127.0.0.1:8080/?canisterId=bd3sg-teaaa-aaaaa-qaaba-cai\u0026id=br5f7-7uaaa-aaaaa-qaaca-cai\n    tokenB: http://127.0.0.1:8080/?canisterId=bd3sg-teaaa-aaaaa-qaaba-cai\u0026id=bw4dl-smaaa-aaaaa-qaacq-cai\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrownFi%2FBrownFi-AMM-ICP","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBrownFi%2FBrownFi-AMM-ICP","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrownFi%2FBrownFi-AMM-ICP/lists"}