{"id":13746195,"url":"https://github.com/connext/indra","last_synced_at":"2025-05-09T07:30:26.638Z","repository":{"id":51828292,"uuid":"151768617","full_name":"connext/indra","owner":"connext","description":"[LEGACY] Monorepo containing everything related to the core Connext protocols and network.","archived":true,"fork":false,"pushed_at":"2021-05-09T18:02:30.000Z","size":56815,"stargazers_count":85,"open_issues_count":48,"forks_count":38,"subscribers_count":8,"default_branch":"staging","last_synced_at":"2024-05-29T03:52:14.491Z","etag":null,"topics":["blockchain","connext","ethereum","indra","micropayments","p2p","payment-channels","state-channels"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/connext.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}},"created_at":"2018-10-05T19:30:47.000Z","updated_at":"2024-01-16T20:14:20.000Z","dependencies_parsed_at":"2022-08-03T03:01:05.053Z","dependency_job_id":null,"html_url":"https://github.com/connext/indra","commit_stats":null,"previous_names":["connextproject/indra"],"tags_count":428,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connext%2Findra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connext%2Findra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connext%2Findra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connext%2Findra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/connext","download_url":"https://codeload.github.com/connext/indra/tar.gz/refs/heads/staging","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253209221,"owners_count":21871610,"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":["blockchain","connext","ethereum","indra","micropayments","p2p","payment-channels","state-channels"],"created_at":"2024-08-03T06:00:49.591Z","updated_at":"2025-05-09T07:30:26.005Z","avatar_url":"https://github.com/connext.png","language":"TypeScript","funding_links":[],"categories":["Connext"],"sub_categories":["Product/Document"],"readme":"[![](https://github.com/ConnextProject/indra/workflows/CD%20Master/badge.svg)](https://github.com/ConnextProject/indra/actions)\n[![](https://github.com/ConnextProject/indra/workflows/CD%20Staging/badge.svg)](https://github.com/ConnextProject/indra/actions)\n\n[![](https://img.shields.io/discord/454734546869551114)](https://discord.gg/m93Sqf4)\n[![](https://img.shields.io/twitter/follow/ConnextNetwork?style=social)](https://twitter.com/ConnextNetwork)\n\n# Indra\n\nConnext is the protocol for p2p micropayments. To learn more about this project, check out our [docs](https://docs.connext.network). This monorepo contains all the core pieces necessary to run a node in or interact with the Connext Network.\n\nFor any unanswered questions, open a [new issue](https://github.com/ConnextProject/indra/issues/new) or reach out on our [Discord channel](https://discord.gg/SmMSFf) \u0026 we'll be happy to help.\n\n## Architecture Overivew\n\nIndra contains several packages to help developers interact with the Connext state channel network:\n\n- [@connext/client](https://docs.connext.network/en/latest/reference/client.html): state channel client\n- [@connext/cf-core](https://docs.connext.network/en/latest/reference/cf-core.html): lower level channel protocol logic\n- [@connext/store](https://docs.connext.network/en/latest/reference/store.html): various implementations of the `IStoreService` type for client usage\n- [@connext/types](https://docs.connext.network/en/latest/reference/types.html): type definitions\n- [@connext/utils](https://docs.connext.network/en/latest/reference/utils.html): core channel utilities and helpers\n- [@connext/watcher](https://docs.connext.network/en/latest/reference/watcher.html): watchtower package for responding to and managing channel disputes\n\n## Launch Indra Locally\n\n**Prerequisites:**\n\n- `make`: Probably already installed, otherwise install w `brew install make` or `apt install make` or similar.\n- `jq`: Probably not installed yet, install w `brew install jq` or `apt install jq` or similar.\n- `docker`: sadly, Docker is kinda annoying to install. See [website](https://www.docker.com/) for instructions.\n\nTo start, clone \u0026 enter the Indra repo:\n\n```bash\ngit clone https://github.com/ConnextProject/indra.git\ncd indra\n```\n\nTo build everything and deploy Indra in dev-mode, run the following:\n\n```bash\nmake start\n\n# view the node logs\nbash ops/logs.sh node\n```\n\nThat's all! But beware: the first time `make start` is run, it will take a very long time (maybe 10 minutes, depends on your internet speed) but have no fear: downloads will be cached \u0026 most build steps won't ever need to be repeated again so subsequent `make start` runs will go much more quickly. Get this started asap \u0026 browse the rest of the README while the first `make start` runs.\n\nBy default, Indra will launch using two local chains (ganache with chain id `1337` and `1338`) but you can also run a local Indra stack against a public chain (or multiple chains!) such as Rinkeby. To do so, run `make start` with a custom `INDRA_CHAIN_PROVIDERS` environment variable. The variable is formatted as a JSON string with a chainId:providerUrl mapping:\n\n```bash\nINDRA_CHAIN_PROVIDERS='{\"4\":\"https://rinkeby.infura.io/abc123\",\"42\":\"https://kovan.infura.io/abc123\"}' make start\n```\n\nNote: this will start a local Connext node pointed at a remote chain, so make sure the mnemonic used to start your node is funded in the appropriate native currencies and supported chain assets. By default, the node starts with the account:\n\n```node\nmnemonic: \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\";\nprivateKey: \"0xc87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3\";\naddress: \"0x627306090abaB3A6e1400e9345bC60c78a8BEf57\";\n```\n\nFor more information on developing with Indra stack, see the [quickstart](https://docs.connext.network/en/latest/quickstart/introduction.html).\n\n## Resources\n\n### Further Reading\n\n- [Indra architecture and protocol](https://docs.connext.network/en/latest/background/architecture.html)\n- [State channels background](https://docs.connext.network/en/latest/quickstart/introduction.html#state-channel-basics)\n- [What is Connext](https://docs.connext.network/en/latest/quickstart/introduction.html#what-is-connext)\n\n### Developer Resources and Guides\n\n- [Quick Start Guide](https://docs.connext.network/en/latest/quickstart/introduction.html)\n- [Deploying indra](https://docs.connext.network/en/latest/how-to/deploy-indra.html)\n- [Integrating additional chains](https://docs.connext.network/en/latest/how-to/integrate-chain.html)\n- [Integrating clients in node](https://docs.connext.network/en/latest/how-to/integrate-node.html)\n- [Integrating clients in the browser](https://docs.connext.network/en/latest/how-to/integrate-browser.html)\n- [Integrating clients in react native](https://docs.connext.network/en/latest/how-to/integrate-react-native.html)\n- [FAQ](https://docs.connext.network/en/latest/background/faq.html)\n\n### Contributing\n\nIf you're interested in contributing, great! See [this guide](https://docs.connext.network/en/latest/contributor/CONTRIBUTING.html) before starting.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnext%2Findra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnext%2Findra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnext%2Findra/lists"}