{"id":25652391,"url":"https://github.com/hyperweb-io/coding-challenge","last_synced_at":"2026-06-19T11:01:27.757Z","repository":{"id":112584261,"uuid":"538642635","full_name":"hyperweb-io/coding-challenge","owner":"hyperweb-io","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-25T10:55:40.000Z","size":1520,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-09-10T23:43:27.345Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperweb-io.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":"2022-09-19T18:28:05.000Z","updated_at":"2025-01-18T01:40:31.000Z","dependencies_parsed_at":"2023-05-16T17:30:52.645Z","dependency_job_id":null,"html_url":"https://github.com/hyperweb-io/coding-challenge","commit_stats":null,"previous_names":["hyperweb-io/coding-challenge","cosmology-tech/coding-challenge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyperweb-io/coding-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Fcoding-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Fcoding-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Fcoding-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Fcoding-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperweb-io","download_url":"https://codeload.github.com/hyperweb-io/coding-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Fcoding-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34528144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":[],"created_at":"2025-02-23T18:18:21.221Z","updated_at":"2026-06-19T11:01:27.696Z","avatar_url":"https://github.com/hyperweb-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coding challenge\n\n## deliverables\n\n1. mobx `Asset` store\n2. mobx `Pool` store\n3. UI to add data (optional)\n## instructions\n\nYou'll be working in `./packages/app`. The goal is to use mobx stores and display the data in a user interface.\n## Data\n\nWe'll be using https://mobx.js.org/, and [chain-registry](https://github.com/cosmology-tech/chain-registry), which will help us create the genesis state for a mobx store. \n\nIn this example, we'll be using the chain-regitsry's [Osmosis Asset list](https://github.com/cosmology-tech/chain-registry/tree/main/packages/osmosis#chain-registryosmosis)\n\n### mobx `Asset` store methods\n\n* `addAsset(asset: Asset)`\n\nthis should add an asset, e.g. `ATOM` or `OSMO` tokens\n\n* `updateAsset(asset: Asset)`\n\nthis should update an asset, `denom_units`, `base`, `logo_URIs`, etc.\n\n* `removeAsset(asset: Asset)`\n\n### mobx `Pool` store methods\n\n* `addPool(asset1: Asset, asset2: Asset)` \n\nThis should add a pool of two assets. \n\n## User Interface\n\nA react next.js page exists at [packages/app/pages/index.tsx](packages/app/pages/index.tsx)\n\nComponents are already built using https://chakra-ui.com/ — it's optional if you want to add new UI.\n\n```\ncd ./packages/app/\nyarn dev\n```\n\nA pool list UI is already ready, but is hard-coded to use `asset-list`. It should be hooked up to the mobx store instead.\n\n\nUpdate `ListPools` to take react `props` to connect to the mobx store. When you call `addPool`, it should add pools to the UI. \n\nThe pools component is here: [packages/app/components/pools-list.tsx](packages/app/components/pools-list.tsx)\n\n## Note on data input\n\nyou can optionally make a form, or, you can use code to seed the mobx store and manually call `addPool`.\n\n# setup\n\n```\nyarn\nyarn bootstrap\n```\n\n## next\n\n```\ncd ./packages/app\nyarn dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperweb-io%2Fcoding-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperweb-io%2Fcoding-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperweb-io%2Fcoding-challenge/lists"}